/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Titillium Web', 'Open Sans', Arial, sans-serif; color: #111; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ===== Top Bar ===== */
.top-bar { background: #2563eb; color: #fff; font-size: 13px; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.top-left span { margin-right: 25px; }
.top-left i { margin-right: 6px; }
.top-right a { color: #fff; margin-left: 12px; font-size: 14px; }
.top-right .lang { margin-left: 20px; cursor: pointer; }
.top-right .lang i { margin-right: 4px; }

/* ===== Header ===== */
.main-header { background: #fff; padding: 10px 0; box-shadow: 0 2px 8px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 1000; }
.main-header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; }
.logo img { height: 55px; width: auto; }

/* Nav */
.main-nav > ul { display: flex; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 12px 14px; font-size: 14px; font-weight: 600; color: #333; transition: color .2s; white-space: nowrap; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: #2563eb; }
.main-nav > ul > li > a i { font-size: 10px; margin-left: 3px; }
.dropdown { position: absolute; top: 100%; left: 0; background: #fff; min-width: 620px; max-height: 400px; overflow-y: auto; box-shadow: 0 4px 16px rgba(0,0,0,.12); border-radius: 4px; display: none; z-index: 200; flex-direction: row; flex-wrap: wrap; padding: 10px 0; }
.dropdown li { display: block; width: 33.33%; }
.main-nav > ul > li:hover > .dropdown { display: flex; }
.dropdown li a { display: block; padding: 10px 18px; font-size: 13px; color: #555; transition: background .2s, color .2s; white-space: nowrap; }
.dropdown li a:hover { background: #f0f4ff; color: #2563eb; }
.search-icon { width: 38px; height: 38px; background: #333; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; }

/* ===== Hero Banner ===== */
.hero-banner { position: relative; overflow: visible; }
.slider { position: relative; width: 100%; padding-top: 31.25%; /* 1200/3840 = 31.25% aspect ratio */ }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; }
.slide.active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: fill; display: block; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: background .3s; }
.dot.active { background: #fff; }

.footer-logo img { height: 40px; margin-bottom: 15px; }

/* ===== Trusted By ===== */
.trusted-by { padding: 40px 0; text-align: center; }
.trusted-by h1 { font-size: 28px; font-weight: 700; margin-bottom: 25px; }
.partner-logos { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.partner-item { text-align: center; }
.partner-item img { height: 65px; object-fit: contain; filter: grayscale(30%); transition: filter .3s; }
.partner-item img:hover { filter: grayscale(0); }

/* ===== About Section ===== */
.about-section { padding: 60px 0; background: #fff; }
.section-header { text-align: center; margin-bottom: 40px; }
.sub-title { display: inline-block; font-size: 14px; color: #888; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.tagline { font-size: 18px; color: #555; }
.home-title { text-align: center; font-size: 24px; font-weight: 700; color: #333; margin-bottom: 10px; letter-spacing: 2px; }
.home-des { text-align: center; font-size: 16px; color: #666; margin-bottom: 35px; }
.numlist { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; margin-bottom: 40px; }
.num-item { display: flex; align-items: center; gap: 15px; }
.num-icon img { width: 60px; height: 60px; }
.num-val { font-size: 36px; font-weight: 700; color: #111; line-height: 1.2; }
.num-info p { font-size: 13px; color: #888; margin: 2px 0 0; }
.about-content { max-width: 800px; margin: 0 auto 30px; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-bottom: 30px; }
.about-video { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.about-video iframe { display: block; border-radius: 8px; }
.about-content h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.about-content p { font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 15px; }
.btn-readmore { display: inline-block; padding: 10px 28px; border: 2px solid #2563eb; color: #2563eb; border-radius: 4px; font-size: 14px; font-weight: 600; transition: all .2s; }
.btn-readmore:hover { background: #2563eb; color: #fff; }
.btn-readmore.light { border-color: #fff; color: #fff; }
.btn-readmore.light:hover { background: #fff; color: #2563eb; }
/* About - Environment */
.env-tabs { display: flex; gap: 30px; margin-bottom: 20px; border-bottom: 2px solid #eee; padding-bottom: 0; }
.tab { font-size: 16px; font-weight: 600; color: #888; cursor: pointer; padding-bottom: 12px; border-bottom: 3px solid transparent; transition: all .2s; }
.tab.active { color: #2563eb; border-bottom-color: #2563eb; }
.env-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; background: #eef4fb; padding: 25px; border-radius: 8px; }
.env-img { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.env-img img { width: 100%; height: 220px; object-fit: cover; transition: transform .3s; display: block; }
.env-img img:hover { transform: scale(1.05); }

/* ===== Products Section ===== */
.products-section { padding: 60px 0; background: #f8f9fa; }
.section-title { text-align: center; font-size: 28px; font-weight: 700; margin-bottom: 40px; }
.section-title .highlight { color: #2563eb; }
.section-title.light { color: #fff; }
.section-title::after { content: ''; display: block; width: 40px; height: 3px; background: #2563eb; margin: 12px auto 0; }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 30px; }
.product-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: box-shadow .3s; }
.product-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.product-img { position: relative; height: 220px; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-label { background: #2563eb; color: #fff; text-align: center; padding: 8px; font-size: 14px; font-weight: 600; }
.product-label a { color: #fff; display: block; }
.product-links { padding: 15px 18px; }
.product-links li { padding: 6px 0; font-size: 13px; color: #555; }
.product-links li::before { content: '›'; margin-right: 8px; color: #999; }
.product-links li a:hover { color: #2563eb; }
.more-btn-wrap { text-align: center; margin-top: 20px; }
.btn-more { display: inline-block; padding: 10px 40px; border: 2px solid #333; color: #333; font-size: 14px; font-weight: 600; transition: all .2s; }
.btn-more:hover { background: #333; color: #fff; }

/* ===== New Products ===== */
.new-products { padding: 60px 0; background: linear-gradient(135deg, #1a3a5c 0%, #2e6da4 100%); text-align: center; }
.new-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 30px; }
.new-product-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.new-product-card img { width: 100%; height: 250px; object-fit: cover; }

/* ===== Footer ===== */
.main-footer { background: #1a1a2e; color: #ccc; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 15px; }
.footer-col p { font-size: 13px; margin-bottom: 8px; }
.footer-col p i { margin-right: 8px; color: #2563eb; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: #aaa; transition: color .2s; }
.footer-col ul li a:hover { color: #2563eb; }
.qr-placeholder img { border-radius: 6px; }
.footer-bottom { border-top: 1px solid #333; padding-top: 15px; text-align: center; font-size: 12px; }
.footer-bottom a { color: #aaa; }

/* ===== Side Contact ===== */
.side-contact { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 999; display: flex; flex-direction: column; gap: 2px; }
.side-item { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; padding: 10px 4px; font-size: 11px; color: #fff; text-align: center; transition: width .3s; }
.side-item i { font-size: 20px; margin-bottom: 4px; }
.side-item.whatsapp { background: #25d366; }
.side-item.email { background: #2563eb; }
.side-item.contact { background: #555; }
.side-item:hover { width: 72px; }

/* ===== Sub Pages ===== */
.page-banner { background: linear-gradient(135deg, #1a5276, #2e86c1); color: #fff; padding: 50px 0; text-align: center; }
.page-banner h1 { font-size: 32px; font-weight: 700; margin-bottom: 10px; }
.breadcrumb { font-size: 14px; opacity: .8; }
.breadcrumb a { color: #fff; text-decoration: underline; }
.breadcrumb span { opacity: .7; }
.page-content { padding: 50px 0; min-height: 400px; }
.page-content h2 { font-size: 24px; font-weight: 700; margin-bottom: 20px; color: #222; }
.page-content p { font-size: 14px; line-height: 1.9; color: #555; margin-bottom: 15px; }
.page-content img { max-width: 100%; border-radius: 6px; margin: 10px 0; }
.product-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.product-list-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: box-shadow .3s, transform .3s; text-align: center; }
.product-list-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.12); transform: translateY(-4px); }
.product-list-card img { width: 100%; height: 250px; object-fit: contain; padding: 15px; background: #fafafa; }
.product-list-card h3 { padding: 12px; font-size: 14px; color: #333; border-top: 1px solid #eee; }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.news-card { display: flex; gap: 20px; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); padding: 20px; }
.news-card img { width: 200px; height: 150px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.news-card-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: #222; }
.news-card-body h3 a:hover { color: #2563eb; }
.news-card-body .date { font-size: 12px; color: #999; margin-bottom: 8px; }
.news-card-body p { font-size: 13px; color: #666; line-height: 1.7; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-item { text-align: center; }
.cert-item img { width: 100%; height: 200px; object-fit: contain; border: 1px solid #eee; border-radius: 6px; padding: 10px; }
.cert-item p { font-size: 13px; color: #555; margin-top: 8px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { font-size: 18px; margin-bottom: 15px; }
.contact-info p { margin-bottom: 10px; }
.contact-info i { color: #2563eb; margin-right: 8px; width: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; margin-bottom: 15px; font-size: 14px; }
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form button { background: #2563eb; color: #fff; border: none; padding: 12px 40px; border-radius: 4px; font-size: 14px; cursor: pointer; }
.contact-form button:hover { background: #1d4ed8; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.video-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.video-card img { width: 100%; height: 200px; object-fit: cover; }
.video-card h3 { padding: 12px; font-size: 14px; color: #333; }
.article-list { display: flex; flex-direction: column; gap: 20px; }
.article-item { display: flex; gap: 20px; padding: 20px; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.article-item img { width: 180px; height: 130px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.article-item-body h3 { font-size: 16px; margin-bottom: 8px; }
.article-item-body h3 a:hover { color: #2563eb; }
.article-item-body p { font-size: 13px; color: #666; }
.market-content { text-align: center; }
.market-content img { max-width: 800px; margin: 20px auto; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .slider { padding-top: 31.25%; }
  .slide-content h2 { font-size: 26px; }
  .product-grid { grid-template-columns: 1fr; }
  .new-product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar .container { flex-direction: column; gap: 5px; text-align: center; }
  .partner-logos { gap: 15px; justify-content: center; padding: 0 15px; }
  .partner-item { width: 28%; text-align: center; }
  .partner-item img { height: 60px; width: auto; max-width: 100%; }
  .numlist { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 10px; padding: 0 15px; }
  .num-item { gap: 10px; }
  .num-icon img { width: 44px; height: 44px; }
  .num-val { font-size: 26px; }
  .num-info p { font-size: 11px; }
  .home-title { font-size: 20px; }
  .home-des { font-size: 14px; margin-bottom: 25px; }
  .env-gallery { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; }
}

/* ===== Sub Pages ===== */
.about-detail { max-width: 900px; margin: 0 auto; }
.about-detail h2 { font-size: 24px; margin-bottom: 20px; color: #1a5276; }
.about-detail p { font-size: 15px; line-height: 1.9; color: #555; margin-bottom: 16px; }
.about-detail .profile-img { width: 100%; border-radius: 8px; margin: 25px 0; box-shadow: 0 4px 16px rgba(0,0,0,.1); }

/* Service */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 30px; }
.service-card { background: #fff; border-radius: 8px; padding: 30px 20px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: transform .3s, box-shadow .3s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.service-card i { font-size: 40px; color: #2563eb; margin-bottom: 15px; }
.service-card h3 { font-size: 18px; margin-bottom: 12px; color: #333; }
.service-card p, .service-card ul { font-size: 13px; color: #666; line-height: 1.8; text-align: left; }
.service-card ul { padding-left: 15px; }
.service-card ul li { margin-bottom: 6px; list-style: disc; }

/* Certificate */
.cert-img { text-align: center; margin: 30px 0; }
.cert-img img { max-width: 100%; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.1); }

/* Video */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 25px; }
.video-card { background: #f8f9fa; border-radius: 8px; overflow: hidden; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.video-placeholder { height: 200px; background: #1a1a2e; display: flex; align-items: center; justify-content: center; }
.video-placeholder i { font-size: 50px; color: rgba(255,255,255,.7); }
.video-card p { padding: 12px; font-size: 14px; color: #333; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.news-card { display: flex; gap: 20px; background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: box-shadow .3s; }
.news-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.news-card img { width: 150px; height: 120px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.news-card-content h3 { font-size: 15px; color: #333; margin-bottom: 8px; line-height: 1.5; }
.news-card-content p { font-size: 13px; color: #888; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h2 { font-size: 22px; color: #1a5276; margin-bottom: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.contact-item i { font-size: 20px; color: #2563eb; margin-top: 3px; }
.contact-item p { font-size: 14px; color: #555; line-height: 1.6; }
.contact-item strong { color: #333; }
.contact-people { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 25px; }
.person-card { background: #f8f9fa; border-radius: 8px; padding: 20px; text-align: center; }
.person-card i { font-size: 40px; color: #2563eb; margin-bottom: 10px; }
.person-card h4 { font-size: 16px; margin-bottom: 8px; }
.person-card p { font-size: 13px; color: #666; }
.contact-form h2 { font-size: 22px; color: #1a5276; margin-bottom: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; margin-bottom: 15px; font-family: inherit; }
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form button { background: #2563eb; color: #fff; border: none; padding: 12px 40px; border-radius: 6px; font-size: 15px; cursor: pointer; transition: background .2s; }
.contact-form button:hover { background: #1d4ed8; }

/* Market */
.market-content { text-align: center; }
.market-content h2 { font-size: 24px; color: #1a5276; margin-bottom: 15px; }
.market-content p { font-size: 15px; color: #555; max-width: 800px; margin: 0 auto 30px; line-height: 1.8; }
.market-regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.region-card { background: #fff; border-radius: 8px; padding: 25px 15px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.region-card i { font-size: 36px; color: #2563eb; margin-bottom: 12px; }
.region-card h3 { font-size: 16px; margin-bottom: 8px; }
.region-card p { font-size: 13px; color: #666; }

/* Blog/Knowledge list */
.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.article-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: transform .3s; }
.article-card:hover { transform: translateY(-4px); }
.article-card .card-body { padding: 15px; }
.article-card h3 { font-size: 15px; color: #333; margin-bottom: 8px; }
.article-card p { font-size: 13px; color: #888; }

/* Project */
.project-content h2 { font-size: 24px; color: #1a5276; margin-bottom: 15px; }
.project-content p { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 16px; }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 25px; }
.project-gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 6px; }

@media (max-width: 768px) {
  .service-grid, .video-grid, .article-list { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .market-regions { grid-template-columns: repeat(2, 1fr); }
  .contact-people { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr 1fr; }
}

/* ===== Product Detail Page ===== */
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.detail-gallery { position: relative; }
.detail-gallery .main-img { width: 100%; border: 1px solid #eee; border-radius: 8px; padding: 15px; }
.detail-gallery .main-img img { width: 100%; height: 380px; object-fit: contain; }
.detail-gallery .thumb-list { display: flex; gap: 8px; margin-top: 12px; }
.detail-gallery .thumb-list img { width: 70px; height: 70px; object-fit: contain; border: 1px solid #ddd; border-radius: 4px; cursor: pointer; padding: 4px; transition: border-color .2s; }
.detail-gallery .thumb-list img:hover, .detail-gallery .thumb-list img.active { border-color: #2563eb; }
.detail-info h1 { font-size: 24px; color: #333; margin-bottom: 15px; line-height: 1.4; }
.detail-info .detail-meta { margin-bottom: 20px; }
.detail-info .detail-meta p { font-size: 14px; color: #666; margin-bottom: 8px; }
.detail-info .detail-meta strong { color: #333; }
.detail-info .detail-desc { font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 20px; }
.detail-info .btn-inquiry { display: inline-block; padding: 12px 35px; background: #2563eb; color: #fff; border-radius: 6px; font-size: 15px; font-weight: 600; transition: background .2s; }
.detail-info .btn-inquiry:hover { background: #1d4ed8; }
.detail-body { margin-top: 30px; }
.detail-body h2 { font-size: 20px; color: #1a5276; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #2563eb; display: inline-block; }
.detail-body p { font-size: 14px; color: #555; line-height: 1.9; margin-bottom: 12px; }
.detail-body img { max-width: 100%; border-radius: 6px; margin: 15px 0; }
.detail-body table { width: 100%; border-collapse: collapse; margin: 15px 0; }
.detail-body table th, .detail-body table td { padding: 10px 15px; border: 1px solid #ddd; font-size: 13px; text-align: left; }
.detail-body table th { background: #f0f4ff; color: #333; font-weight: 600; }
.related-products { margin-top: 40px; }
.related-products h2 { font-size: 22px; text-align: center; margin-bottom: 25px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); text-align: center; transition: transform .3s; }
.related-card:hover { transform: translateY(-4px); }
.related-card img { width: 100%; height: 180px; object-fit: contain; padding: 10px; }
.related-card p { padding: 10px; font-size: 13px; color: #333; border-top: 1px solid #eee; }
.detail-sidebar { background: #f8f9fa; border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.detail-sidebar h3 { font-size: 16px; color: #1a5276; margin-bottom: 12px; }
.detail-sidebar ul li { margin-bottom: 8px; }
.detail-sidebar ul li a { font-size: 13px; color: #555; transition: color .2s; }
.detail-sidebar ul li a:hover { color: #2563eb; }
@media (max-width: 768px) {
  .detail-layout { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Detail with Sidebar ===== */
.detail-with-sidebar { display: grid; grid-template-columns: 250px 1fr; gap: 30px; }
.detail-sidebar { background: #f8f9fa; border-radius: 8px; padding: 20px; height: fit-content; position: sticky; top: 80px; }
.detail-sidebar h3 { font-size: 16px; color: #1a5276; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #2563eb; }
.detail-sidebar ul { margin-bottom: 20px; }
.detail-sidebar ul li { margin-bottom: 8px; }
.detail-sidebar ul li a { font-size: 14px; color: #555; transition: all .2s; display: block; padding: 10px 12px; border-bottom: 1px solid #eee; }
.detail-sidebar ul li a:hover { color: #2563eb; background: #f0f4ff; padding-left: 16px; }
.detail-sidebar p { font-size: 12px; color: #666; margin-bottom: 6px; }
.detail-sidebar p i { color: #2563eb; margin-right: 6px; width: 14px; }
.detail-main { min-width: 0; }
.thumb { cursor: pointer; transition: opacity .2s; }
.thumb:hover { opacity: .7; }
@media (max-width: 768px) {
  .detail-with-sidebar { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
}

/* ===== Product List Sidebar ===== */
.list-with-sidebar { display: grid; grid-template-columns: 220px 1fr; gap: 25px; }
.list-sidebar { height: fit-content; position: sticky; top: 80px; }
.sidebar-block { background: #fff; border-radius: 6px; margin-bottom: 15px; overflow: hidden; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.sidebar-block h3 { background: #2563eb; color: #fff; padding: 10px 15px; font-size: 15px; margin: 0; }
.sidebar-block ul { padding: 8px 0; }
.sidebar-block ul li { border-bottom: 1px solid #f0f0f0; }
.sidebar-block ul li a { display: block; padding: 9px 15px; font-size: 13px; color: #555; transition: all .2s; }
.sidebar-block ul li a:hover { color: #2563eb; background: #f0f4ff; padding-left: 20px; }
.sidebar-block p { padding: 5px 15px; font-size: 12px; color: #666; }
.sidebar-block p:last-child { padding-bottom: 12px; }
.sidebar-block p i { color: #2563eb; margin-right: 6px; width: 14px; }
.latest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; }
.latest-grid a img { width: 100%; height: 80px; object-fit: contain; border: 1px solid #eee; border-radius: 4px; padding: 4px; transition: border-color .2s; }
.latest-grid a img:hover { border-color: #2563eb; }
.list-main { min-width: 0; }
@media (max-width: 768px) {
  .list-with-sidebar { grid-template-columns: 1fr; }
  .list-sidebar { position: static; }
}
