/*
Theme Name: Mate Optronics
Theme URI: https://www.mateaoptronics.com
Author: Shanghai Mate Optronics Co., Ltd.
Author URI: https://www.mateaoptronics.com
Description: 专业外贸B2B主题，深蓝科技风，内置首页轮播Banner、产品展示、WhatsApp漂浮窗、Cookie提示、SEO基础支持。适用于积分球、玻纤、碳纤维等工业产品外贸网站。
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mate-optronics
Tags: one-column, two-columns, right-sidebar, custom-menu, featured-images, threaded-comments, translation-ready, custom-logo, custom-colors
*/

/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #1E293B; line-height: 1.6; background: #fff;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-weight: 800; color: #0A2540; line-height: 1.2; }
p { margin-bottom: 16px; }

/* ===== Container ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,37,64,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.custom-logo-link img { height: 42px; width: auto; }
.logo-fallback {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, #00B4D8, #0077B6);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; color: #fff; position: relative;
}
.logo-fallback::after {
  content: ''; position: absolute; width: 28px; height: 28px;
  border: 2px solid rgba(255,255,255,0.4); border-radius: 50%;
}
.site-title-text { color: #fff; }
.site-title-text .main { font-size: 18px; font-weight: 800; letter-spacing: 2px; }
.site-title-text .sub { font-size: 10px; letter-spacing: 3px; color: #00B4D8; text-transform: uppercase; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav ul { display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.main-nav ul li { margin: 0; padding: 0; }
.main-nav a {
  color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.3s;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav .current-menu-item > a { color: #00B4D8; }
.nav-quote-btn {
  background: #00B4D8; color: #fff !important; padding: 8px 18px;
  border-radius: 4px; font-weight: 700; transition: background 0.3s;
  font-size: 12px !important; white-space: nowrap;
}
.nav-quote-btn:hover { background: #0096C7 !important; color: #fff !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none; background: none; border: none; color: #fff;
  font-size: 24px; cursor: pointer; padding: 8px;
}

/* ===== Hero Slider ===== */
.hero-slider { position: relative; height: 100vh; min-height: 600px; overflow: hidden; margin-top: 0; }
.hero-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1s ease-in-out; background-size: cover;
  background-position: center; background-color: #0A2540;
}
.hero-slide.active { opacity: 1; }
.hero-slide-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(10,37,64,0.92) 0%, rgba(15,59,92,0.75) 50%, rgba(10,37,64,0.85) 100%);
}
.hero-slide-content {
  position: relative; z-index: 2; max-width: 1280px; margin: 0 auto;
  padding: 0 32px; height: 100%; display: flex; flex-direction: column;
  justify-content: center;
}
.hero-tag {
  display: inline-block; color: #00B4D8; font-size: 13px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px;
  padding-left: 40px; position: relative;
}
.hero-tag::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 30px; height: 2px; background: #00B4D8;
}
.hero-title {
  font-size: 56px; font-weight: 800; color: #fff; line-height: 1.15;
  margin-bottom: 24px; max-width: 700px;
}
.hero-desc {
  font-size: 18px; color: rgba(255,255,255,0.75); max-width: 560px;
  margin-bottom: 40px; line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: #00B4D8; color: #fff; padding: 16px 36px; border-radius: 4px;
  font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  transition: all 0.3s; display: inline-block; border: none; cursor: pointer;
}
.btn-primary:hover { background: #0096C7; transform: translateY(-2px); color: #fff; }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.4); color: #fff; padding: 14px 34px;
  border-radius: 4px; font-weight: 700; font-size: 14px; letter-spacing: 1px;
  text-transform: uppercase; transition: all 0.3s; display: inline-block; background: transparent;
}
.btn-outline:hover { border-color: #00B4D8; color: #00B4D8; }

/* Slider controls */
.slider-dots {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 12px; z-index: 10;
}
.slider-dot {
  width: 40px; height: 4px; background: rgba(255,255,255,0.3); cursor: pointer;
  transition: background 0.3s; border-radius: 2px; border: none;
}
.slider-dot.active { background: #00B4D8; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 20px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.slider-arrow:hover { background: #00B4D8; border-color: #00B4D8; }
.arrow-prev { left: 32px; }
.arrow-next { right: 32px; }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-tag {
  text-align: center; color: #00B4D8; font-size: 13px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px;
}
.section-title {
  text-align: center; font-size: 40px; font-weight: 800; color: #0A2540;
  margin-bottom: 20px; line-height: 1.2;
}
.section-desc {
  text-align: center; font-size: 17px; color: #64748B; max-width: 700px;
  margin: 0 auto 60px; line-height: 1.7;
}

/* ===== About / Stats ===== */
.about-section { background: #fff; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-top: 60px; text-align: center;
}
.stat-number { font-size: 48px; font-weight: 800; color: #00B4D8; margin-bottom: 8px; }
.stat-label {
  font-size: 13px; font-weight: 700; color: #64748B; letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== Products ===== */
.products-section { background: #F8FAFC; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.product-card {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(10,37,64,0.08);
  transition: all 0.4s;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(10,37,64,0.15);
}
.product-card-img {
  height: 220px; background-size: cover; background-position: center;
  position: relative; background-color: #0F3B5C;
}
.product-card-img::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent 50%, rgba(10,37,64,0.6) 100%);
}
.product-card-body { padding: 28px; }
.product-card-cat {
  font-size: 11px; font-weight: 700; color: #00B4D8; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 10px;
}
.product-card-name { font-size: 22px; font-weight: 800; color: #0A2540; margin-bottom: 12px; }
.product-card-desc { font-size: 14px; color: #64748B; line-height: 1.7; margin-bottom: 20px; }
.product-card-link {
  font-size: 13px; font-weight: 700; color: #00B4D8; letter-spacing: 1px;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.3s;
}
.product-card-link:hover { gap: 14px; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, #0A2540 0%, #0F3B5C 100%);
  padding: 80px 0; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px;
  border: 1px solid rgba(0,180,216,0.1); border-radius: 50%;
}
.cta-section::after {
  content: ''; position: absolute; top: -30%; right: 5%; width: 400px; height: 400px;
  border: 1px solid rgba(0,180,216,0.15); border-radius: 50%;
}
.cta-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
.cta-tag {
  color: #00B4D8; font-size: 13px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 16px;
}
.cta-title { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.cta-desc { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.cta-contacts { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; min-width: 44px; border-radius: 8px;
  background: rgba(0,180,216,0.15); display: flex; align-items: center;
  justify-content: center; color: #00B4D8; font-size: 18px;
}
.contact-label {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.5);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px;
}
.contact-value { font-size: 16px; color: #fff; font-weight: 600; }

/* ===== Page Header (inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, #0A2540 0%, #0F3B5C 100%);
  padding: 140px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px;
  border: 1px solid rgba(0,180,216,0.1); border-radius: 50%;
}
.page-header h1 { color: #fff; font-size: 44px; margin-bottom: 12px; position: relative; z-index: 2; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 600px; margin: 0 auto; position: relative; z-index: 2; }
.breadcrumb {
  position: relative; z-index: 2; margin-bottom: 16px; font-size: 13px;
  color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase;
}
.breadcrumb a { color: #00B4D8; }
.breadcrumb span { margin: 0 8px; }

/* ===== Content Area ===== */
.content-area { padding: 80px 0; }
.content-area .container { display: grid; grid-template-columns: 1fr 300px; gap: 60px; }
.entry-content { font-size: 16px; line-height: 1.8; color: #334155; }
.entry-content h2 { font-size: 28px; margin: 32px 0 16px; color: #0A2540; }
.entry-content h3 { font-size: 22px; margin: 24px 0 12px; color: #0A2540; }
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { margin-bottom: 16px; padding-left: 24px; }
.entry-content li { margin-bottom: 8px; list-style: disc; }
.entry-content img { border-radius: 8px; margin: 20px 0; }
.entry-content a { color: #00B4D8; text-decoration: underline; }
.entry-content blockquote {
  border-left: 4px solid #00B4D8; padding: 16px 24px; margin: 24px 0;
  background: #F8FAFC; border-radius: 0 8px 8px 0; font-style: italic; color: #64748B;
}
.entry-title { font-size: 36px; margin-bottom: 24px; color: #0A2540; }
.entry-meta {
  font-size: 14px; color: #64748B; margin-bottom: 32px; padding-bottom: 16px;
  border-bottom: 1px solid #E2E8F0;
}
.entry-meta a { color: #00B4D8; }
.entry-meta span { margin-right: 20px; }

/* ===== Sidebar ===== */
.widget-area { }
.widget {
  background: #F8FAFC; border-radius: 8px; padding: 24px; margin-bottom: 24px;
}
.widget-title {
  font-size: 16px; font-weight: 800; color: #0A2540; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 2px solid #00B4D8; display: inline-block;
}
.widget ul li { margin-bottom: 10px; }
.widget ul li a { color: #475569; font-size: 14px; transition: color 0.3s; }
.widget ul li a:hover { color: #00B4D8; }
.widget ul li ul { margin-top: 8px; padding-left: 16px; }
.widget_search form { display: flex; }
.widget_search input[type="search"] {
  flex: 1; padding: 10px 14px; border: 1px solid #E2E8F0; border-radius: 4px 0 0 4px;
  font-size: 14px; outline: none;
}
.widget_search input[type="search"]:focus { border-color: #00B4D8; }
.widget_search button {
  background: #00B4D8; color: #fff; border: none; padding: 10px 16px;
  border-radius: 0 4px 4px 0; cursor: pointer; font-size: 14px;
}

/* ===== Blog / Archive ===== */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.blog-card {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(10,37,64,0.08); transition: all 0.3s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(10,37,64,0.12); }
.blog-card-thumb { height: 200px; background-size: cover; background-position: center; background-color: #0F3B5C; }
.blog-card-body { padding: 24px; }
.blog-card-date { font-size: 12px; color: #00B4D8; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.blog-card-title { font-size: 20px; font-weight: 800; color: #0A2540; margin-bottom: 12px; line-height: 1.3; }
.blog-card-title a:hover { color: #00B4D8; }
.blog-card-excerpt { font-size: 14px; color: #64748B; line-height: 1.6; margin-bottom: 16px; }
.blog-card-more { font-size: 13px; font-weight: 700; color: #00B4D8; text-transform: uppercase; letter-spacing: 1px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
  padding: 10px 16px; border: 1px solid #E2E8F0; border-radius: 4px;
  font-size: 14px; color: #475569; transition: all 0.3s;
}
.pagination a:hover { border-color: #00B4D8; color: #00B4D8; }
.pagination .current { background: #00B4D8; color: #fff; border-color: #00B4D8; }

/* ===== Comments ===== */
.comments-area { margin-top: 48px; padding-top: 32px; border-top: 1px solid #E2E8F0; }
.comments-title { font-size: 24px; margin-bottom: 24px; }
.comment-list { margin-bottom: 32px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid #F1F5F9; }
.comment-author { font-weight: 700; color: #0A2540; }
.comment-metadata { font-size: 12px; color: #94A3B8; margin-bottom: 8px; }
.comment-content { font-size: 14px; color: #475569; }
.comment-reply-link { color: #00B4D8; font-size: 13px; }
.comment-form p { margin-bottom: 16px; }
.comment-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #334155; }
.comment-form input, .comment-form textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #E2E8F0; border-radius: 4px;
  font-size: 14px; outline: none; font-family: inherit;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: #00B4D8; }
.comment-form .submit { background: #00B4D8; color: #fff; border: none; padding: 12px 32px; border-radius: 4px; cursor: pointer; font-weight: 700; width: auto; }

/* ===== Footer ===== */
.site-footer { background: #061A2E; padding: 60px 0 30px; }
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer-brand .site-title-text .main { color: #fff; }
.footer-brand .site-title-text .sub { color: #00B4D8; }
.footer-desc { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.7; margin-top: 16px; }
.footer-col h4 {
  color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 12px; color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 14px; transition: color 0.3s; }
.footer-col ul li a:hover { color: #00B4D8; }
.footer-bottom {
  max-width: 1280px; margin: 0 auto; padding: 24px 32px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 13px; margin: 0; }

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 9999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s; animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.6); }
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }
@keyframes whatsappPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Cookie Notice ===== */
.cookie-notice {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  background: rgba(10,37,64,0.97); backdrop-filter: blur(10px);
  padding: 20px 32px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; border-top: 1px solid rgba(0,180,216,0.3);
  transform: translateY(100%); transition: transform 0.4s ease;
}
.cookie-notice.show { transform: translateY(0); }
.cookie-notice p { color: rgba(255,255,255,0.8); font-size: 14px; margin: 0; flex: 1; min-width: 280px; }
.cookie-notice a { color: #00B4D8; text-decoration: underline; }
.cookie-btns { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-accept {
  background: #00B4D8; color: #fff; border: none; padding: 10px 24px;
  border-radius: 4px; font-weight: 700; font-size: 13px; cursor: pointer;
  text-transform: uppercase; letter-spacing: 1px; transition: background 0.3s;
}
.cookie-accept:hover { background: #0096C7; }
.cookie-decline {
  background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.3);
  padding: 9px 20px; border-radius: 4px; font-weight: 600; font-size: 13px; cursor: pointer;
  transition: all 0.3s;
}
.cookie-decline:hover { color: #fff; border-color: rgba(255,255,255,0.6); }

/* ===== 404 ===== */
.error-404 { text-align: center; padding: 120px 0; }
.error-404 .error-code { font-size: 120px; font-weight: 800; color: #00B4D8; line-height: 1; margin-bottom: 16px; }
.error-404 h1 { font-size: 32px; margin-bottom: 16px; }
.error-404 p { color: #64748B; margin-bottom: 32px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-title { font-size: 42px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .content-area .container { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0; background: rgba(10,37,64,0.98);
    flex-direction: column; padding: 24px 32px; gap: 16px;
    transform: translateY(-150%); transition: transform 0.3s;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .main-nav ul li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .main-nav ul li a { display: block; padding: 14px 20px; font-size: 15px; }
  /* Mobile submenu */
  .main-nav ul li .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0,0,0,0.2);
    border-radius: 0;
    padding: 0;
    display: none;
  }
  .main-nav ul li.submenu-open > .sub-menu { display: block; }
  .main-nav ul li .sub-menu li a {
    padding: 12px 20px 12px 40px;
    color: rgba(255,255,255,0.8) !important;
    font-size: 14px;
  }
  .main-nav ul li .sub-menu li a:hover {
    background: rgba(0,180,216,0.15);
    padding-left: 40px;
  }
  .mobile-dropdown-toggle {
    float: right;
    padding: 0 10px;
    font-size: 12px;
    transition: transform 0.3s;
  }
  .main-nav ul li.submenu-open .mobile-dropdown-toggle {
    transform: rotate(180deg);
  }
  .main-nav ul li.menu-item-has-children > a::after { display: none; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 15px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .product-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .slider-arrow { display: none; }
  .page-header { padding: 120px 0 60px; }
  .page-header h1 { font-size: 32px; }
  .entry-title { font-size: 28px; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .cookie-notice { padding: 16px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== Category Cards (Homepage & Products Page) ===== */
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0;
}
.category-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10,37,64,0.08);
  transition: all 0.4s ease;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(10,37,64,0.15);
}
.category-card-image-wrap {
  display: block;
  height: 240px;
  overflow: hidden;
  background-color: #0F3B5C;
}
.category-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.category-card:hover .category-card-image {
  transform: scale(1.06);
}
.category-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0F3B5C 0%, #0A2540 100%);
}
.category-card-body {
  padding: 28px;
}
.category-card-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #00B4D8;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.category-card-title {
  font-size: 24px;
  font-weight: 800;
  color: #0A2540;
  margin: 0 0 12px 0;
  line-height: 1.2;
}
.category-card-title a:hover {
  color: #00B4D8;
}
.category-card-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 18px;
}
.category-card-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #00B4D8;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}
.category-card-link:hover {
  color: #0096C7;
  letter-spacing: 1.5px;
}

@media (max-width: 1024px) {
  .category-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .category-cards-grid { grid-template-columns: 1fr; }
  .category-card-image-wrap { height: 200px; }
  .category-card-body { padding: 20px; }
  .category-card-title { font-size: 20px; }
}

/* ===== Navigation Dropdown Menu ===== */
.main-nav ul li {
  position: relative;
}
.main-nav ul li .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 30px rgba(10,37,64,0.15);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}
.main-nav ul li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav ul li .sub-menu li {
  display: block;
  margin: 0;
  padding: 0;
}
.main-nav ul li .sub-menu li a {
  display: block;
  padding: 10px 20px;
  color: #0A2540 !important;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: all 0.2s;
}
.main-nav ul li .sub-menu li a:hover {
  background: #F0F9FC;
  color: #00B4D8 !important;
  padding-left: 26px;
}
/* Dropdown arrow */
.main-nav ul li.menu-item-has-children > a::after {
  content: '\25BE';
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  opacity: 0.7;
}

/* ===== Product Tabs ===== */
.product-tabs {
  margin: 32px 0;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
}
.product-tabs-nav {
  display: flex;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}
.product-tab-btn {
  padding: 16px 32px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
  font-family: inherit;
}
.product-tab-btn:hover {
  color: #0F3B5C;
  background: #fff;
}
.product-tab-btn.active {
  color: #0F3B5C;
  background: #fff;
  border-bottom-color: #00B4D8;
}
.product-tab-content {
  display: none;
  padding: 32px;
}
.product-tab-content.active {
  display: block;
}

/* Downloads Tab */
.product-downloads {
  min-height: 150px;
}
.download-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  background: #F8FAFC;
  border-radius: 8px;
  border-left: 4px solid #00B4D8;
}
.download-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.download-info h4 {
  font-size: 18px;
  font-weight: 800;
  color: #0A2540;
  margin-bottom: 8px;
}
.download-info p {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 16px;
}
.download-empty {
  text-align: center;
  padding: 40px 20px;
  color: #94A3B8;
}
.download-empty p {
  margin-top: 16px;
  font-size: 15px;
}

@media (max-width: 768px) {
  .product-tab-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  .product-tab-content {
    padding: 20px;
  }
  .download-item {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Product Single Page ===== */
.product-title {
  font-weight: 800 !important;
  font-size: 40px !important;
  color: #fff !important;
}
.product-featured-image {
  margin-bottom: 32px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10,37,64,0.1);
}
.product-featured-image img {
  width: 100%;
  height: auto;
}
.product-content {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}
.product-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: #0A2540;
  margin: 32px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #00B4D8;
  display: inline-block;
}
.product-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0A2540;
  margin: 24px 0 12px;
}
.product-content p { margin-bottom: 16px; }
.product-content ul, .product-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
.product-content li { margin-bottom: 8px; }
.product-content img {
  border-radius: 8px;
  margin: 20px 0;
}
.product-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.product-content th, .product-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #E2E8F0;
}
.product-content th {
  background: #F8FAFC;
  font-weight: 700;
  color: #0A2540;
}
.product-cta {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #E2E8F0;
}

/* ===== Product Archive ===== */
.product-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.product-archive-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10,37,64,0.08);
  transition: all 0.3s;
}
.product-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(10,37,64,0.12);
}
.product-archive-thumb-wrap {
  display: block;
  height: 220px;
  overflow: hidden;
  background-color: #0F3B5C;
}
.product-archive-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.product-archive-card:hover .product-archive-img {
  transform: scale(1.05);
}
.product-archive-body { padding: 24px; }
.product-archive-title {
  font-size: 20px;
  font-weight: 800;
  color: #0A2540;
  margin-bottom: 12px;
}
.product-archive-title a:hover { color: #00B4D8; }
.product-archive-excerpt {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 16px;
}
.product-archive-link {
  font-size: 13px;
  font-weight: 700;
  color: #00B4D8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 1024px) {
  .product-archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .product-archive-grid { grid-template-columns: 1fr; }
  .product-title { font-size: 28px !important; }
}

/* ===== Print ===== */
@media print {
  .site-header, .whatsapp-float, .cookie-notice, .slider-arrow, .slider-dots { display: none !important; }
  .hero-slider { height: auto; min-height: 0; padding: 40px 0; }
}
