body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f7f9fa;
  color: #222;
  margin: 0;
}
@media (max-width: 1100px) {
  body {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.header {
  background: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}

.header a {
  color: #333;
  text-decoration: none;
  margin-right: 20px;
  font-size: 14px;
}

.header a:hover {
  color: #0073aa;
}

.site-branding {
  text-align: center;
  padding: 32px 0 16px 0;
}

.site-logo {
  color: #2271b1;
  font-size: 32px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -1px;
}

.site-logo:hover {
  color: #135e96;
}

.main-search {
  margin: 24px 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-search input[type="search"] {
  width: 100%;
  max-width: 500px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  outline: none;
}

.main-search input[type="search"]:focus {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}

.main-search .search-button {
  background: #2271b1;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.main-search .search-button:hover {
  background: #135e96;
}

.category-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 24px 0 28px 0;
  background: none;
  border: none;
  box-shadow: none;
}

.category-menu a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #2271b1;
  background: #fff;
  border: none;
  border-radius: 22px;
  box-shadow: 0 2px 8px rgba(33,117,155,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  outline: none;
  cursor: pointer;
  position: relative;
  min-width: 0;
}

.category-menu a svg {
  width: 18px;
  height: 18px;
  margin: 0;
  color: #2271b1;
  transition: color 0.18s;
}

.category-menu a:hover, .category-menu a.active {
  background: #2271b1;
  color: #fff;
  box-shadow: 0 4px 16px rgba(33,117,155,0.13);
}

.category-menu a:hover svg, .category-menu a.active svg {
  color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 32px auto;
}
.product-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  padding: 20px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border 0.2s;
}
.product-card:hover {
  box-shadow: 0 4px 16px rgba(33,117,155,0.10);
  border: 1.5px solid #21759b;
}
.products-grid .product-title {
  font-size: 1.26rem;
  font-weight: 700;
  color: #21759b;
  margin-bottom: 6px;
  text-align: center;
  text-decoration: none;
  display: block;
}
.products-grid .product-meta {
  text-align: center;
  color: #1a1a1a;
  background: #eaf6ea;
  font-weight: 700;
  border-radius: 5px;
  padding: 3px 12px;
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.99rem;
}
.products-grid .product-desc {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 12px;
  text-align: center;
  line-height: 1.5;
  padding: 0 10px;
}
.products-grid .product-download {
  padding: 3px 5px;
  font-size: 0.80rem;
  margin-top: auto;
  display: inline-block;
  background: #21759b;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
  text-align: center;
}
.product-download:hover {
  background: #005177;
}
footer {
  background: #f5f6fa;
  color: #888;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  padding: 32px 0 16px 0;
  font-size: 0.98rem;
}
@media (max-width: 768px) {
  .site-logo {
    font-size: 28px;
  }
  .main-search { padding: 0 16px; }
  .main-search input[type="search"] { font-size: 15px; }
  .category-menu { gap: 6px; }
  .category-menu a { font-size: 13px; padding: 6px 12px; }
  .container { width: 100% !important; max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
}

/* Modern Header */
.main-header-modern { width: 100%; background: #fff; box-shadow: 0 2px 16px rgba(33,117,155,0.07); padding: 0; margin-bottom: 32px; }
.header-inner-modern { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; gap: 24px; }
.logo-modern a { font-size: 2rem; font-weight: 900; color: #21759b; text-decoration: none; letter-spacing: -1px; transition: color 0.2s; }
.logo-modern a:hover { color: #135e96; }
.main-nav-modern { display: flex; gap: 18px; flex: 1; justify-content: center; }
.main-nav-modern .nav-link { display: flex; align-items: center; gap: 7px; font-size: 1.08rem; font-weight: 700; color: #21759b; background: #f5f6fa; border-radius: 22px; padding: 8px 22px; text-decoration: none; box-shadow: 0 2px 8px rgba(33,117,155,0.04); transition: background 0.18s, color 0.18s, box-shadow 0.18s; outline: none; position: relative; }
.main-nav-modern .nav-link.active, .main-nav-modern .nav-link:hover { background: #21759b; color: #fff; box-shadow: 0 4px 16px rgba(33,117,155,0.13); }
.main-nav-modern .nav-icon { font-size: 1.2em; }
.main-search-modern { display: flex; align-items: center; gap: 0; background: #f5f6fa; border-radius: 8px; box-shadow: 0 2px 8px rgba(33,117,155,0.04); padding: 2px 2px 2px 12px; min-width: 320px; max-width: 400px; }
.main-search-modern input[type="search"] { border: none; background: transparent; font-size: 1.08rem; padding: 12px 8px 12px 0; outline: none; width: 100%; }
.main-search-modern .search-button-modern { background: #21759b; color: #fff; border: none; border-radius: 6px; font-size: 1.08rem; font-weight: 700; padding: 12px 24px; margin-left: 6px; cursor: pointer; transition: background 0.2s; }
.main-search-modern .search-button-modern:hover { background: #135e96; }
@media (max-width: 900px) { .header-inner-modern { flex-direction: column; align-items: stretch; gap: 18px; padding: 16px 8px; } .main-nav-modern { justify-content: flex-start; gap: 10px; } .main-search-modern { min-width: 0; max-width: 100%; width: 100%; } }
@media (max-width: 600px) { .logo-modern a { font-size: 1.3rem; } .main-nav-modern .nav-link { font-size: 0.98rem; padding: 7px 12px; } .main-search-modern { width: 100%; box-sizing: border-box; } .main-search-modern input[type="search"] { width: 100%; box-sizing: border-box; } .main-search-modern .search-button-modern { width: 100%; box-sizing: border-box; margin-left: 0; } }

/* Footer */
.site-footer-minimal { width: 100%; background: #232b3a; padding: 14px 0 10px 0; color: #e3e7ef; font-size: 0.97rem; }
.footer-minimal-inner { width: 100%; max-width: 100vw; margin: 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.footer-minimal-brand { font-size: 1.08rem; font-weight: 700; letter-spacing: 0.3px; color: #fff; margin-bottom: 0; }
.footer-minimal-links a { color: #fff !important; text-decoration: underline; }
.footer-minimal-links a:hover { color: #ffd700 !important; }
