
/* CSS Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c8102e;
    --primary-dark: #a00d25;
    --secondary-color: #1a1a2e;
    --text-dark: #222;
    --text-gray: #666;
    --text-light: #999;
    --bg-light: #f8f9fa;
    --bg-gray: #f0f2f5;
    --white: #fff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --max-width: 1280px;
    --header-height: 70px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    min-height: 44px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-gray {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 16px;
    max-width: 600px;
    margin: 20px auto 0;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    height: var(--header-height);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo img {
    height: 55px;
    width: auto;
}

.logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-gray);
}

.header-contact strong {
    color: var(--text-dark);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Hero Banner
   ======================================== */
.hero {
    margin-top: var(--header-height);
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 25px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-desc {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.hero-buttons .btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* ========================================
   Product Categories
   ======================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.category-image {
    height: 260px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.category-image img {
    max-height: 240px;
    object-fit: contain;
}

.category-info {
    padding:20px;
}

.category-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.category-info p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.category-link:hover {
    gap: 10px;
}

/* ========================================
   Featured Products
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-image {
    height: 240px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
    overflow: hidden;
}
.product-image img {
    max-height: 260px;
    object-fit: contain;
    transition: var(--transition);
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name:hover {
    color: var(--primary-color);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.product-model {
    font-size: 13px;
    color: var(--text-gray);
}

.product-btn {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-btn:hover {
    gap: 8px;
}
.news-list-img img, .product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
/* ========================================
   About / Company Section
   ======================================== */
.about-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 33px;
    margin-bottom: 20px;
}

.about-content .section-title::after {
    left: 0;
    transform: none;
}

.about-intro {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background-color: rgba(200, 16, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
}

.about-feature h4 {
    font-size: 15px;
    margin-bottom: 5px;
}

.about-feature p {
    font-size: 13px;
    color: var(--text-gray);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}





.stat-number span {
    font-size: 20px;
}



.about-image {text-align: center;
    position: relative; 
}

.about-image img {display: inline-block;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 25px 30px;
    border-radius: 8px;
    text-align: center;
}

.about-image-badge .year {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.about-image-badge .text {
    font-size: 14px;
    margin-top: 5px;
}

/* ========================================
   Advantages Section
   ======================================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background-color: var(--white);
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary-color);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(200, 16, 46, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========================================
   OEM / ODM Section
   ======================================== */
.oem-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #16213e 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.oem-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>') no-repeat right center;
    background-size: contain;
}

.oem-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.oem-content h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 20px;
}

.oem-content p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 30px;
}

.oem-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
}

.oem-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.oem-feature::before {
    content: '\2713';
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.oem-image {
    text-align: center;
}

.oem-image img {
    max-height: 350px;
    margin: 0 auto;
    border-radius: 8px;
}

/* ========================================
   Partners / Clients
   ======================================== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 25px;
    align-items: center;
}/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.cta-section .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-section .btn-primary { 
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--bg-light);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--secondary-color);
    color: rgba(255,255,255,0.7);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr; justify-content: center; max-width: 900px; margin: 0 auto;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--white);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact li::before {
    content: '';
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

.footer-contact li.phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

.footer-contact li.email::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.footer-contact li.address::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.footer-contact li.whatsapp::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M16.75 13.96c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.95 1.17-.17.2-.35.22-.65.07-.3-.15-1.26-.46-2.4-1.48-.89-.79-1.49-1.77-1.66-2.07-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.67-1.62-.92-2.22-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.8.37-.27.3-1.04 1.02-1.04 2.48s1.07 2.88 1.22 3.08c.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.69.63.71.23 1.36.2 1.87.12.57-.09 1.76-.72 2.01-1.41.25-.69.25-1.28.17-1.41-.07-.13-.27-.2-.57-.35zM12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.3-1.4c1.45.78 3.08 1.2 4.74 1.2 5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01C17.18 3.03 14.69 2 12.04 2z'/%3E%3C/svg%3E");
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    text-align: center;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 10px;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ========================================
   WhatsApp Floating Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-btn {
    width: 55px;
    height: 55px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.email-btn {
    width: 55px;
    height: 55px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
    transition: var(--transition);
}

.email-btn:hover {
    transform: scale(1.1);
}

.top-btn {
    width: 45px;
    height: 45px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.top-btn.show {
    opacity: 1;
    visibility: visible;
}

.top-btn:hover {
    background-color: var(--primary-color);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb-section {
    margin-top: var(--header-height);
    background: linear-gradient(135deg, var(--secondary-color) 0%, #16213e 100%);
    padding: 50px 0;
    color: var(--white);
}

.breadcrumb-section h1 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    opacity: 0.5;
}

/* ========================================
   Products Page
   ======================================== */
.products-page {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.products-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    align-self: start;
}





/*.widget-content {   padding: 10px;}*/

.category-list li {
    margin-bottom: 10px;
}





.category-list a:hover,.category-list a.active {    background-color: rgba(200, 16, 46, 0.1);
    color: var(--primary-color);
}



.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.products-count {
    font-size: 14px;
    color: var(--text-gray);
}.products-grid-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}



.pagination a:hover,
.pagination .current {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ========================================
   Product Detail Page
   ======================================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.product-gallery {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    align-self: start;
}

.product-main-image {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.product-main-image img {
    max-height: 400px;
    margin: 0 auto;
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.product-thumb {
    background-color: var(--white);
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.product-thumb:hover,
.product-thumb.active {
    border-color: var(--primary-color);
}

.product-thumb img {
    height: 70px;
    object-fit: contain;
    margin: 0 auto;
}

.product-info-detail h1 {
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-sku {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.product-short-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.product-specs {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.product-specs h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.spec-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    width: 140px;
    font-weight: 600;
    color: var(--text-dark);
}

.spec-value {
    flex: 1;
    color: var(--text-gray);
}

.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product-actions .btn {
    flex: 1;
    min-width: 150px;
}

.product-tabs {
    margin-top: 60px;
}

.tabs-nav {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-gray);
    position: relative;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.tab-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.tab-content ul {
    margin-bottom: 20px;
}

.tab-content li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
    color: var(--text-gray);
}

.tab-content li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.related-products {
    margin-top: 60px;
}

.related-products h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-box {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
}

.contact-info-box h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-info-box > p {
    opacity: 0.8;
    margin-bottom: 30px;
    font-size: 14px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-item h4 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 14px;
    opacity: 0.8;
}

/*.contact-form-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.contact-form-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-form-box > p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 14px;
}*/
.breadcrumb-section { margin-top: var(--header-height);background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(22,33,62,0.85) 100%), center center / cover no-repeat;padding: 120px 0;color: var(--white);height: 300px;}
.breadcrumb-products { background-image: url('../images/banner-products.jpg'); }
.breadcrumb-advantages { background-image: url('../images/banner-advantages.jpg'); }
.breadcrumb-about { background-image: url('../images/banner-about.jpg'); }
.breadcrumb-news { background-image: url('../images/banner-news.jpg'); }
.breadcrumb-contact { background-image: url('../images/banner-contact.jpg'); }

.contact-form-box img{width:100%;height:620px;object-fit:cover;border-radius:8px;}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group label .required {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    min-height: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    margin-top: 10px;
}

.form-submit .btn {
    width: 100%;
}/* ========================================
   About Page
   ======================================== */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-hero-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-hero-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.about-hero-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.mv-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(200, 16, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary-color);
    margin: 0 auto 20px;
}

.mv-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.mv-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 30px;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-content {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.timeline-year {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-dot {
    grid-column: 2;
}

.timeline-item:nth-child(odd) .timeline-empty {
    grid-column: 3;
}

.timeline-item:nth-child(even) .timeline-empty {
    grid-column: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    grid-column: 2;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 3;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.certificate-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.certificate-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(200, 16, 46, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    margin: 0 auto 15px;
}

.certificate-card h4 {
    font-size: 15px;
    margin-bottom: 5px;
}

.certificate-card p {
    font-size: 13px;
    color: var(--text-gray);
}

/* ========================================
   404 Page
   ======================================== */
.error-page {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.error-content h1 {
    font-size: 120px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
}

.error-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.error-content p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Cookie Consent
   ======================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 20px;
    z-index: 998;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    min-height: 40px;
}

.cookie-btn.accept {
    background-color: var(--primary-color);
    color: var(--white);
}

.cookie-btn.accept:hover {
    background-color: var(--primary-dark);
}

.cookie-btn.decline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn.decline:hover {
    background-color: rgba(255,255,255,0.1);
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 38px;
    }

    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-wrapper,
    .oem-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .products-page {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .products-grid-page {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery {
        position: static;
    }

    .mission-vision {
        grid-template-columns: repeat(2, 1fr);
    }

    .certificates-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-menu {
        gap: 25px;
    }

    .header-contact {
        display: none;
    }
}

/* Mobile: < 768px */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .header {
        height: 60px;
    }

    .logo {
        font-size: 18px;
    }

    .logo img {
        height: 45px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu a {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        display: block;
        text-align: center;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown > a {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-menu a::after {
        display: none;
    }

    .header-right .btn {
        display: none;
    }

    .hero {
        height: auto;
        min-height: 520px;
        padding: 0;
    }

    .hero-slide {
        align-items: flex-start;
        text-align: center;
    }

    .hero-slide .container {
        padding-top: 30px;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .hero-desc {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-buttons .btn {
        width: auto;
    }

    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-image {
        height: 300px;
    }

    .category-image img {
        max-height: 220px;
    }

    .category-info {
        padding: 18px 15px;
    }

    .category-info h3 {
        font-size: 15px;
    }

    .category-info p {
        font-size: 13px;
    }

    .product-image {
        height: 320px;
    }

    .product-image img {
        max-height: 240px;
    }

    .product-info {
        padding: 15px;
    }

    .product-name {
        font-size: 13px;
        min-height: 36px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 28px;
    }

    .about-image-badge {
        left: 10px;
        bottom: -15px;
        padding: 18px 20px;
    }

    .about-image-badge .year {
        font-size: 32px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .oem-content h2 {
        font-size: 28px;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }.cta-section h2 {
        font-size: 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 40px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 15px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .whatsapp-btn,
    .email-btn {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .top-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .breadcrumb-section {
        padding: 35px 0;
    }

    .breadcrumb-section h1 {
        font-size: 24px;
    }

    .products-sidebar {
        grid-template-columns: 1fr;
    }

    .products-grid-page {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .products-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .product-info-detail h1 {
        font-size: 22px;
    }

    .product-thumbs {
        gap: 10px;
    }

    .product-thumb {
        padding: 8px;
    }

    .product-thumb img {
        height: 50px;
    }

    .spec-row {
        flex-direction: column;
        gap: 5px;
    }

    .spec-label {
        width: 100%;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
    }

    .tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    .contact-info-box,
    .contact-form-box {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-hero-content h2 {
        font-size: 26px;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 40px 1fr;
        gap: 15px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 2;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        grid-column: 1;
        margin-left: 10px;
    }

    .timeline-item:nth-child(odd) .timeline-empty,
    .timeline-item:nth-child(even) .timeline-empty {
        display: none;
    }

    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .error-content h1 {
        font-size: 80px;
    }

    .error-content h2 {
        font-size: 24px;
    }

    .cookie-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

}

/* Small Mobile: < 480px */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .categories-grid,
    .products-grid,
    .products-grid-page {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }
}

/* Partners grid responsive */
@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }}

/* Footer social in contact column */
.footer-col .footer-social {
    margin-top: 20px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 600px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col .footer-social {
        justify-content: center;
    }
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    padding: 40px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    text-align: center;
}

.stat-item {
    color: #fff;
}

.stat-number {
    color: var(--primary-color);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(155,155,155);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    .stats-bar {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px;
    }
    .stat-number {
        font-size: 28px;
    }
}

/* Stats bar (Why Choose Us) scoped colors */
.stats-bar .stat-number {
    color: #ffffff;
}

.stats-bar .stat-label {
    color: rgb(150, 150, 150);
}.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
}.sidebar-widget {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.widget-title {
    font-size: 18px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.category-list {
    list-style: none;
}

.category-list li { border-bottom: 1px solid var(--border-color);}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    color: var(--text-dark);
    font-size: 14px;
}

.category-list a:hover {
    color: var(--primary-color);  
}

.category-list .count {
    background: var(--bg-light);
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    color: var(--text-gray);
}/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination .current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* News responsive */
@media (max-width: 992px) {}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== News Horizontal List (XYYP style) ===== */
.news-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-list-item {
    display: flex;
    gap: 25px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.news-list-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.news-list-img { 
    flex: 0 0 200px;
    min-width: 280px; width: 280px;
    height: 280px; overflow: hidden;
}

.news-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 180px;
}

.news-list-body {
    flex: 1;
    padding: 22px 25px 22px 0;
    display: flex;
    flex-direction: column;
}

.news-list-date {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.news-list-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.news-list-title a {
    color: var(--text-dark);
}

.news-list-title a:hover {
    color: var(--primary-color);
}

.news-list-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.news-list-more:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .news-list-item {
        flex-direction: column;
    }
    .news-list-img {
        flex: none;
        min-width: 0;
    }
    .news-list-img img {
        height: 200px;
    }
    .news-list-body {
        padding: 20px;
    }
}

/* ===== Navigation Dropdown ===== */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1000;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Mobile: dropdown becomes accordion */
@media (max-width: 992px) {
    .dropdown-menu {
        position: static;
        transform: none;
        left: auto;
        right: auto;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: rgba(0,0,0,0.05);
        width: 100%;
        min-width: 100%;
        display: none;
        text-align: center;
    }
    .nav-dropdown.open .dropdown-menu {
        display: block;
        transform: none;
    }
    .dropdown-menu a {
        text-align: center;
        padding: 10px 15px;
    }
    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }
}

/* ===== Mobile Hero Center ===== */
@media (max-width: 768px) {
    .hero {
        height: 500px;
    }
    .hero-slider {
        height: 100%;
    }
    .hero-slide {
        height: 100%;
        justify-content: center;
        text-align: center;
    }
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    .hero-buttons {
        justify-content: center;
    }
}.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Partner Cards (reference style) ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
}

.partner-card {
    background: var(--white);
    border-radius: 8px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.partner-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.partner-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
  }

.partner-card-logo img {
    max-height: 50px;
    max-width: 100%;
    object-fit: contain;
}@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .partner-card {
        padding: 15px 10px;
    }
    .partner-card-logo {
        height: 50px;
    }
    .partner-card-logo img {
        max-height: 40px;
    }}

/* Product Search Bar */
.product-search-bar { max-width: 400px; flex: 1; min-width: 300px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
}
.product-search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 15px;
    color: #333;
}
.product-search-bar input::placeholder {
    color: #888;
}
.product-search-bar .btn-search {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}
.product-search-bar .btn-search:hover {
    background: var(--primary-dark, #a00d24);
}/* Article Detail Page */
.article-detail {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}
.article-feature-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 25px;
    max-height: 420px;
    object-fit: cover;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.article-category {
    background: var(--primary-color);
    color: #fff;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}
.article-date {
    color: #888;
    font-size: 14px;
}
.article-detail h1 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.3;
}
.article-content {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}
.article-content h2 {
    font-size: 20px;
    color: var(--text-dark);
    margin: 30px 0 15px;
}
.article-content p {
    margin-bottom: 15px;
}
.article-content a {
    color: var(--primary-color);
    text-decoration: underline;
}
.article-footer {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}
.related-news h2 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}
@media (max-width: 768px) {
    .article-detail { padding: 20px; }
    .article-detail h1 { font-size: 22px; }
    .article-footer { flex-direction: column; }
}

/* Image links */
.product-image a,.category-image a,.news-list-img a {/*display: block; */text-decoration: none;}
.product-image a img,.category-image a img,.news-list-img a img {transition: var(--transition);}
.pagination { display:flex; justify-content:center; gap:8px; margin:30px 0; }
.pagination a, .pagination span {
    display:inline-flex; align-items:center; justify-content:center;
    min-width:40px; height:40px; padding:0 10px;
    border:1px solid #ddd; border-radius:6px;
    text-decoration:none; color:#333; font-size:14px;
}
.pagination a:hover { border-color:#c8102e; color:#fff; }
.pagination .page-current { background:#c8102e; color:#fff; border-color:#c8102e; font-weight:600; }
.pagination .page-disabled { color:#ccc; cursor:not-allowed; }
/*.legal-content{padding:30px; }
.legal-content h2{line-height:30px;padding-top:10px }
.legal-content img{ display: block}*/
#description table{width:96%; margin:10px auto;border-collapse:collapse; }
#description table tr td{border:1px solid #ddd; }

