/*
Theme Name: CHR Electric Motorcycle
Description: A professional WordPress theme for CHR Electric Motorcycle Manufacturer. Features modern design, SEO optimization, and comprehensive content management for electric vehicle businesses.
Author: Manus AI
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chr-theme
Tags: business, electric-vehicles, manufacturing, responsive, seo-friendly
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo-icon {
    background: #0ea5e9;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0ea5e9;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation a.current {
    color: #0ea5e9;
    background: #e0f2fe;
}

/* Dropdown �?top-level item with children */
.main-navigation li.menu-item-has-children {
    position: relative;
}

/* Dropdown arrow via CSS pseudo-element */
.main-navigation li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.main-navigation li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Dropdown panel */
.main-navigation li.menu-item-has-children > ul.sub-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid #e5e7eb;
    gap: 0;
    /* padding-top bridges the gap between parent and panel so hover isn't lost */
    padding: 8px 0 6px;
    margin-top: 0;
    z-index: 9999;
    /* Hidden by default �?use visibility so pointer-events + transition work */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.3s;
}

.main-navigation li.menu-item-has-children:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    /* Show immediately, hide with 0.3s delay so cursor can travel to submenu */
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}

/* Extend the hover zone: invisible pseudo-element covers gap above panel */
.main-navigation li.menu-item-has-children > ul.sub-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

/* Dropdown items */
.main-navigation .sub-menu li {
    margin: 0;
    width: 100%;
}

.main-navigation .sub-menu a {
    display: block;
    padding: 0.55rem 1.1rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 0;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.main-navigation .sub-menu a:hover {
    color: #0ea5e9;
    background: #e0f2fe;
}

/* Active/current category highlight */
.main-navigation .sub-menu .current-menu-item > a,
.main-navigation .sub-menu .current-cat > a {
    color: #0ea5e9;
    background: #e0f2fe;
}

/* CTA Button */
.cta-button {
    background: #0ea5e9;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background: #0284c7;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    background: #0ea5e9;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #9ca3af;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    background: #e0f2fe;
    color: #0ea5e9;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-description {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Card Styles */
.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: #0ea5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.card-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: #0ea5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}

/* Image area */
.product-card-image-wrap {
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.product-card-cat-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
}

.product-category {
    background: #0ea5e9;
    color: white;
    padding: 0.2rem 0.7rem;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-block;
}

/* Content area */
.product-content {
    padding: 1.25rem 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    color: #1f2937;
    line-height: 1.3;
}

.product-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.product-title a:hover {
    color: #0ea5e9;
}

.product-description {
    color: #6b7280;
    margin-bottom: 0.875rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Key Specs in card */
.card-key-specs {
    margin-bottom: 1rem;
    flex: 1;
}

.card-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.845rem;
}

.card-spec-row:last-child {
    border-bottom: none;
}

.card-spec-label {
    color: #9ca3af;
    font-weight: 400;
}

.card-spec-value {
    color: #1f2937;
    font-weight: 600;
    text-align: right;
    max-width: 55%;
}

/* Card Footer */
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.875rem;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
    gap: 0.5rem;
}

.product-card-price .price-main {
    font-size: 1rem;
    font-weight: 700;
    color: #0ea5e9;
}

.product-card-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-details {
    padding: 0.45rem 0.875rem;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    text-decoration: none;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-details:hover {
    border-color: #0ea5e9;
    color: #0ea5e9;
}

.btn-quote {
    padding: 0.45rem 0.875rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Legacy spec items (kept for compatibility) */
.product-specs { margin-bottom: 1rem; }
.spec-item { display: flex; justify-content: space-between; padding: 0.25rem 0; font-size: 0.9rem; }
.spec-label { color: #6b7280; }
.spec-value { font-weight: 500; color: #1f2937; }

/* Footer */
.site-footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #0ea5e9;
}

.footer-section p,
.footer-section li {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

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

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #0ea5e9;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .main-navigation {
        display: none;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.bg-gray-50 { background-color: #f9fafb; }
.bg-orange-500 { background-color: #0ea5e9; }
.text-orange-500 { color: #0ea5e9; }
.text-gray-600 { color: #6b7280; }
.text-gray-900 { color: #1f2937; }

/* ============================================
   PRODUCT DETAIL PAGE (single-product.php)
   ============================================ */

.product-detail-page {
    background: #fff;
}

/* Breadcrumb */
.product-breadcrumb {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem 0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: #0ea5e9;
}

.breadcrumb-sep {
    color: #d1d5db;
    font-size: 0.85rem;
    margin: 0 2px;
    user-select: none;
}

.breadcrumb-current {
    color: #1f2937;
    font-weight: 500;
}

/* Product Detail Section */
.product-detail-section {
    padding: 3rem 0 4rem;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

/* Image Column */
.product-detail-image-col {
    position: sticky;
    top: 90px;
}

.product-detail-image-wrap {
    background: #f3f4f6;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 2rem;
}

.product-detail-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    display: block;
}

.product-detail-img-placeholder {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    font-size: 4rem;
}

/* Thumbnail Gallery */
.product-thumbnail-gallery {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.thumb-item {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: border-color 0.2s;
}

.thumb-item:hover {
    border-color: #0ea5e9;
}

.product-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info Column */
.product-detail-info-col {
    padding-top: 0.5rem;
}

/* Series Badge */
.product-series-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.series-code {
    color: #0ea5e9;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.series-sep {
    color: #94a3b8;
}

.series-cn {
    color: #0ea5e9;
    font-size: 0.85rem;
}

/* Product Title */
.product-detail-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.product-detail-excerpt {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-detail-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 1.5rem 0;
}

/* Product Parameters */
.product-params-section {
    margin-bottom: 2rem;
}

.product-params-title {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.product-params-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.param-cell {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
}

.param-cell:nth-child(even) {
    border-right: none;
}

.param-cell:nth-last-child(-n+2) {
    border-bottom: none;
}

.param-label {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
    text-transform: capitalize;
}

.param-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
}

/* Price and CTA */
.product-detail-cta {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
}

.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.price-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0ea5e9;
}

.product-cta-buttons {
    display: flex;
    gap: 0.75rem;
}

.product-cta-primary {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
}

.product-cta-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: #25d366;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.product-cta-secondary:hover {
    background: #1da851;
    transform: translateY(-2px);
}

/* Product Description Section */
.product-description-section {
    background: #f9fafb;
    padding: 4rem 0;
}

.product-description-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.product-desc-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #0ea5e9;
    display: inline-block;
}

.product-desc-content {
    color: #374151;
    line-height: 1.8;
    font-size: 1rem;
}

.product-desc-content h2,
.product-desc-content h3 {
    color: #1f2937;
    margin: 1.5rem 0 0.75rem;
}

.product-desc-content p {
    margin-bottom: 1rem;
}

.product-desc-content ul,
.product-desc-content ol {
    margin: 1rem 0 1rem 1.5rem;
}

/* Related Products */
.related-products-section {
    padding: 4rem 0;
}

/* ============================================
   PRODUCT ARCHIVE PAGE (archive-product.php)
   ============================================ */

.product-archive-page {
    background: #fff;
}

/* Archive Hero */
.archive-hero {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

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

.archive-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0.75rem 0;
    color: #fff;
    animation: abFadeUp 0.7s 0.15s ease both;
}

.archive-hero-desc {
    color: #d1d5db;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 0.75rem;
    animation: abFadeUp 0.7s 0.35s ease both;
}

/* Archive hero eyebrow (category name badge) */
.archive-hero .archive-eyebrow,
.archive-hero .product-category-badge,
.archive-hero p:first-child {
    animation: abFadeUp 0.7s 0s ease both;
}

/* Filter Bar */
.archive-filter-bar {
    background: #fff;
    border-bottom: 2px solid #e5e7eb;
    padding: 1.25rem 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.filter-tabs {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.25rem;
    border-radius: 24px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    background: #f3f4f6;
    border: 1.5px solid #e5e7eb;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-tab:hover {
    background: #e0f2fe;
    border-color: #0ea5e9;
    color: #0ea5e9;
}

.filter-tab.active {
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
    box-shadow: 0 2px 8px rgba(14,165,233,0.35);
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(0,0,0,0.1);
    color: inherit;
}

.filter-tab.active .filter-count {
    background: rgba(255,255,255,0.3);
}

/* Result info line */
.archive-result-info {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

/* Archive Products Section */
.archive-products-section {
    padding: 3rem 0 5rem;
}

/* Pagination */
.archive-pagination {
    margin-top: 3rem;
    text-align: center;
}

.archive-pagination .nav-links {
    display: inline-flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
}

.archive-pagination .prev,
.archive-pagination .next {
    width: auto;
    padding: 0 1rem;
    gap: 0.4rem;
}

/* No Products Found */
.no-products-found {
    text-align: center;
    padding: 5rem 0;
    color: #6b7280;
}

.no-products-icon {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.no-products-found h2 {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 0.75rem;
}

.no-products-found p {
    margin-bottom: 2rem;
}

/* ============================================
   RESPONSIVE �?Product Pages
   ============================================ */

@media (max-width: 992px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail-image-col {
        position: static;
    }

    .product-detail-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 640px) {
    .product-detail-section {
        padding: 1.5rem 0 3rem;
    }

    .product-detail-image-wrap {
        min-height: 260px;
        padding: 1rem;
    }

    .product-params-grid {
        grid-template-columns: 1fr;
    }

    .param-cell {
        border-right: none;
    }

    .param-cell:nth-last-child(-n+2) {
        border-bottom: 1px solid #e5e7eb;
    }

    .param-cell:last-child {
        border-bottom: none;
    }

    .product-cta-buttons {
        flex-direction: column;
    }

    .archive-hero-title {
        font-size: 1.75rem;
    }

    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-tabs::-webkit-scrollbar {
        display: none;
    }
}

/* Key Specs List (5 fields shown beside product image) */
.key-specs-list {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.key-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.key-spec-row:last-child {
    border-bottom: none;
}

.key-spec-row:nth-child(even) {
    background: #f9fafb;
}

.key-spec-label {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}

.key-spec-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
    text-align: right;
    max-width: 55%;
}

/* ============================================
   TECHNICAL SPECIFICATIONS TABLE
   ============================================ */

.tech-specs-section {
    padding: 3rem 0 4rem;
    background: #fff;
}

.tech-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}

/* Main title row */
.tech-specs-main-header {
    background: #1f2937;
    color: #fff;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.875rem 1rem;
    letter-spacing: 0.03em;
    border: none;
}

/* EV / Tricycle group header (blue) */
.ev-group-header {
    background: #0369a1 !important;
    border-color: #0284c7 !important;
    color: #fff !important;
}

/* Engine / Frame group headers */
.tech-specs-group-header {
    background: #374151;
    color: #0ea5e9;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: left;
    padding: 0.625rem 1rem;
    border: 1px solid #4b5563;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Spec name cells (left column of each pair) */
.ts-spec-name {
    background: #f9fafb;
    color: #374151;
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    border: 1px solid #e5e7eb;
    width: 22%;
    vertical-align: middle;
}

/* Spec value cells */
.ts-spec-value {
    background: #fff;
    color: #1f2937;
    padding: 0.5rem 0.875rem;
    border: 1px solid #e5e7eb;
    width: 28%;
    vertical-align: middle;
}

/* Alternating row background */
.tech-specs-table tbody tr:nth-child(even) .ts-spec-name {
    background: #f3f4f6;
}

.tech-specs-table tbody tr:nth-child(even) .ts-spec-value {
    background: #fafafa;
}

/* Hover highlight */
.tech-specs-table tbody tr:hover .ts-spec-name,
.tech-specs-table tbody tr:hover .ts-spec-value {
    background: #e0f2fe;
}

/* Divider between engine and frame halves */
.tech-specs-table tbody td:nth-child(3) {
    border-left: 2px solid #d1d5db;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
    .tech-specs-table,
    .tech-specs-table thead,
    .tech-specs-table tbody,
    .tech-specs-table tr,
    .tech-specs-table th,
    .tech-specs-table td {
        display: block;
        width: 100% !important;
    }

    .tech-specs-group-header {
        margin-top: 0.5rem;
    }

    .tech-specs-table tbody tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-bottom: 1px solid #e5e7eb;
    }

    .ts-spec-name,
    .ts-spec-value {
        border: none;
        border-right: 1px solid #e5e7eb;
        width: auto !important;
    }

    .tech-specs-table tbody td:nth-child(3) {
        border-left: 1px solid #e5e7eb;
        border-top: 1px solid #e5e7eb;
    }
}

/* ============================================================
   ABOUT PAGE  (page-about.php)
   Color palette: theme blue (#0ea5e9) replaces reference green
   ============================================================ */

:root {
    --ab-blue:       #0ea5e9;
    --ab-blue-light: #38bdf8;
    --ab-blue-pale:  #e0f2fe;
    --ab-ink:        #0d1a20;
    --ab-ink-mid:    #334155;
    --ab-ink-soft:   #7a9aaa;
    --ab-cream:      #f7f9fb;
    --ab-white:      #ffffff;
    --ab-rule:       rgba(14,165,233,0.15);
}

.about-page {
    background: var(--ab-cream);
    overflow-x: hidden;
}

/* ── HERO ── */
.ab-hero {
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.ab-hero-left {
    background: var(--ab-ink);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 64px;
    position: relative;
    overflow: hidden;
}

.ab-hero-left::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg, transparent, transparent 40px,
        rgba(14,165,233,0.04) 40px, rgba(14,165,233,0.04) 41px
    );
    pointer-events: none;
}

.ab-logo-mark {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--ab-white);
    line-height: 1;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.ab-logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ab-ink-soft);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.ab-hero-tagline {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.82);
    line-height: 1.65;
    max-width: 340px;
    border-left: 2px solid var(--ab-blue);
    padding-left: 1.25rem;
    position: relative;
    z-index: 1;
}

.ab-hero-right {
    background: var(--ab-blue);
    display: flex;
    align-items: flex-end;
    padding: 80px 64px;
    position: relative;
    overflow: hidden;
}

.ab-hero-right::before {
    content: attr(data-brand);
    position: absolute;
    top: -40px;
    right: -20px;
    font-size: 260px;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -8px;
}

.ab-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.ab-stat-rule {
    width: 24px;
    height: 2px;
    background: rgba(255,255,255,0.5);
    margin-bottom: 0.75rem;
}

.ab-stat-num {
    font-size: 3rem;
    font-weight: 700;
    color: var(--ab-white);
    line-height: 1;
    letter-spacing: -1px;
}

.ab-stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    margin-top: 0.4rem;
    letter-spacing: 0.3px;
}

/* ── ABOUT SECTION ── */
.ab-section-about {
    display: grid;
    grid-template-columns: 280px 1fr;
    border-top: 1px solid var(--ab-rule);
}

.ab-section-label {
    padding: 80px 48px;
    border-right: 1px solid var(--ab-rule);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--ab-white);
}

.ab-eyebrow {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--ab-blue);
    margin-bottom: 1rem;
}

.ab-section-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--ab-ink);
    letter-spacing: -1px;
}

.ab-section-content {
    padding: 80px 80px 80px 64px;
    background: var(--ab-white);
}

.ab-lead-text {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.75;
    color: var(--ab-ink-mid);
    margin-bottom: 1.75rem;
    max-width: 620px;
}

.ab-body-text {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--ab-ink-soft);
    max-width: 620px;
    margin-bottom: 1rem;
}

.ab-editor-content {
    max-width: 620px;
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--ab-ink-soft);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.ab-editor-content p { margin-bottom: 1rem; }

.ab-highlight-bar {
    display: inline-block;
    background: var(--ab-blue-pale);
    color: var(--ab-blue);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    margin-top: 1.25rem;
    letter-spacing: 0.5px;
}

/* ── VALUES SECTION ── */
.ab-section-values {
    background: var(--ab-ink);
    padding: 100px 80px;
    position: relative;
    overflow: hidden;
}

.ab-section-values::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg, transparent, transparent 60px,
        rgba(14,165,233,0.03) 60px, rgba(14,165,233,0.03) 61px
    );
    pointer-events: none;
}

.ab-values-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.ab-values-title {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--ab-white);
    line-height: 1.1;
    letter-spacing: -1px;
}

.ab-values-title em {
    color: var(--ab-blue);
    font-style: normal;
}

.ab-values-sub {
    font-size: 0.85rem;
    color: var(--ab-ink-soft);
    max-width: 240px;
    text-align: right;
    line-height: 1.65;
}

.ab-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    position: relative;
    z-index: 1;
}

.ab-value-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 2.5rem;
    transition: background 0.3s ease;
}

.ab-value-card:hover {
    background: rgba(14,165,233,0.09);
}

.ab-value-number {
    font-size: 0.75rem;
    color: var(--ab-blue);
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    display: block;
    font-weight: 600;
}

.ab-value-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ab-white);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.ab-value-sub {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ab-blue);
    margin-bottom: 1rem;
    display: block;
}

.ab-value-desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255,255,255,0.45);
    line-height: 1.8;
}

/* ── CTA STRIP ── */
.ab-cta-strip {
    background: var(--ab-blue);
    padding: 3rem 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ab-cta-brand {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ab-white);
    letter-spacing: -1px;
    flex-shrink: 0;
}

.ab-cta-tagline {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
    flex: 1;
    text-align: center;
}

.ab-cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.ab-btn-outline {
    padding: 0.7rem 1.5rem;
    border: 1.5px solid rgba(255,255,255,0.7);
    border-radius: 6px;
    text-decoration: none;
    color: var(--ab-white);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ab-btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--ab-white);
}

.ab-btn-solid {
    padding: 0.7rem 1.5rem;
    background: var(--ab-white);
    border-radius: 6px;
    text-decoration: none;
    color: var(--ab-blue);
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ab-btn-solid:hover {
    background: var(--ab-ink);
    color: var(--ab-white);
}

/* ── Hero animations ── */
@keyframes abFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ab-logo-mark    { animation: abFadeUp 0.7s 0.1s ease both; }
.ab-logo-sub     { animation: abFadeUp 0.7s 0.25s ease both; }
.ab-hero-tagline { animation: abFadeUp 0.7s 0.4s ease both; }
.ab-hero-stats   { animation: abFadeUp 0.7s 0.3s ease both; }

/* ── Responsive ── */
@media (max-width: 960px) {
    .ab-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .ab-hero-left,
    .ab-hero-right {
        padding: 64px 40px;
        min-height: 50vh;
    }

    .ab-hero-right {
        align-items: flex-start;
    }

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

    .ab-section-label {
        border-right: none;
        border-bottom: 1px solid var(--ab-rule);
        padding: 48px 40px 32px;
    }

    .ab-section-content {
        padding: 48px 40px;
    }

    .ab-section-values {
        padding: 64px 40px;
    }

    .ab-values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ab-values-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .ab-values-sub { text-align: left; }

    .ab-cta-strip {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 2rem;
    }

    .ab-cta-tagline { text-align: center; }
    .ab-cta-actions { justify-content: center; }
}

@media (max-width: 600px) {
    .ab-hero-left,
    .ab-hero-right { padding: 48px 24px; }

    .ab-logo-mark { font-size: 2.5rem; }

    .ab-stat-num { font-size: 2.25rem; }

    .ab-section-title { font-size: 2.25rem; }

    .ab-values-title { font-size: 2.25rem; }

    .ab-values-grid { grid-template-columns: 1fr; }

    .ab-section-label,
    .ab-section-content { padding: 40px 24px; }
}

/* Back-to-top button SVG centering */
.back-to-top svg {
    display: block;
}

/* ══════════════════════════════════════════════════════════�?   ABOUT PAGE �?NEW MODULES
══════════════════════════════════════════════════════════�?*/

/* ── 1. Hero Banner (full-width dark) ── */
.ab-hero--banner {
    display: block;
    min-height: 52vh;
    background: linear-gradient(135deg, var(--ab-ink) 0%, #1e3a52 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.ab-hero--banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg, transparent, transparent 40px,
        rgba(14,165,233,0.04) 40px, rgba(14,165,233,0.04) 41px
    );
    pointer-events: none;
}

.ab-hero-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.ab-eyebrow-light {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(14,165,233,0.9);
    margin-bottom: 1rem;
}

.ab-banner-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 1.5rem;
    animation: abFadeUp 0.7s 0.1s ease both;
}

.ab-banner-sub {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    border-left: 2px solid var(--ab-blue);
    padding-left: 1.25rem;
    text-align: left;
    max-width: 540px;
    margin: 0 auto;
    animation: abFadeUp 0.7s 0.3s ease both;
}

/* ── 3. Our Strengths ── */
.ab-section-strengths {
    background: #f8fafc;
    padding: 90px 0;
    border-top: 1px solid var(--ab-rule);
}

.ab-strengths-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.ab-strengths-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ab-ink);
    letter-spacing: -1px;
    margin-top: 0.5rem;
}

.ab-strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ab-strength-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.ab-strength-card:hover {
    box-shadow: 0 12px 32px rgba(14,165,233,0.12);
    transform: translateY(-4px);
    border-color: rgba(14,165,233,0.35);
}

.ab-strength-icon {
    width: 56px;
    height: 56px;
    background: var(--ab-blue-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ab-blue);
    margin-bottom: 1.25rem;
}

.ab-strength-num {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--ab-blue);
    margin-bottom: 0.6rem;
}

.ab-strength-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ab-ink);
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.ab-strength-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #64748b;
}

/* ── 4. Global Market ── */
.ab-section-market {
    background: var(--ab-ink);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.ab-section-market::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg, transparent, transparent 60px,
        rgba(14,165,233,0.03) 60px, rgba(14,165,233,0.03) 61px
    );
    pointer-events: none;
}

.ab-market-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ab-market-label .ab-eyebrow {
    color: var(--ab-blue);
}

.ab-market-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    margin-top: 0.5rem;
    line-height: 1.1;
}

.ab-market-count {
    display: inline-block;
    margin-top: 1.25rem;
    background: var(--ab-blue);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    letter-spacing: 0.5px;
}

.ab-market-intro {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.ab-market-regions {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 2rem;
}

.ab-market-region-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
}

.ab-region-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ab-blue);
    flex-shrink: 0;
}

.ab-market-note {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.48);
    line-height: 1.8;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.25rem;
}

/* ── 5. Our Mission ── */
.ab-section-mission {
    background: var(--ab-blue);
    padding: 90px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ab-section-mission::before {
    content: '"';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 320px;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    pointer-events: none;
}

.ab-section-mission .ab-eyebrow-light {
    margin-bottom: 1.5rem;
}

.ab-mission-quote {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(1.2rem, 2.5vw, 1.65rem);
    font-weight: 300;
    color: rgba(255,255,255,0.92);
    line-height: 1.75;
    border: none;
    padding: 0;
    position: relative;
    z-index: 1;
    font-style: normal;
}

/* ── 6. Contact CTA ── */
.ab-section-cta {
    background: #f8fafc;
    border-top: 1px solid var(--ab-rule);
    padding: 90px 24px;
    text-align: center;
}

.ab-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ab-ink);
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
}

.ab-cta-desc {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    line-height: 1.85;
    color: #64748b;
}

.ab-section-cta .ab-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ab-section-cta .ab-btn-outline {
    border-color: var(--ab-blue);
    color: var(--ab-blue);
    background: transparent;
}

.ab-section-cta .ab-btn-outline:hover {
    background: var(--ab-blue-pale);
}

.ab-section-cta .ab-btn-solid {
    background: var(--ab-blue);
    color: #fff;
}

.ab-section-cta .ab-btn-solid:hover {
    background: var(--ab-ink);
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .ab-strengths-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .ab-market-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 24px;
    }

    .ab-market-title { font-size: 2.25rem; }
}

@media (max-width: 600px) {
    .ab-hero--banner { min-height: 40vh; padding: 60px 20px; }

    .ab-banner-sub { font-size: 1rem; }

    .ab-strengths-title,
    .ab-cta-title { font-size: 2rem; }

    .ab-market-regions { grid-template-columns: 1fr; }

    .ab-mission-quote { font-size: 1.1rem; }

    .ab-section-mission,
    .ab-section-strengths,
    .ab-section-market,
    .ab-section-cta { padding: 60px 20px; }
}

/* ══════════════════════════════════════════════════════════�?   CONTACT PAGE
══════════════════════════════════════════════════════════�?*/

/* Hero */
.ct-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a52 100%);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ct-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg, transparent, transparent 40px,
        rgba(14,165,233,0.04) 40px, rgba(14,165,233,0.04) 41px
    );
    pointer-events: none;
}
.ct-hero-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.ct-hero-eyebrow {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 4px;
    text-transform: uppercase; color: #0ea5e9; margin-bottom: 1rem;
    animation: abFadeUp 0.7s 0s ease both;
}
.ct-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800;
    color: #fff; letter-spacing: -2px; margin-bottom: 1.25rem;
    animation: abFadeUp 0.7s 0.15s ease both;
}
.ct-hero-sub {
    font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.75;
    animation: abFadeUp 0.7s 0.3s ease both;
}

/* Body layout */
.ct-body { padding: 72px 0 90px; background: #f8fafc; }
.ct-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: start;
}

/* Alert messages */
.ct-alert {
    display: flex; align-items: flex-start; gap: 0.75rem;
    padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 1.5rem;
    font-size: 0.9rem; line-height: 1.6;
}
.ct-alert--success { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.ct-alert--error   { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.ct-alert svg { flex-shrink: 0; margin-top: 1px; }

/* Form card */
.ct-form-wrap {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 2.5rem;
}

.ct-form-row { margin-bottom: 1.5rem; }
.ct-form-row--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Field */
.ct-field { display: flex; flex-direction: column; gap: 6px; }
.ct-label {
    font-size: 0.85rem; font-weight: 600; color: #374151;
    display: flex; align-items: center; gap: 3px;
}
.ct-required { color: #ef4444; }

.ct-input,
.ct-select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #111827;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.ct-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 2.25rem;
    cursor: pointer;
}
.ct-input:focus, .ct-select:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}
.ct-field--error .ct-input,
.ct-field--error .ct-richtext {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

/* Message textarea */
.ct-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #111827;
    line-height: 1.75;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    min-height: 160px;
}
.ct-textarea:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}
.ct-textarea::placeholder { color: #9ca3af; }
.ct-field--error .ct-textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

/* Form footer */
.ct-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.ct-privacy-note {
    font-size: 0.78rem; color: #9ca3af; line-height: 1.55; max-width: 420px;
}
.ct-submit-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: #0ea5e9; color: #fff;
    border: none; border-radius: 8px;
    padding: 0.8rem 2rem;
    font-size: 0.95rem; font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.ct-submit-btn:hover { background: #0284c7; transform: translateY(-1px); }
.ct-submit-btn:active { transform: translateY(0); }

/* Contact info panel */
.ct-info-wrap { display: flex; flex-direction: column; gap: 1.5rem; }

.ct-info-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 2rem;
}
.ct-info-title {
    font-size: 1.1rem; font-weight: 700; color: #111827; margin-bottom: 1.5rem;
    padding-bottom: 0.75rem; border-bottom: 1px solid #f3f4f6;
}
.ct-info-item {
    display: flex; align-items: flex-start; gap: 0.85rem;
    margin-bottom: 1.25rem;
}
.ct-info-item:last-child { margin-bottom: 0; }
.ct-info-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    background: #e0f2fe; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #0ea5e9;
}
.ct-info-label { font-size: 0.75rem; color: #9ca3af; font-weight: 500; margin-bottom: 2px; }
.ct-info-value { font-size: 0.9rem; color: #374151; font-weight: 500; line-height: 1.5; }

/* Response time card */
.ct-response-card { text-align: center; background: #0ea5e9; }
.ct-response-card h4,
.ct-response-card p { color: rgba(255,255,255,0.92); }
.ct-response-card h4 { font-size: 1rem; font-weight: 700; margin: 0.75rem 0 0.5rem; }
.ct-response-card p  { font-size: 0.85rem; line-height: 1.65; }
.ct-response-icon { color: rgba(255,255,255,0.85); }

/* Responsive */
@media (max-width: 960px) {
    .ct-layout { grid-template-columns: 1fr; }
    .ct-info-wrap { flex-direction: row; flex-wrap: wrap; }
    .ct-info-card { flex: 1; min-width: 260px; }
}
@media (max-width: 600px) {
    .ct-form-row--2col { grid-template-columns: 1fr; }
    .ct-form-wrap { padding: 1.5rem; }
    .ct-form-footer { flex-direction: column; align-items: stretch; }
    .ct-submit-btn { justify-content: center; }
    .ct-hero { padding: 60px 20px; }
    .ct-body { padding: 48px 0 64px; }
}

/* ── Contact page: Map section ── */
.ct-map-section {
    border-top: 1px solid #e5e7eb;
}

.ct-map-header {
    background: #f8fafc;
    padding: 40px 0 32px;
    border-bottom: 1px solid #e5e7eb;
}

.ct-map-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ct-map-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #0ea5e9;
    margin-bottom: 0.35rem;
}

.ct-map-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin: 0;
}

.ct-map-address-block {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    flex-shrink: 0;
}

.ct-map-address-icon {
    color: #0ea5e9;
    flex-shrink: 0;
    display: flex;
}

.ct-map-address-text {
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

.ct-map-embed-wrap {
    position: relative;
    width: 80%;
    margin: 0 auto;
    height: 460px;
    background: #e5e7eb;
    overflow: hidden;
    border-radius: 12px;
    margin-top: 32px;
    margin-bottom: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.ct-map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    filter: saturate(0.9) contrast(1.02);
    transition: filter 0.3s ease;
}

.ct-map-iframe:hover {
    filter: saturate(1) contrast(1);
}

@media (max-width: 768px) {
    .ct-map-header-inner { flex-direction: column; align-items: flex-start; }
    .ct-map-address-block { width: 100%; }
    .ct-map-embed-wrap { width: 100%; height: 300px; border-radius: 0; margin-top: 20px; margin-bottom: 0; }
    .ct-map-title { font-size: 1.4rem; }
}

/* ══════════════════════════════════════════════════════════�?   HOMEPAGE �?About layout
══════════════════════════════════════════════════════════�?*/
.hp-about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2.5rem;
}

.hp-about-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.hp-about-body {
    font-size: 0.975rem;
    color: #64748b;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.hp-about-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.hp-about-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #0ea5e9;
    letter-spacing: -1px;
    line-height: 1;
}

.hp-about-stat-label {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 4px;
    font-weight: 500;
}

.hp-about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0ea5e9;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}
.hp-about-link:hover { gap: 12px; color: #0284c7; }

/* Visual cards grid */
.hp-about-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hp-visual-card {
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.hp-visual-card--blue  { background: #0ea5e9; color: #fff; }
.hp-visual-card--dark  { background: #0f172a; color: #fff; }
.hp-visual-card--light { background: #f0f9ff; border: 1px solid #bae6fd; }

.hp-visual-icon { opacity: 0.85; }
.hp-visual-card--blue .hp-visual-icon  { color: rgba(255,255,255,0.9); }
.hp-visual-card--dark .hp-visual-icon  { color: rgba(14,165,233,0.9); }

.hp-visual-card-num {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    color: inherit;
}
.hp-visual-card--light .hp-visual-card-num { color: #0ea5e9; }

.hp-visual-card-label {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.75;
    line-height: 1.4;
}
.hp-visual-card--light .hp-visual-card-label { color: #64748b; opacity: 1; }

/* ══════════════════════════════════════════════════════════�?   HOMEPAGE �?Product Categories grid
══════════════════════════════════════════════════════════�?*/
.section-desc {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0.75rem auto 0;
}

.hp-cat-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.hp-cat-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    text-decoration: none;
    width: 300px;
    flex-shrink: 0;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.hp-cat-card:hover {
    box-shadow: 0 12px 32px rgba(14,165,233,0.14);
    transform: translateY(-4px);
    border-color: rgba(14,165,233,0.4);
}

.hp-cat-img {
    height: 190px;
    background-size: cover;
    background-position: center;
}

.hp-cat-img--placeholder {
    background: linear-gradient(135deg, #0f172a 0%, #1a3a5c 100%);
}

/* Icon image (PNG from theme assets) */
.hp-cat-img--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f9ff;
    padding: 20px;
}

.hp-cat-icon-img {
    width: auto;
    height: 110px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
    transition: transform 0.3s ease;
}

.hp-cat-card:hover .hp-cat-icon-img {
    transform: scale(1.06);
}

.hp-cat-body {
    padding: 1.35rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    position: relative;
}

.hp-cat-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.hp-cat-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.hp-cat-count {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0ea5e9;
    background: #e0f2fe;
    padding: 3px 10px;
    border-radius: 20px;
    align-self: flex-start;
}

.hp-cat-arrow {
    position: absolute;
    bottom: 1.4rem;
    right: 1.4rem;
    color: #0ea5e9;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.hp-cat-card:hover .hp-cat-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hp-about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .hp-about-visual { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .hp-about-stats { gap: 1.25rem; }
    .hp-about-visual { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .hp-cat-grid { gap: 1rem; }
    .hp-cat-card { width: calc(50% - 0.5rem); min-width: 150px; }
    .hp-cat-img { height: 130px; }
    .hp-cat-name { font-size: 1rem; }
}

/* ══════════════════════════════════════════════════════════�?   INQUIRY DRAWER
══════════════════════════════════════════════════════════�?*/

/* Overlay */
.inq-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.inq-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Drawer panel */
.inq-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(520px, 100vw);
    height: 100vh;
    background: #fff;
    box-shadow: -6px 0 40px rgba(15, 23, 42, 0.16);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.inq-drawer.is-open {
    transform: translateX(0);
}

/* Drawer header */
.inq-drawer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.75rem 1.75rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.inq-drawer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.3;
}

.inq-drawer-sub {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.inq-drawer-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    padding: 0;
}
.inq-drawer-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

/* Scrollable form area */
.inq-form {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1.75rem 2rem;
    overscroll-behavior: contain;
}

/* Spinning loader */
@keyframes inq-spin {
    to { transform: rotate(360deg); }
}
.inq-spin {
    animation: inq-spin 0.75s linear infinite;
}

/* Submit button loading state */
#inq-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Alerts inside drawer */
.inq-form .ct-alert--success,
.inq-form .ct-alert--error {
    margin-bottom: 1.25rem;
}

/* Responsive: full-width on small screens */
@media (max-width: 540px) {
    .inq-drawer { width: 100vw; }
    .inq-drawer-head { padding: 1.25rem 1.25rem 1rem; }
    .inq-form { padding: 1.25rem 1.25rem 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT ARCHIVE -- Category Filter Tabs
═══════════════════════════════════════════════════════════ */
.archive-filter-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(15,23,42,0.06);
}

.archive-filter-tabs {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    padding: 0.75rem 0;
    scrollbar-width: none;
}
.archive-filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: 1.5px solid #e5e7eb;
    background: #f8fafc;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.filter-tab:hover {
    border-color: #0ea5e9;
    color: #0ea5e9;
    background: #f0f9ff;
}
.filter-tab--active {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: #fff;
    box-shadow: 0 2px 8px rgba(14,165,233,0.25);
}
.filter-tab--active:hover {
    background: #0284c7;
    border-color: #0284c7;
    color: #fff;
}

.filter-tab-count {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255,255,255,0.25);
    padding: 1px 7px;
    border-radius: 999px;
    line-height: 1.6;
}
.filter-tab:not(.filter-tab--active) .filter-tab-count {
    background: #e2e8f0;
    color: #64748b;
}

/* Hero title/desc smooth transition */
#cat-hero-title,
#cat-hero-desc {
    transition: opacity 0.25s ease;
}

@media (max-width: 640px) {
    .archive-filter-tabs { gap: 0.5rem; padding: 0.6rem 0; }
    .filter-tab { padding: 0.45rem 0.9rem; font-size: 0.82rem; }
}

