/* Quattrocento Sans (SIL Open Font License), self-hosted from Google Fonts v22 */
@font-face {
  font-family: "Quattrocento Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/quattrocento-sans-v22-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Quattrocento Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/quattrocento-sans-v22-latin-400.woff2") format("woff2"),
       url("fonts/quattrocento-sans-v22-400.woff") format("woff");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Quattrocento Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/quattrocento-sans-v22-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Quattrocento Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/quattrocento-sans-v22-latin-700.woff2") format("woff2"),
       url("fonts/quattrocento-sans-v22-700.woff") format("woff");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #57738d;
  --brand-dark: #3f5a72;
  --text: #4a4a4a;
  --muted: #7a7a7a;
  --bg: #e8e7e3;
  --surface: #ffffff;
  --line: #dddddd;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Quattrocento Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

img { max-width: 100%; height: auto; }

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header { background: var(--surface); border-bottom: 4px solid var(--brand); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.site-header .logo img { display: block; width: 170px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-nav a { text-decoration: none; color: var(--text); font-weight: 700; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); }

.notice {
  background: #fff8e1;
  border-bottom: 1px solid #ecd98f;
  font-size: 14px;
}
.notice .wrap { padding-top: 8px; padding-bottom: 8px; }

/* Main */
main { flex: 1; }
main .wrap { padding-top: 24px; padding-bottom: 32px; }
.panel {
  background: var(--surface);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 20px;
}
h1, h2, h3 { color: var(--brand); line-height: 1.25; }
h1 { margin: 0 0 16px; font-size: 28px; }
h2 { font-size: 22px; margin: 28px 0 12px; }
h3 { font-size: 18px; margin: 0 0 8px; }
.panel > :first-child { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }

/* Home */
.hero {
  background: var(--brand);
  color: #fff;
  border-radius: 6px;
  padding: 40px 24px;
  margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: 34px; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 8px; }
.hero p { margin: 0; font-size: 18px; max-width: 640px; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.grid .panel { margin-bottom: 0; }
.card { display: flex; gap: 16px; align-items: flex-start; }
.card img { flex: 0 0 auto; max-width: 110px; }
.card blockquote { margin: 0; font-style: italic; }

.products {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.products img { display: block; margin-bottom: 8px; border: 1px solid var(--line); }
.products h3 { margin-bottom: 4px; }
.products p { margin: 0; font-size: 14px; }

.range {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px 20px;
}
.range ul { margin: 0; padding-left: 18px; font-size: 15px; }

.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badges img { display: block; height: 77px; width: auto; }

.button {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
}
.button:hover { background: var(--brand-dark); color: #fff; }

/* Contact */
.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.contacts p { margin: 0; }
.contacts strong { color: var(--text); }
.label { color: var(--muted); font-size: 14px; }

/* Legal text */
.legal p, .legal li { overflow-wrap: anywhere; }
.legal h2 { font-size: 18px; }

/* Footer */
.site-footer { background: #5e5e5e; color: #eee; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 26px; }
  .panel { padding: 16px; }
  .card { flex-direction: column; }
}

/* Navigation additions */
.site-nav .lang a { color: var(--muted); font-weight: 400; }
.catbar { background: var(--brand); }
.catbar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 4px; }
.catbar a { display: block; padding: 8px 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
.catbar a:hover, .catbar a[aria-current="page"] { background: var(--brand-dark); color: #fff; }
.site-header { border-bottom: 0; }
.breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.breadcrumbs a { color: var(--muted); }

/* CMS content */
.cms img { max-width: 100%; height: auto; }
.cms img.icon { float: left; margin: 4px 20px 12px 0; max-width: 110px; }
.cms hr { clear: both; border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.cms table { border-collapse: collapse; width: 100%; margin: 12px 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.cms td, .cms th { border: 1px solid var(--line); padding: 6px 10px; vertical-align: top; text-align: left; }
.cms td p { margin: 0; }
.cms video { width: 100%; height: auto; margin: 12px 0; background: #000; }
.cms .video-link a, .video-link a { font-weight: 700; }
.lead { font-size: 18px; }

/* Catalogue */
.chips { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 4px 12px; border: 1px solid var(--brand); border-radius: 999px; text-decoration: none; font-size: 15px; }
.chips a:hover { background: var(--brand); color: #fff; }
.products a { text-decoration: none; color: inherit; }
.products a:hover h3 { text-decoration: underline; }
.products img { width: 100%; max-width: 240px; aspect-ratio: 159 / 116; object-fit: contain; background: #fff; }
.products .noimg { display: block; width: 100%; max-width: 240px; aspect-ratio: 159 / 116; background: var(--bg); border: 1px solid var(--line); margin-bottom: 8px; }
.cat-image { max-width: 100%; height: auto; border-radius: 4px; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.product-media figure { margin: 0 0 16px; }
.product-media img { max-width: 100%; height: auto; border: 1px solid var(--line); background: #fff; }
.product-media figcaption { font-size: 14px; color: var(--muted); }
.specs { border-collapse: collapse; width: 100%; margin-bottom: 20px; }
.specs th, .specs td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 400; color: var(--muted); width: 45%; }
@media (max-width: 760px) {
  .product-grid { grid-template-columns: 1fr; }
}
.hero a { color: #fff; }
.cms p > img:only-child, .cms p > a:only-child > img { display: block; margin-left: auto; margin-right: auto; }
