/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #2d3748; line-height: 1.6; background: #ffffff; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ===== Navbar ===== */
.navbar { background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); box-shadow: 0 1px 3px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #e2e8f0; }
.navbar .container { display: flex; align-items: center; gap: 40px; height: 72px; }
.logo { font-size: 1.5rem; font-weight: 800; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -0.5px; }
.nav-links { display: flex; list-style: none; gap: 32px; flex: 1; }
.nav-links a { color: #4a5568; font-weight: 500; font-size: 0.95rem; position: relative; }
.nav-links a:hover { color: #667eea; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: #667eea; transition: width 0.3s; }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 8px; }
.lang-switch a { padding: 6px 12px; border-radius: 6px; font-size: 0.85rem; color: #718096; font-weight: 500; transition: all 0.2s; }
.lang-switch a.active, .lang-switch a:hover { background: #667eea; color: #fff; }
.admin-link { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff !important; padding: 8px 20px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; transition: transform 0.2s, box-shadow 0.2s; }
.admin-link:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3); }

/* ===== Banner ===== */
.banner-section { margin-bottom: 0; }
.banner-slider { position: relative; overflow: hidden; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); max-height: 600px; }
.banner-item { position: relative; display: none; animation: fadeIn 0.8s; }
.banner-item.active { display: block; }
.banner-item img { width: 100%; height: 600px; object-fit: cover; display: block; }
.banner-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.6) 100%); }
.banner-content { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); max-width: 800px; color: #fff; z-index: 5; pointer-events: auto; text-align: center; padding: 0 24px; }
.banner-title { font-size: 3.5rem; font-weight: 800; margin-bottom: 24px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); line-height: 1.2; color: #fff; letter-spacing: -1px; }
.banner-btn { display: inline-block; padding: 16px 40px; background: #fff; color: #667eea !important; border-radius: 50px; font-weight: 700; font-size: 1.05rem; transition: all 0.3s; box-shadow: 0 4px 20px rgba(0,0,0,0.2); pointer-events: auto; position: relative; z-index: 10; }
.banner-btn:hover { background: #f7fafc; transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); color: #667eea !important; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); color: #fff; border: 1px solid rgba(255,255,255,0.3); font-size: 1.5rem; padding: 16px 20px; cursor: pointer; z-index: 10; transition: all 0.3s; border-radius: 50%; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; }
.banner-arrow:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.1); }
.banner-arrow.prev { left: 30px; }
.banner-arrow.next { right: 30px; }
.banner-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s; border: 2px solid transparent; }
.dot.active, .dot:hover { background: #fff; transform: scale(1.2); border-color: rgba(255,255,255,0.6); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== Product Grid ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; padding: 24px 0; }
.product-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: all 0.3s; border: 1px solid #e2e8f0; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 12px 32px rgba(102,126,234,.15); border-color: #cbd5e0; }
.product-card img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.4s; }
.product-card:hover img { transform: scale(1.05); }
.product-card h3 { padding: 16px 20px 8px; font-size: 1.05rem; color: #2d3748; font-weight: 600; }
.product-card .brief { padding: 0 20px; font-size: 0.9rem; color: #718096; line-height: 1.5; }
.product-card .price { padding: 12px 20px 20px; font-size: 1.4rem; color: #667eea; font-weight: 700; }

/* ===== Page Header ===== */
.page-header { display: flex; justify-content: space-between; align-items: center; margin: 20px 0; }
.search-form { display: flex; gap: 10px; }
.search-form input { padding: 8px 14px; border: 1px solid #ddd; border-radius: 4px; width: 250px; }
.search-form button { padding: 8px 20px; background: #e74c3c; color: #fff; border: none; border-radius: 4px; cursor: pointer; }

/* ===== Category Filter ===== */
.category-filter { display: flex; gap: 10px; flex-wrap: wrap; margin: 15px 0; }
.category-filter a { padding: 6px 16px; background: #fff; border: 1px solid #ddd; border-radius: 20px; font-size: .9rem; }
.category-filter a.active, .category-filter a:hover { background: #e74c3c; color: #fff; border-color: #e74c3c; }

/* ===== Product Detail ===== */
.pd-main { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 24px 0 40px; align-items: start; }

/* Gallery */
.pd-gallery { position: sticky; top: 80px; }
.pd-main-image { width: 100%; height: 440px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.08); border: 1px solid #f0f0f0; }
.pd-main-image img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .3s; }
.pd-main-image:hover img { transform: scale(1.03); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumb { width: 68px; height: 68px; object-fit: cover; border: 2px solid transparent; border-radius: 8px; cursor: pointer; background: #fff; transition: border-color .2s; }
.pd-thumb:hover, .pd-thumb.active { border-color: #e74c3c; }

/* Info */
.pd-cat-tag { display: inline-block; background: #fdf0ee; color: #e74c3c; padding: 4px 14px; border-radius: 20px; font-size: .8rem; font-weight: 600; margin-bottom: 12px; }
.pd-title { font-size: 1.7rem; color: #2c3e50; line-height: 1.35; margin-bottom: 16px; }
.pd-price-row { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid #f0f0f0; margin-bottom: 18px; }
.pd-price { font-size: 2.2rem; color: #e74c3c; font-weight: 700; }
.pd-stock-badge { padding: 4px 12px; border-radius: 20px; font-size: .78rem; font-weight: 600; color: #fff; }
.pd-stock-badge.in { background: #27ae60; }
.pd-stock-badge.out { background: #95a5a6; }
.pd-brief { color: #666; line-height: 1.8; margin-bottom: 20px; }
.pd-meta { display: flex; gap: 28px; flex-wrap: wrap; padding: 14px 0; background: #fafafa; border-radius: 8px; padding-left: 18px; margin-bottom: 22px; }
.pd-meta-item { display: flex; flex-direction: column; gap: 2px; }
.pd-meta-item span { font-size: .78rem; color: #999; }
.pd-meta-item strong { font-size: .95rem; color: #2c3e50; }

/* Action */
.pd-action { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.pd-qty { display: flex; align-items: center; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; }
.pd-qty button { width: 38px; height: 42px; border: none; background: #f7f7f7; font-size: 1.2rem; cursor: pointer; color: #555; }
.pd-qty button:hover { background: #eee; }
.pd-qty input { width: 52px; height: 42px; border: none; border-left: 1px solid #e0e0e0; border-right: 1px solid #e0e0e0; text-align: center; font-size: 1rem; }
.pd-btn { padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: .95rem; transition: transform .2s, box-shadow .2s; }
.pd-btn.primary { background: #e74c3c; color: #fff !important; }
.pd-btn.primary:hover { background: #c0392b; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(231,76,60,.35); }
.pd-btn.ghost { border: 1px solid #e74c3c; color: #e74c3c !important; }
.pd-btn.ghost:hover { background: #e74c3c; color: #fff !important; }

/* Trust */
.pd-trust { display: flex; gap: 22px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid #f0f0f0; }
.pd-trust span { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: #777; }
.pd-trust span svg { color: #e74c3c; }

/* Tabs */
.pd-tabs-section { margin-top: 10px; }
.pd-tabs { display: flex; gap: 4px; border-bottom: 2px solid #f0f0f0; }
.pd-tab { padding: 12px 24px; border: none; background: none; cursor: pointer; font-size: .95rem; color: #777; border-bottom: 3px solid transparent; margin-bottom: -2px; font-weight: 600; }
.pd-tab.active { color: #e74c3c; border-bottom-color: #e74c3c; }
.pd-tab-pane { display: none; padding: 26px 0; }
.pd-tab-pane.active { display: block; }
.pd-description { color: #444; line-height: 1.9; font-size: .96rem; }
.pd-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.pd-video-item video { width: 100%; border-radius: 10px; background: #000; }
.pd-video-title { margin-top: 8px; font-size: .9rem; color: #555; }

/* Related */
.pd-related { padding: 40px 0 20px; }

/* ===== Videos (legacy, kept for any leftover refs) ===== */
.product-videos, .product-description { padding: 30px 0; border-top: 1px solid #eee; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 15px; }
.video-item video { width: 100%; border-radius: 8px; }
.video-title { margin-top: 8px; font-size: .9rem; color: #555; }

/* ===== Responsive detail ===== */
@media (max-width: 860px) {
    .pd-main { grid-template-columns: 1fr; gap: 28px; }
    .pd-gallery { position: static; }
    .pd-main-image { height: 340px; }
    .pd-title { font-size: 1.4rem; }
}

/* ===== News (magazine style) ===== */
.news-page-head { padding: 18px 0 28px; border-bottom: 1px solid #eee; margin-bottom: 30px; }
.news-page-head h1 { font-size: 1.9rem; color: #2c3e50; }
.news-page-head p { color: #888; margin-top: 6px; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; padding-bottom: 30px; }
.news-card-mag { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.news-card-mag:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.news-card-cover { position: relative; display: block; height: 190px; overflow: hidden; }
.news-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card-mag:hover .news-card-cover img { transform: scale(1.05); }
.news-cover-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #e74c3c, #f39c12); }
.news-card-date { position: absolute; bottom: 10px; inset-inline-start: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; padding: 3px 10px; border-radius: 20px; }
.news-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.news-card-body h2 { font-size: 1.1rem; line-height: 1.4; margin-bottom: 10px; }
.news-card-body h2 a { color: #2c3e50; }
.news-card-body h2 a:hover { color: #e74c3c; }
.news-card-summary { color: #777; font-size: .88rem; line-height: 1.6; margin-bottom: 14px; flex: 1; }
.news-card-more { color: #e74c3c; font-size: .85rem; font-weight: 600; align-self: flex-start; }
.news-card-more:hover { color: #c0392b; }

/* News detail */
.news-detail-mag { background: #fff; border-radius: 12px; padding: 40px; margin: 20px 0 10px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.news-detail-title { font-size: 1.9rem; color: #2c3e50; line-height: 1.35; margin-bottom: 10px; }
.news-detail-meta { color: #999; font-size: .88rem; margin-bottom: 24px; }
.news-detail-cover { width: 100%; border-radius: 10px; margin-bottom: 28px; max-height: 420px; object-fit: cover; }
.news-detail-content { color: #333; line-height: 1.95; font-size: 1rem; }
.news-detail-content h2, .news-detail-content h3 { color: #2c3e50; margin: 1.4em 0 .6em; }
.news-detail-content p { margin-bottom: 1em; }
.news-detail-content img { max-width: 100%; border-radius: 8px; margin: 1em 0; }
.back-link { display: inline-block; margin: 16px 0 30px; color: #e74c3c; font-weight: 600; }
.back-link:hover { color: #c0392b; }

@media (max-width: 600px) {
    .news-detail-mag { padding: 24px 18px; }
    .news-detail-title { font-size: 1.5rem; }
}

/* ===== Chat ===== */
.chat-container { max-width: 700px; margin: 20px auto; background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.chat-messages { height: 400px; overflow-y: auto; padding: 20px; background: #2c3e50; box-shadow: inset 0 0 0 1px #1a252f; }
.message { margin-bottom: 15px; display: flex; flex-direction: column; }
.message.customer .message-content { background: #e74c3c; color: #fff; align-self: flex-end; }
.message.employee .message-content { background: #ecf0f1; align-self: flex-start; }
.message-content { padding: 10px 15px; border-radius: 12px; max-width: 70%; }
.message-time { font-size: .75rem; color: #999; margin-top: 4px; }
.chat-input { display: flex; gap: 10px; padding: 15px; border-top: 1px solid #eee; align-items: center; }
.chat-input input { flex: 1; padding: 10px 14px; border: 1px solid #ddd; border-radius: 20px; }
.chat-input button { padding: 10px 24px; background: #e74c3c; color: #fff; border: none; border-radius: 20px; cursor: pointer; }
.chat-img-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #f5f5f5; border-radius: 50%; cursor: pointer; font-size: 1.1rem; transition: background .2s; }
.chat-img-btn:hover { background: #e74c3c; }
.chat-attach-group { display: flex; gap: 6px; }
.chat-img { max-width: 100%; max-height: 200px; border-radius: 8px; display: block; cursor: zoom-in; }
.chat-video { max-width: 240px; max-height: 200px; border-radius: 8px; display: block; background: #000; }
.chat-file { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; background: rgba(255,255,255,.2); border-radius: 8px; font-size: .9rem; color: inherit; text-decoration: none; }
.chat-file:hover { background: rgba(255,255,255,.35); }
.message-content:has(.chat-img),
.message-content:has(.chat-video),
.message-content:has(.chat-file) { padding: 4px; background: transparent !important; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 20px 0; }
.pagination a { padding: 6px 12px; background: #fff; border: 1px solid #ddd; border-radius: 4px; }
.pagination a.active, .pagination a:hover { background: #e74c3c; color: #fff; border-color: #e74c3c; }

/* ===== Modules ===== */
.modules-section { padding: 30px 0; }
.module-block { background: #fff; padding: 30px; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.module-block h2 { margin-bottom: 15px; color: #2c3e50; }

/* ===== Footer ===== */
.footer { background: #2c3e50; color: #bdc3c7; text-align: center; padding: 20px 0; margin-top: 40px; }

/* ===== Homepage Sections ===== */
.section { padding: 60px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; gap: 20px; }
.section-head h2 { font-size: 1.8rem; color: #2c3e50; }
.section-head p { color: #888; font-size: .95rem; margin-top: 4px; }
.section-head .view-all { color: #e74c3c; font-weight: 600; white-space: nowrap; transition: gap .2s; }
.section-head .view-all:hover { color: #c0392b; }

/* Trust Bar */
.trust-bar { background: #f7fafc; border-bottom: 1px solid #e2e8f0; }
.trust-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 36px 0; }
.trust-item { display: flex; align-items: center; gap: 16px; color: #667eea; }
.trust-item div { display: flex; flex-direction: column; color: #2d3748; }
.trust-item strong { font-size: 1rem; font-weight: 600; }
.trust-item span { font-size: 0.85rem; color: #718096; margin-top: 2px; }

/* Category Grid */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; }
.category-card { background: #fff; border-radius: 16px; padding: 32px 20px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: all 0.3s; border: 1px solid #e2e8f0; }
.category-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(102,126,234,.15); border-color: #cbd5e0; }
.category-icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 700; box-shadow: 0 4px 16px rgba(102,126,234,.3); }
.category-name { font-size: 1rem; color: #2d3748; font-weight: 600; }

/* Product card refinement for home */
.products-section .product-card .product-img { overflow: hidden; }
.products-section .product-card .product-img img { height: 200px; transition: transform .4s; }
.products-section .product-card:hover .product-img img { transform: scale(1.06); }
.product-card .product-body { padding: 12px 15px 16px; }
.product-card .product-body h3 { font-size: 1rem; margin-bottom: 4px; }

/* Stats Band */
.stats-band { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.stats-band::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>'); opacity: 0.3; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; position: relative; z-index: 1; }
.stat-item { display: flex; flex-direction: column; gap: 8px; }
.stat-num { font-size: 3rem; font-weight: 800; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.stat-label { font-size: 1rem; color: rgba(255,255,255,0.9); font-weight: 500; }

/* Modules (About / Service) */
.modules-section { background: #f7fafc; }
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.module-block { background: #fff; padding: 36px; border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,.06); border-top: 4px solid #667eea; transition: all 0.3s; }
.module-block:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(102,126,234,.12); }
.module-block .module-code { display: block; font-size: 1.4rem; font-weight: 700; color: #2d3748; margin-bottom: 16px; }
.module-block .module-content { color: #718096; line-height: 1.8; font-size: 0.95rem; }

/* News Home */
.news-home-section { background: #fff; }
.news-home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.news-home-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: all 0.3s; border: 1px solid #e2e8f0; }
.news-home-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(102,126,234,.15); border-color: #cbd5e0; }
.news-home-img { height: 200px; overflow: hidden; }
.news-home-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-home-card:hover .news-home-img img { transform: scale(1.08); }
.news-home-img-placeholder { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.news-home-body { padding: 20px; }
.news-home-date { font-size: 0.85rem; color: #718096; font-weight: 500; }
.news-home-body h3 { font-size: 1.1rem; margin-top: 8px; color: #2d3748; font-weight: 600; line-height: 1.4; }

/* CTA Section */
.cta-section { background: linear-gradient(135deg, #e74c3c, #c0392b); color: #fff; text-align: center; padding: 60px 0; }
.cta-section h2 { font-size: 2rem; margin-bottom: 10px; }
.cta-section p { font-size: 1.05rem; margin-bottom: 24px; opacity: .95; }
.cta-btn { display: inline-block; padding: 14px 38px; background: #fff; color: #e74c3c !important; border-radius: 30px; font-weight: 700; font-size: 1rem; transition: transform .2s, box-shadow .2s; }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Hero Section ===== */
.hero-section { padding: 80px 0 60px; text-align: center; background: linear-gradient(180deg, #f7fafc 0%, #fff 100%); }
.hero-badge { display: inline-block; padding: 6px 20px; background: rgba(102,126,234,.1); color: #667eea; border-radius: 20px; font-size: .85rem; font-weight: 600; margin-bottom: 20px; }
.hero-title { font-size: 2.8rem; font-weight: 800; color: #2c3e50; line-height: 1.25; letter-spacing: -1px; max-width: 800px; margin: 0 auto; }
.hero-divider { width: 60px; height: 4px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 2px; margin: 24px auto; }
.hero-desc { font-size: 1.1rem; color: #718096; max-width: 700px; margin: 0 auto; line-height: 1.8; }

/* ===== Category Product Cards ===== */
.cat-product-group { margin-bottom: 60px; }
.cat-product-group:last-child { margin-bottom: 0; }
.cat-product-header { text-align: center; margin-bottom: 40px; }
.cat-product-badge { display: inline-block; padding: 4px 16px; background: rgba(102,126,234,.1); color: #667eea; border-radius: 16px; font-size: .8rem; font-weight: 600; margin-bottom: 12px; }
.cat-product-title { font-size: 2rem; font-weight: 700; color: #2c3e50; }
.cat-product-divider { width: 40px; height: 3px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 2px; margin: 16px auto 0; }
.cat-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-product-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.06); transition: all .3s; border: 1px solid #e2e8f0; }
.cat-product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(102,126,234,.15); }
.cat-product-img { height: 200px; overflow: hidden; }
.cat-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-product-card:hover .cat-product-img img { transform: scale(1.06); }
.cat-product-body { padding: 20px; }
.cat-product-body h3 { font-size: 1.05rem; color: #2c3e50; font-weight: 600; margin-bottom: 12px; }
.cat-product-features { list-style: none; margin-bottom: 16px; }
.cat-product-features li { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; color: #718096; line-height: 1.5; margin-bottom: 6px; }
.cat-product-features li svg { flex-shrink: 0; color: #667eea; margin-top: 2px; }
.cat-product-btn { display: inline-block; padding: 10px 24px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff !important; border-radius: 8px; font-size: .9rem; font-weight: 600; transition: all .2s; }
.cat-product-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(102,126,234,.3); }

/* ===== About Section ===== */
.about-section { background: #f7fafc; }
.about-header { text-align: center; margin-bottom: 48px; }
.about-badge { display: inline-block; padding: 4px 16px; background: rgba(102,126,234,.1); color: #667eea; border-radius: 16px; font-size: .8rem; font-weight: 600; margin-bottom: 12px; }
.about-title { font-size: 2rem; font-weight: 700; color: #2c3e50; }
.about-divider { width: 40px; height: 3px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 2px; margin: 16px auto 0; }
.about-desc { font-size: 1rem; color: #718096; max-width: 600px; margin: 16px auto 0; line-height: 1.7; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-video-placeholder { width: 100%; min-height: 360px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.about-video-placeholder img, .about-video-placeholder video { width: 100%; height: 100%; object-fit: cover; }
.play-btn { width: 80px; height: 80px; background: rgba(255,255,255,.25); backdrop-filter: blur(8px); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .3s; }
.play-btn:hover { background: rgba(255,255,255,.4); transform: scale(1.1); }
.about-advantages h3 { font-size: 1.3rem; color: #2c3e50; margin-bottom: 24px; font-weight: 700; }
.advantage-item { display: flex; gap: 16px; margin-bottom: 24px; }
.advantage-item:last-child { margin-bottom: 0; }
.advantage-icon { flex-shrink: 0; width: 56px; height: 56px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; }
.advantage-item h4 { font-size: 1rem; color: #2c3e50; font-weight: 600; margin-bottom: 6px; }
.advantage-item p { font-size: .9rem; color: #718096; line-height: 1.6; }

/* About Section V2 */
.about-section-v2 { padding: 80px 0; }
.about-v2-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.about-v2-left { position: sticky; top: 100px; }
.about-v2-badge { display: inline-block; padding: 6px 18px; background: rgba(102,126,234,.1); color: #667eea; border-radius: 20px; font-size: .85rem; font-weight: 600; margin-bottom: 16px; }
.about-v2-title { font-size: 2.2rem; font-weight: 700; color: #2c3e50; line-height: 1.3; }
.about-v2-divider { width: 50px; height: 4px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 2px; margin-top: 20px; }
.about-v2-right { display: flex; flex-direction: column; gap: 40px; }
.about-v2-story { background: #fff; padding: 32px; border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.about-v2-story-title { font-size: 1.3rem; color: #2c3e50; font-weight: 600; margin-bottom: 16px; }
.about-v2-story-text { color: #718096; line-height: 1.8; font-size: .95rem; }
.about-v2-adv-title { font-size: 1.4rem; color: #2c3e50; font-weight: 700; margin-bottom: 24px; }
.about-v2-adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-v2-adv-item { background: #fff; padding: 24px; border-radius: 14px; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: all .3s; }
.about-v2-adv-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(102,126,234,.12); }
.about-v2-adv-icon { width: 52px; height: 52px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 16px; }
.about-v2-adv-content h4 { font-size: 1rem; color: #2c3e50; font-weight: 600; margin-bottom: 8px; }
.about-v2-adv-content p { font-size: .88rem; color: #718096; line-height: 1.6; }

/* ===== OEM Section ===== */
.oem-section { background: #fff; }
.oem-header { text-align: center; margin-bottom: 48px; }
.oem-badge { display: inline-block; padding: 4px 16px; background: rgba(102,126,234,.1); color: #667eea; border-radius: 16px; font-size: .8rem; font-weight: 600; margin-bottom: 12px; }
.oem-title { font-size: 2rem; font-weight: 700; color: #2c3e50; }
.oem-divider { width: 40px; height: 3px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 2px; margin: 16px auto 0; }
.oem-desc { font-size: 1rem; color: #718096; max-width: 700px; margin: 16px auto 0; line-height: 1.7; }
.oem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.oem-card { padding: 32px 24px; border-radius: 16px; transition: all .3s; }
.oem-card:hover { transform: translateY(-4px); }
.oem-card-white { background: #f7fafc; border: 1px solid #e2e8f0; }
.oem-card-white .oem-card-icon { color: #667eea; }
.oem-card-white h3 { color: #2c3e50; }
.oem-card-white p { color: #718096; }
.oem-card-green { background: linear-gradient(135deg, #48bb78, #38a169); color: #fff; }
.oem-card-green h3 { color: #fff; }
.oem-card-green p { color: rgba(255,255,255,.9); }
.oem-card-orange { background: linear-gradient(135deg, #ed8936, #dd6b20); color: #fff; }
.oem-card-orange h3 { color: #fff; }
.oem-card-orange p { color: rgba(255,255,255,.9); }
.oem-card-icon { margin-bottom: 16px; }
.oem-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.oem-card p { font-size: .9rem; line-height: 1.6; }

/* ===== Featured Product Section ===== */
.featured-section { background: #f7fafc; }
.featured-header { text-align: center; margin-bottom: 48px; }
.featured-badge { display: inline-block; padding: 4px 16px; background: rgba(102,126,234,.1); color: #667eea; border-radius: 16px; font-size: .8rem; font-weight: 600; margin-bottom: 12px; }
.featured-title { font-size: 2rem; font-weight: 700; color: #2c3e50; }
.featured-divider { width: 40px; height: 3px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 2px; margin: 16px auto 0; }
.featured-desc { font-size: 1rem; color: #718096; max-width: 600px; margin: 16px auto 0; line-height: 1.7; }
.featured-content { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 32px; align-items: center; }
.featured-features-left, .featured-features-right { display: flex; flex-direction: column; gap: 24px; }
.featured-feature h4 { font-size: 1rem; color: #2c3e50; font-weight: 600; margin-bottom: 6px; }
.featured-feature p { font-size: .88rem; color: #718096; line-height: 1.6; }
.featured-media { position: relative; }
.featured-image { position: relative; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #667eea, #764ba2); min-height: 360px; display: flex; align-items: center; justify-content: center; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-image .play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* ===== News Section (Home) ===== */
.news-section { background: #fff; }
.news-section .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-section .news-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: all .3s; border: 1px solid #e2e8f0; }
.news-section .news-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(102,126,234,.15); }
.news-section .news-card a { display: block; }
.news-section .news-card-img { height: 200px; overflow: hidden; }
.news-section .news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-section .news-card:hover .news-card-img img { transform: scale(1.06); }
.news-section .news-card-img-placeholder { background: linear-gradient(135deg, #667eea, #764ba2); height: 100%; }
.news-section .news-card-body { padding: 20px; }
.news-section .news-card-date { font-size: .85rem; color: #718096; font-weight: 500; }
.news-section .news-card-body h3 { font-size: 1.1rem; margin-top: 8px; color: #2c3e50; font-weight: 600; line-height: 1.4; }

/* ===== CTA Section ===== */
.cta-section { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; text-align: center; padding: 60px 0; }
.cta-section h2 { font-size: 2rem; margin-bottom: 10px; }
.cta-section p { font-size: 1.05rem; margin-bottom: 24px; opacity: .95; }
.cta-btn { display: inline-block; padding: 14px 38px; background: #fff; color: #667eea !important; border-radius: 30px; font-weight: 700; font-size: 1rem; transition: transform .2s, box-shadow .2s; }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .trust-items { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
    .section { padding: 40px 0; }
    .banner-item img { height: 280px; }
    .banner-content { left: 24px; bottom: 24px; max-width: 90%; }
    .banner-title { font-size: 1.6rem; }
    .hero-title { font-size: 2rem; }
    .cat-product-grid { grid-template-columns: repeat(2, 1fr); }
    .about-content { grid-template-columns: 1fr; gap: 32px; }
    .oem-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-content { grid-template-columns: 1fr; gap: 24px; }
    .featured-features-left, .featured-features-right { order: 2; }
    .featured-media { order: 1; }
    .news-section .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .trust-items { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .section-head { flex-direction: column; align-items: flex-start; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .banner-arrow { padding: 10px 14px; font-size: 1.4rem; }
    .hero-title { font-size: 1.6rem; }
    .hero-desc { font-size: 1rem; }
    .cat-product-grid { grid-template-columns: 1fr; }
    .oem-grid { grid-template-columns: 1fr; }
    .news-section .news-grid { grid-template-columns: 1fr; }
}

/* Shop page responsive */
@media (max-width: 900px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; }
    .filter-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .filter-box { margin-bottom: 0; }
}
@media (max-width: 560px) {
    .filter-form { grid-template-columns: 1fr; }
    .shop-toolbar { flex-direction: column; gap: 10px; align-items: flex-start; }
    .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Shop / Products Page ===== */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: #888; padding: 16px 0; flex-wrap: wrap; }
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: #e74c3c; }
.breadcrumb .sep { color: #ccc; }
.breadcrumb .current { color: #2c3e50; font-weight: 500; }

.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding-bottom: 40px; align-items: start; }

/* Sidebar */
.shop-sidebar { position: sticky; top: 80px; }
.filter-box { background: #fff; border-radius: 10px; padding: 18px 16px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.filter-title { font-size: .95rem; color: #2c3e50; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #f0f0f0; }
.filter-search { display: flex; gap: 8px; }
.filter-search input { flex: 1; padding: 8px 12px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: .85rem; }
.filter-search button { background: #e74c3c; color: #fff; border: none; border-radius: 6px; padding: 0 10px; cursor: pointer; font-size: .9rem; }
.filter-cats { list-style: none; }
.filter-cats li { margin-bottom: 2px; }
.filter-cats label { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; cursor: pointer; font-size: .9rem; color: #444; transition: background .15s; }
.filter-cats label:hover { background: #faf6f5; }
.filter-cats input { accent-color: #e74c3c; }
.filter-cats em { margin-inline-start: auto; font-style: normal; font-size: .75rem; color: #aaa; background: #f4f4f4; border-radius: 10px; padding: 1px 8px; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { flex: 1; width: 100%; padding: 7px 8px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: .85rem; }
.price-range span { color: #aaa; }
.price-apply { width: 100%; margin-top: 10px; padding: 8px; background: #2c3e50; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: .85rem; transition: background .2s; }
.price-apply:hover { background: #1a252f; }
.filter-check { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: #444; cursor: pointer; }
.filter-check input { accent-color: #e74c3c; }

/* Main area */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 10px; padding: 12px 18px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.result-count { font-size: .9rem; color: #666; }
.result-count strong { color: #e74c3c; }
.sort-box { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: #666; }
.sort-box select { padding: 6px 10px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: .85rem; cursor: pointer; background: #fff; }
.sort-box select:focus { outline: none; border-color: #e74c3c; }

.shop-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.shop-card .product-img { position: relative; overflow: hidden; }
.shop-card .product-img img { height: 220px; transition: transform .4s; }
.shop-card:hover .product-img img { transform: scale(1.06); }
.stock-badge { position: absolute; top: 10px; inset-inline-start: 10px; padding: 3px 10px; border-radius: 20px; font-size: .72rem; font-weight: 600; color: #fff; }
.stock-badge.in { background: #27ae60; }
.stock-badge.out { background: #95a5a6; }
.shop-card .product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.shop-card .view-btn { font-size: .8rem; color: #e74c3c; font-weight: 600; white-space: nowrap; }

/* Empty state */
.empty-state { background: #fff; border-radius: 10px; padding: 60px 20px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.empty-icon { font-size: 3rem; margin-bottom: 12px; opacity: .6; }
.empty-state p { color: #777; margin-bottom: 18px; }
.btn-outline { display: inline-block; padding: 8px 22px; border: 1px solid #e74c3c; color: #e74c3c; border-radius: 6px; font-size: .9rem; }
.btn-outline:hover { background: #e74c3c; color: #fff; }

/* ===== RTL Support ===== */
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .message.customer .message-content { align-self: flex-start; }
[dir="rtl"] .message.employee .message-content { align-self: flex-end; }
[dir="rtl"] .section-head .view-all { unicode-bidi: plaintext; }
