:root {
  --paper: #fffaf1;
  --paper-strong: #ffffff;
  --ink: #3b342d;
  --muted: #766b61;
  --brand: #856c3f;
  --brand-dark: #5e4b2a;
  --line: rgba(59, 52, 45, 0.14);
  --shadow: 0 18px 45px rgba(52, 38, 22, 0.14);
}

@font-face {
  font-family: "Dosis";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dosis-400.ttf") format("truetype");
}

@font-face {
  font-family: "Dosis";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/dosis-700.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: "Dosis", sans-serif;
  line-height: 1.6;
  background: #ede0c9 url("media/sites/backgrounds/background_1.jpg") center top fixed;
  background-size: cover;
}

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

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

.site-header,
.container,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  padding: 18px 0 26px;
  text-align: center;
}

.topbar {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.language-nav {
  display: flex;
  gap: 8px;
}

.language-nav a,
.main-nav a {
  text-decoration: none;
}

.active {
  font-weight: 700;
}

.brand {
  display: inline-block;
  margin-bottom: 20px;
}

.brand img {
  max-height: 128px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.main-nav a {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.82);
}

.main-nav a.active,
.main-nav a:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.container {
  min-height: 58vh;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 241, 0.93);
  box-shadow: var(--shadow);
}

.lead {
  max-width: 850px;
  margin: 0 auto 28px;
  color: var(--ink);
  font-size: 1.2rem;
}

.home .lead {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.home-lead {
  max-width: 840px;
  text-align: center;
}

.vimeo_demo {
  max-width: 720px;
  margin: 0 auto 28px;
}

.vimeo_demo iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 26px;
}

.categories-grid {
  display: block;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  background: var(--paper-strong);
  box-shadow: 0 12px 28px rgba(52, 38, 22, 0.11);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.categories-grid:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(52, 38, 22, 0.18);
}

.categories-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.categories-grid h2 {
  margin: 0;
  padding: 18px;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.product-grid-image img {
  display: block;
  width: 100%;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-grid-info {
  padding: 10px 0;
}

.product-grid-info h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
}

dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 14px;
  max-width: 320px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(133, 108, 63, 0.08);
}

dt {
  font-weight: 700;
}

.sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
  color: var(--muted);
}

.sub-nav li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--muted);
}

.btn {
  display: inline-block;
  padding: 11px 18px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: var(--brand);
}

.btn:hover {
  background: var(--brand-dark);
}

.static-notice {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

center {
  display: block;
}

@media (max-width: 720px) {
  .topbar,
  .site-footer {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .container {
    padding: 20px;
    border-radius: 18px;
  }

  .main-nav a {
    flex: 1 1 42%;
  }

  .vimeo_demo iframe {
    min-height: 220px;
  }
}
