/*
Theme Name: ABC Machinery Theme
Theme URI: https://www.abcmach.com/
Author: Auto AI
Description: A professional WordPress theme for machinery industry based on ABC Machinery website design
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: abc-machinery
*/

/* =============================================
   RESET & BASE STYLES
============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --secondary-color: #ff6600;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fafafa;
}
.breadcrumbs{margin:10px 0;}
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

/* =============================================
   HEADER & NAVIGATION
============================================= */
.top-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact a {
    color: #fff;
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
}

.top-bar-contact a:hover {
    color: var(--secondary-color);
}

.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo a {
    color: var(--primary-color);
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    gap: 5px;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    color: var(--text-color);
    padding: 10px 15px;
    display: block;
    font-weight: 500;
}

/* Main navigation hover and active states */
.main-navigation > ul > li > a:hover,
.main-navigation > ul > li.current-menu-item > a {
    background-color: var(--primary-color);
    color: #fff;
}

/* Submenu hover states (no background by default) */
.main-navigation ul li .sub-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Current submenu item */
.main-navigation ul li .sub-menu .current-menu-item > a {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.main-navigation ul li .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: var(--shadow);
    z-index: 100;
}

.main-navigation ul li:hover .sub-menu {
    display: block;
}

.main-navigation ul li .sub-menu li {
    border-bottom: 1px solid var(--border-color);
}

.main-navigation ul li .sub-menu li:last-child {
    border-bottom: none;
}

.main-navigation ul li .sub-menu a {
    padding: 12px 15px;
    font-size: 14px;
}

/* Multi-level submenu */
.main-navigation ul li .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

.main-navigation ul li .sub-menu .menu-item-has-children > a {
    position: relative;
}

.main-navigation ul li .sub-menu .menu-item-has-children > a:after {
    content: '›';
    position: absolute;
    right: 15px;
    font-size: 18px;
    line-height: 1;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* =============================================
   HERO SLIDER
============================================= */
.hero-slider {
    position: relative;
    overflow: hidden;
    max-height: 500px;
}

.hero-slider-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.hero-slide {
    min-width: 100%;
    position: relative;
}

.hero-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

.hero-slide-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-slide-content p {
    font-size: 18px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-slide-content .btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.hero-slide-content .btn:hover {
    background: #e65c00;
    color: #fff;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.slider-control {
    background: rgba(255,255,255,0.3);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
}

.slider-control:hover {
    background: rgba(255,255,255,0.5);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active,
.slider-dot:hover {
    background: #fff;
    transform: scale(1.2);
}

/* =============================================
   MAIN CONTENT AREA
============================================= */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

/* =============================================
   PRODUCT CATEGORIES
============================================= */
.products-section {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-category {
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-category-image {
    height: 200px;
    overflow: hidden;
}

.product-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-category:hover .product-category-image img {
    transform: scale(1.1);
}

.product-category-content {
    padding: 25px;
}

.product-category-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-category-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 14px;
}

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

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

.product-category-links li a {
    color: var(--text-light);
    font-size: 14px;
    padding-left: 15px;
    position: relative;
}

.product-category-links li a:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.product-category-links li a:hover {
    color: var(--primary-color);
}

/* =============================================
   SINGLE PRODUCT PAGE
============================================= */
.product-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 0;
}

/* =============================================
   ABOUT PAGE
============================================= */
.about-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 0;
}

.about-content {
    background: #fff;
    padding: 30px;
    box-shadow: var(--shadow);
}

.product-detail {
    background: #fff;
    padding: 30px;
    box-shadow: var(--shadow);
    min-height: 400px;
}

.product-detail-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.product-detail-meta {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.product-detail-meta span {
    display: inline-block;
    margin-right: 20px;
    color: var(--text-light);
    font-size: 14px;
}

.product-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    min-height: 100px;
}

.product-detail-content:empty {
    display: none;
}

.product-detail-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--text-color);
}

.product-detail-content h4 {
    font-size: 20px;
    margin: 25px 0 12px;
    color: var(--text-color);
}

.product-detail-content p {
    margin-bottom: 15px;
}

.product-detail-content ul {
    list-style: disc;
    margin-left: 30px;
    margin-bottom: 15px;
}

.product-detail-content ul li {
    margin-bottom: 8px;
}

/* =============================================
   SIDEBAR & SUBMENU
============================================= */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Product Archive Layout */
.product-archive-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 0;
}

/* Product List for Archive Page */
.product-list {
    width: 100%;
}

/* Product Tabs */
.product-tabs-container {
    background: #fff;
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 30px;
}

.product-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
    list-style: none;
}

.product-tab {
    padding: 12px 24px;
    background: #fff;
    border: 2px solid var(--border-color);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

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

.product-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

/* Products Grid Layout */
.products-grid {
    background: #fff;
    box-shadow: var(--shadow);
    padding: 30px;
}

.products-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-grid-item {
    transition: var(--transition);
}

.product-grid-item.hidden {
    display: none;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .products-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

    .product-tabs {
        gap: 5px;
    }

    .product-tab {
        padding: 10px 16px;
        font-size: 14px;
    }
}

.product-list .project-card {
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-list .project-image {
    height: 200px;
    overflow: hidden;
}

.product-list .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-list .project-content {
    padding: 20px;
}

.product-list .project-title {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    min-height: 90px;
}

.product-list .project-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.product-list .project-title a:hover {
    color: var(--primary-color);
}

.product-list .project-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.sidebar-widget {
    background: #fff;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.sidebar-widget-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 8px;
}

.sidebar-menu li a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    font-size: 15px;
    transition: var(--transition);
}

.sidebar-menu li a:hover,
.sidebar-menu li.current-menu-item a {
    background-color: var(--primary-color);
    color: #fff;
}

/* =============================================
   INQUIRY FORM
============================================= */
.inquiry-form-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    color: #fff;
}

.inquiry-form-container h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255,255,255,0.3);
    font-size: 14px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255,255,255,0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-group select option {
    background: #667eea;
    color: #fff;
}

/* Homepage inquiry form specific styles - override default white text */
.inquiry-section .inquiry-form .form-group input,
.inquiry-section .inquiry-form .form-group textarea {
    color: var(--text-color);
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}

.inquiry-section .inquiry-form .form-group input:focus,
.inquiry-section .inquiry-form .form-group textarea:focus {
    color: var(--text-color);
    background: #fff;
    border-color: var(--primary-color);
}

.inquiry-section .inquiry-form .form-group input::placeholder,
.inquiry-section .inquiry-form .form-group textarea::placeholder {
    color: #999;
}

.btn-submit {
    background: var(--secondary-color);
    color: #fff;
    padding: 14px 30px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-success {
    background: #28a745;
    color: #fff;
    padding: 15px;
    margin-top: 15px;
    display: none;
}

.form-error {
    background: #dc3545;
    color: #fff;
    padding: 15px;
    margin-top: 15px;
    display: none;
}

/* =============================================
   ABOUT SECTION
============================================= */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-content-wrapper {
    padding: 20px;
    background: #fff;

 
}

.about-content-wrapper img{padding:10px;}
.about-content-wrapper p{     line-height: 1.5;
       text-align: justify;}
.about-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 16px;
   
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.about-feature-text {
    font-size: 15px;
    font-weight: 500;
}

.about-image img {
    box-shadow: var(--shadow);
}

/* =============================================
   PROJECTS SECTION
============================================= */
.projects-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

/* Projects grid responsive */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

.project-card {
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.project-image {
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
}

.project-tag {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    margin-bottom: 15px;
}

.project-title {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}
.blog-post{background: #fff;}
/* Products section specific project title styling */
.projects-section .project-title {
    min-height: auto;
}

.project-title a {
    color: var(--text-color);
}

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

.project-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* =============================================
   NEWS SECTION
============================================= */
.news-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.news-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.news-image {
    overflow: hidden;
}

.news-image a {
    display: block;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-content {
    padding: 25px;
}

.news-date {
    color: #999;
    font-size: 13px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.news-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-card .read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.news-card .read-more:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* =============================================
   SEARCH RESULTS
============================================= */
.search-results {
    margin-top: 20px;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item h2 a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.search-type {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 3px 10px;
    font-size: 12px;
    margin-bottom: 10px;
}

.search-date {
    color: #999;
    font-size: 13px;
    margin-bottom: 10px;
}

.search-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.search-result-item .read-more:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.no-results {
    padding: 40px 20px;
    background: #f8f9fa;
}

.no-results h3 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.no-results ul li {
    padding: 8px 0;
}

.no-results ul li a:hover {
    text-decoration: underline;
}

/* Pagination */
.navigation {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-links {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--primary-color);
    text-decoration: none;
    min-width: 40px;
}

.nav-links a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.nav-links span.current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.nav-links .dots {
    border: none;
    background: transparent;
}

/* =============================================
   CONTACT SECTION
============================================= */
.contact-section {
    padding: 80px 0;
    background: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-item-content p {
    color: var(--text-light);
    font-size: 14px;
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-widget h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: #fff;
}

.footer-widget p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

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

.footer-links li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* =============================================
   RESPONSIVE DESIGN
============================================= */
@media (max-width: 992px) {
    .product-detail-layout,
    .product-archive-layout,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-slide-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1001;
        padding: 80px 20px 20px;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .main-navigation ul li .sub-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: var(--bg-light);
        margin-left: 15px;
    }
    
    .main-navigation ul li:hover .sub-menu {
        display: none;
    }
    
    .main-navigation ul li .sub-menu.active {
        display: block;
    }
    
    .menu-item-has-children > a:after {
        content: '+';
        float: right;
    }
    
    .menu-item-has-children.open > a:after {
        content: '-';
    }
    
    .top-bar-inner {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-slide-content h2 {
        font-size: 24px;
    }
    
    .hero-slide-content p {
        font-size: 14px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .product-categories {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .hero-slide {
        height: 300px;
    }

    .hero-slide img {
        height: 300px;
    }

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

/* =============================================
   COMMENTS STYLES
============================================= */

.comments-area {
    margin-top: 60px;
    padding: 30px;
    background: var(--bg-white);
    box-shadow: var(--shadow);
}

.comments-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.comment-list ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list li {
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-left: 3px solid var(--primary-color);
}

.comment-list li.comment {
    background: var(--bg-light);
    border-left: 3px solid var(--primary-color);
}

.comment-list li.pingback {
    background: var(--bg-light);
    border-left: 3px solid var(--secondary-color);
}

.comment-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.comment-author .avatar {
    width: 50px;
    height: 50px;
}

.comment-author .fn {
    font-weight: 600;
    color: var(--text-color);
    font-size: 16px;
}

.comment-author .says {
    font-weight: 400;
    color: var(--text-light);
}

.comment-metadata {
    font-size: 13px;
    color: var(--text-light);
}

.comment-metadata a {
    color: var(--text-light);
}

.comment-metadata a:hover {
    color: var(--primary-color);
}

.comment-content {
    margin-top: 15px;
    line-height: 1.8;
    color: var(--text-color);
}

.comment-content p {
    margin-bottom: 15px;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-reply-link {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.comment-reply-link:hover {
    background: var(--primary-dark);
}

.no-comments {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
    font-style: italic;
}

/* Comment Form */
.comment-respond {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.comment-reply-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-form-comment {
    margin-bottom: 0;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    font-size: 14px;
    color: var(--text-color);
    transition: var(--transition);
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

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

.form-submit {
    margin-top: 10px;
}

.form-submit input[type="submit"] {
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit input[type="submit"]:hover {
    background: var(--primary-dark);
}

.comment-notes {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.required {
    color: #dc3545;
}

/* Comments Navigation */
.comments-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
}

.comments-navigation .nav-previous,
.comments-navigation .nav-next {
    flex: 1;
}

.comments-navigation .nav-previous a,
.comments-navigation .nav-next a {
    display: inline-block;
    padding: 10px 20px;
    background: var(--bg-light);
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.comments-navigation .nav-previous a:hover,
.comments-navigation .nav-next a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Comments Responsive */
@media (max-width: 768px) {
    .comments-area {
        padding: 20px;
        margin-top: 40px;
    }

    .comments-title {
        font-size: 20px;
    }

    .comment-list li {
        padding: 15px;
    }

    .comment-author .avatar {
        width: 40px;
        height: 40px;
    }

    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        font-size: 13px;
        padding: 10px 12px;
    }
}

/* =============================================
   SINGLE POST & BLOG STYLES
============================================= */

.single-post-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.single-post-content {
    background: var(--bg-white);
    padding: 40px;
    box-shadow: var(--shadow);
}

.blog-post {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Post Title */
.single-post-title {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Post Meta */
.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
}

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

.post-meta-views {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
    margin-left: auto;
}

.post-meta-views svg {
    color: var(--secondary-color);
}

/* Featured Image */
.single-post-image {
    margin-bottom: 35px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.single-post-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.single-post-image:hover img {
    transform: scale(1.03);
}

/* Post Content */
.single-post-body {
    line-height: 1.9;
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 40px;
}

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

.single-post-body h2,
.single-post-body h3,
.single-post-body h4,
.single-post-body h5,
.single-post-body h6 {
    color: var(--primary-color);
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 600;
}

.single-post-body h2 {
    font-size: 28px;
}

.single-post-body h3 {
    font-size: 24px;
}

.single-post-body h4 {
    font-size: 20px;
}

.single-post-body ul,
.single-post-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.single-post-body ul li,
.single-post-body ol li {
    margin-bottom: 10px;
}

.single-post-body blockquote {
    margin: 25px 0;
    padding: 20px 25px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    color: var(--text-light);
}

.single-post-body img {
    max-width: 100%;
    height: auto;
    margin: 25px 0;
}

.single-post-body a {
    color: var(--primary-color);
    text-decoration: underline;
}

.single-post-body a:hover {
    color: var(--primary-dark);
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid var(--border-color);
}

.post-tags-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
    margin-right: 5px;
}

.post-tag {
    display: inline-block;
    padding: 6px 15px;
    background: var(--bg-light);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.post-tag:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Post Share */
.post-share {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 30px;
}

.post-share-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
    margin-right: 5px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    transition: var(--transition);
}

.share-facebook {
    background: #1877f2;
}

.share-facebook:hover {
    background: #0d65d9;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.4);
}

.share-twitter {
    background: #1da1f2;
}

.share-twitter:hover {
    background: #0d8bd9;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(29, 161, 242, 0.4);
}

.share-linkedin {
    background: #0a66c2;
}

.share-linkedin:hover {
    background: #004182;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(10, 102, 194, 0.4);
}

.share-email {
    background: var(--text-light);
    color: #fff;
}

.share-email:hover {
    background: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(102, 102, 102, 0.4);
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    padding: 20px;
    background: var(--bg-light);
    transition: var(--transition);
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.post-navigation .nav-previous:hover a,
.post-navigation .nav-next:hover a {
    color: #fff;
}

.post-navigation .nav-previous:hover .nav-label,
.post-navigation .nav-next:hover .nav-label {
    color: rgba(255, 255, 255, 0.8);
}

.post-navigation a {
    display: block;
    font-size: 14px;
    color: var(--text-color);
    text-decoration: none;
}

.nav-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Related Posts */
.related-posts {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.related-posts-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 600;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-post-card {
    background: var(--bg-light);
    padding: 15px;
    transition: var(--transition);
}

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

.related-post-card a img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

.related-post-card h4 {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.related-post-card h4 a {
    color: var(--text-color);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.related-post-date {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

/* Author Widget */
.author-widget {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.author-info {
    flex: 1;
}

.author-info h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.author-bio {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    gap: 10px;
}

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bg-light);
    color: var(--text-light);
    transition: var(--transition);
}

.author-social a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Sidebar Search Form */
.sidebar-widget .searchform {
    margin: 0;
}

.sidebar-widget .searchform input[type="search"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    font-size: 14px;
    transition: var(--transition);
}

.sidebar-widget .searchform input[type="search"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
}

.sidebar-widget .searchform button[type="submit"] {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-widget .searchform button[type="submit"]:hover {
    background: var(--primary-dark);
}

/* Categories List */
.categories-list li {
    position: relative;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background: var(--bg-light);
    transition: var(--transition);
}

.categories-list li a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(5px);
}

.category-count {
    background: var(--primary-color);
    color: #fff;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
}

.categories-list li a:hover .category-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Recent Posts List */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.recent-posts-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    overflow: hidden;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.recent-post-thumb:hover img {
    transform: scale(1.1);
}

.recent-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.recent-post-title {
    display: block;
    font-size: 14px;
    color: var(--text-color);
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

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

.recent-post-date {
    font-size: 12px;
    color: var(--text-light);
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-tag:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.3);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.newsletter-widget .sidebar-widget-title {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.newsletter-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    transition: var(--transition);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    padding: 12px 25px;
    background: #fff;
    color: var(--primary-color);
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Single Post Responsive */
@media (max-width: 992px) {
    .single-post-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .single-post-content {
        padding: 30px;
    }

    .sidebar {
        position: static;
    }

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

@media (max-width: 768px) {
    .single-post-content {
        padding: 20px;
    }

    .single-post-title {
        font-size: 32px;
    }

    .single-post-meta {
        flex-direction: column;
        gap: 10px;
    }

    .post-meta-views {
        margin-left: 0;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

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

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

    .author-social {
        justify-content: center;
    }

    .sidebar-widget {
        padding: 20px;
    }

    .post-share {
        justify-content: center;
    }

    .post-tags {
        justify-content: center;
    }
}
