:root {
  --text: #373737;
  --muted: #777;
  --line: #e4e4e4;
  --paper: #fff;
  --soft: #f6f6f6;
  --blue: #252a81;
  --blue-light: #373c96;
  --orange: #f05a28;
  --font: "Ubuntu-Light", Arial, sans-serif;
}

@font-face {
  font-family: "Ubuntu-Light";
  src: url("../fonts/Ubuntu-Light.ttf") format("truetype");
  font-weight: 300;
}

@font-face {
  font-family: "Ubuntu-Bold";
  src: url("../fonts/Ubuntu-Bold.ttf") format("truetype");
  font-weight: 700;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: #fff;
  font-family: var(--font);
  font-size: 12px;
  line-height: 1.6;
}

div, ul, li, p, h1, h2, h3, h4, h5, h6, img, input { margin: 0; padding: 0; font-weight: normal; }
ul, li { list-style: none; }
a { color: #000; text-decoration: none; }
img { border: 0; }
button, input { font-family: var(--font); }

.wrap { width: 100%; margin: 0 auto; }
.header, main, .footer { width: 980px; margin: 0 auto; }
.header { clear: both; overflow: hidden; }

.head_top { height: 55px; margin-bottom: 20px; }
.logo { float: left; margin: 10px 0 0; }
.logo img { display: block; width: auto; height: auto; }

.lang {
  float: right;
  height: 35px;
  margin: 10px 20px 0 0;
  color: #333;
  font-size: 14px;
  line-height: 35px;
}

.lang a:hover { color: #031489; }

.top_login {
  float: right;
  height: 30px;
  margin: 12px 10px 0 0;
  font-size: 14px;
  font-weight: bold;
  line-height: 30px;
}

.top_login a:hover { text-decoration: underline; }

.searchbox {
  float: right;
  height: 45px;
  margin: 10px 0 0;
}

.search {
  height: 30px;
  padding: 2px 0;
  text-indent: 30px;
  border-radius: 4px;
  background: url("../images/site/search.png") 5% 50% no-repeat #e7e7e7;
}

.search_button {
  width: 80px;
  height: 30px;
  margin: 0 0 0 10px;
  border-radius: 4px;
  box-shadow: 0 0 3px #ccc;
  cursor: pointer;
}

.padding { padding: 0 16px; }
.round { border-radius: 6px 0 0 0; }

.navHome {
  width: 980px;
  height: 40px;
  margin: 10px auto;
  overflow: visible;
  border-radius: 6px;
  background: #fefefe;
  background: linear-gradient(to top, #dfdfdf, #fefefe);
  box-shadow: 0 0 10px #999;
  font-family: "Ubuntu-Bold", Arial, Helvetica, sans-serif;
}

.navHome ul li {
  position: relative;
  float: left;
  height: 40px;
  margin: 0;
  padding: 0;
  line-height: 40px;
  border-right: 1px solid #dcddde;
}

.navHome a.nav { color: #000; }

.navHome a.navOn,
.navHome a.nav:hover {
  display: block;
  height: 40px;
  padding: 0 10px;
  color: #fff;
  background: var(--blue);
  text-align: center;
  vertical-align: middle;
}

.navHome a.navOn,
.navHome a.nav,
.navHome a.nav:hover { font-size: 15px; }

.navHome ul li .subnav { display: none; }

.navHome ul li:hover .subnav {
  position: absolute;
  z-index: 100;
  top: 40px;
  left: 0;
  display: block;
  width: 176px;
  border-radius: 0 0 8px 8px;
  background: #f3f3f3;
}

.navHome ul li:hover .subnav li {
  width: 100%;
  height: 32px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

a.sub {
  display: block;
  padding: 9px 0;
  color: #000;
  font-size: 11px;
  line-height: 14px;
}

a.sub:hover {
  background: #ededed;
  box-shadow: 1px 1px 2px #ccc;
}

.catalogue-section,
.flyer-detail,
.download-section,
.related-section {
  width: 980px;
  margin: 0 auto;
  padding: 24px 0 36px;
  overflow: hidden;
}

.page-title {
  padding: 10px 0 16px;
  border-bottom: 1px solid #a4a4a4;
}

.page-title p,
.category-label {
  margin: 0 0 4px;
  color: #777;
  font-size: 12px;
  font-family: "Ubuntu-Bold", Arial, sans-serif;
}

.page-title h1,
.flyer-copy h1 {
  margin: 0;
  color: var(--blue-light);
  font-family: "Ubuntu-Bold", Arial, Helvetica, sans-serif;
  font-size: 22px;
  line-height: 1.25;
}

.content-tabs {
  display: flex;
  margin: 18px 0 6px;
  border-bottom: 1px solid #a4a4a4;
}

.content-tabs a {
  min-width: 130px;
  padding: 9px 18px;
  border: 1px solid #d3d3d3;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(to top, #dfdfdf, #fefefe);
  color: #373737;
  font-family: "Ubuntu-Bold", Arial, sans-serif;
  font-size: 13px;
  text-align: center;
}

.content-tabs a + a { margin-left: 5px; }

.content-tabs a:hover,
.content-tabs a.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.section-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 8px;
}

.section-intro p {
  max-width: 690px;
  color: #5e5b5b;
  font-size: 13px;
  font-weight: bold;
}

.download-all,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  color: #fff;
  border: 1px solid var(--blue-light);
  border-radius: 4px;
  background: var(--blue-light);
  cursor: pointer;
  font-family: "Ubuntu-Bold", Arial, sans-serif;
}

.download-all:hover,
.download-button:hover { background: var(--blue); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 24px;
}

.filter-button {
  padding: 7px 10px;
  color: var(--blue-light);
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  background: #f7f7f7;
  cursor: pointer;
  font-family: "Ubuntu-Bold", Arial, sans-serif;
  font-size: 12px;
}

.filter-button:hover,
.filter-button.active {
  color: #fff;
  border-color: var(--blue-light);
  background: var(--blue-light);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  min-width: 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #f3f3f3;
  transition: box-shadow .2s, transform .2s;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.product-card[hidden] { display: none; }

.product-card img {
  display: block;
  width: calc(100% - 20px);
  margin: 10px 10px 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  border: 2px solid #ccc;
  background: #ddd;
}

.catalogue-grid .product-card img {
  object-fit: contain;
  background: #fff;
}

.product-card-copy {
  min-height: 150px;
  padding: 12px 14px 14px;
}

.product-card-copy span,
.related-card span,
.breadcrumb {
  color: var(--muted);
  font-size: 12px;
}

.product-card-copy h2 {
  margin: 7px 0 5px;
  color: var(--blue-light);
  font-family: "Ubuntu-Bold", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.3;
}

.product-card-copy p {
  margin: 0 0 12px;
  color: #5e5b5b;
  font-size: 12px;
  font-weight: bold;
}

.product-card-copy b {
  color: var(--blue-light);
  font-family: "Ubuntu-Bold", Arial, sans-serif;
  font-size: 12px;
}

.no-results {
  padding: 28px;
  text-align: center;
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.breadcrumb a { color: var(--blue-light); font-weight: bold; }
.breadcrumb strong { color: var(--blue); }

.flyer-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.catalogue-detail-layout {
  grid-template-columns: 470px minmax(0, 1fr);
}

.flyer-preview {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #f3f3f3;
}

.flyer-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid #ccc;
}

.flyer-copy .model {
  margin: 8px 0 14px;
  color: #5e5b5b;
  font-weight: bold;
}

.flyer-copy > p:not(.category-label):not(.model) {
  margin: 0 0 18px;
  color: #5e5b5b;
  font-size: 13px;
  font-weight: bold;
}

.overview-box {
  padding: 18px;
  border-top: 1px solid #a4a4a4;
  border-bottom: 1px solid #a4a4a4;
  background: #fff;
}

.overview-box h2,
.download-copy h2,
.related-title h2 {
  margin: 0 0 10px;
  color: var(--blue-light);
  font-family: "Ubuntu-Bold", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
}

.overview-box p {
  margin: 0 0 12px;
  color: #5e5b5b;
  font-weight: bold;
}

.overview-box ul {
  margin: 0;
  padding-left: 17px;
}

.overview-box li {
  margin-top: 6px;
  color: #5e5b5b;
  font-weight: bold;
  list-style: disc;
}

.download-section {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  border-top: 1px solid #a4a4a4;
}

.download-copy p {
  color: #5e5b5b;
  font-weight: bold;
}

.download-form {
  padding: 20px;
  border: 1px solid #d3d3d3;
  border-radius: 5px;
  background: #f7f7f7;
}

.download-form label:not(.consent) {
  display: block;
  margin-bottom: 14px;
  color: #444;
  font-family: "Ubuntu-Bold", Arial, sans-serif;
}

.download-form label > span { color: #b80000; }
.download-form label small { float: right; color: #888; font-family: var(--font); }

.download-form input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  height: 34px;
  margin-top: 5px;
  padding: 0 8px;
  border: 1px solid #c0c2c4;
  color: #562a00;
  background: #fff;
}

.download-form input:not([type="checkbox"]):focus {
  outline: 0;
  background: #fff6f6;
  box-shadow: inset 0 0 10px #fcdada, 0 0 10px #fcdada;
}

.saved-download h2 {
  margin-bottom: 6px;
  color: var(--blue-light);
  font-family: "Ubuntu-Bold", Arial, sans-serif;
  font-size: 16px;
}

.saved-download p {
  margin-bottom: 16px;
  color: #5e5b5b;
}

.saved-download form { display: inline-block; }

.change-details {
  margin-left: 10px;
  padding: 7px 2px;
  color: var(--blue-light);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: "Ubuntu-Bold", Arial, sans-serif;
  font-size: 12px;
}

.change-details:hover { text-decoration: underline; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.consent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 16px;
  color: #666;
}

.consent input { accent-color: var(--blue-light); }
.form-error {
  margin-bottom: 14px;
  padding: 10px 12px;
  color: #8b1d12;
  border: 1px solid #ffd1c4;
  background: #fff0ec;
}

.related-section {
  border-top: 1px solid #a4a4a4;
}

.related-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}

.related-title a { color: var(--blue-light); font-weight: bold; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #f3f3f3;
}

.related-card strong {
  display: block;
  margin-top: 6px;
  color: var(--blue-light);
  font-family: "Ubuntu-Bold", Arial, sans-serif;
}

.footer {
  padding: 10px 0;
  border-top: 2px solid #a4a4a4;
  border-bottom: 5px solid #232780;
  line-height: normal;
}

.copyright { margin: 10px 0; }
.copyright h3 {
  color: #232780;
  font-family: var(--font);
  font-weight: bold;
  text-align: center;
}
.copyright p { text-align: center; }
.copyright a { color: #000; }

.not-found {
  width: 980px;
  margin: 0 auto;
  padding: 70px 0;
  text-align: center;
}

.not-found h1 {
  color: var(--blue-light);
  font-family: "Ubuntu-Bold", Arial, sans-serif;
}

.not-found .primary-button {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 14px;
  color: #fff;
  border-radius: 4px;
  background: var(--blue-light);
}

@media (max-width: 1020px) {
  .header, main, .footer,
  .navHome,
  .catalogue-section,
  .flyer-detail,
  .download-section,
  .related-section,
  .not-found {
    width: calc(100% - 28px);
  }

  .navHome {
    height: auto;
    min-height: 40px;
  }

  .navHome ul li { float: none; display: inline-block; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flyer-layout,
  .download-section { grid-template-columns: 1fr; }
  .flyer-preview { max-width: 430px; }
}

@media (max-width: 720px) {
  .head_top { height: auto; overflow: hidden; }
  .logo,
  .searchbox,
  .lang,
  .top_login {
    float: none;
    margin-left: 0;
  }

  .searchbox { margin-top: 12px; }
  .search { width: calc(100% - 96px); }
  .navHome ul li { display: block; border-right: 0; border-bottom: 1px solid #dcddde; }
  .navHome ul li:hover .subnav {
    position: static;
    width: 100%;
    box-shadow: none;
  }

  .section-intro,
  .related-title { display: block; }
  .download-all { margin-top: 14px; }
  .product-grid,
  .related-grid,
  .form-row { grid-template-columns: 1fr; }
}
