@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-Regular.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/GothamPro-Bold.woff') format('woff');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --sgk-green: #5f7e25;
  --sgk-green-dark: #49631c;
  --sgk-text: #222;
  --sgk-muted: #616161;
  --sgk-border: #d7d7d7;
  --sgk-bg: #f7f8f4;
}

.sgk-consent-group {
  margin: 14px 0 8px;
  text-align: left;
}

.sgk-form-conflict-hidden {
  display: none !important;
}

.sgk-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #333;
  font-family: 'Montserrat', 'GothamPro', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.sgk-consent-label input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--sgk-green);
}

.sgk-consent-label a,
.sgk-policy-note a {
  color: var(--sgk-green-dark);
  text-decoration: underline;
}

.sgk-policy-note {
  margin: 7px 0 14px;
  color: #555;
  font-family: 'Montserrat', 'GothamPro', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.sgk-cookie-banner {
  position: fixed;
  z-index: 2147483000;
  left: 50%;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(920px, calc(100vw - 28px));
  box-sizing: border-box;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #20231d;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  color: #fff;
  font-family: 'Montserrat', 'GothamPro', Arial, sans-serif;
  transform: translateX(-50%);
}

.sgk-cookie-banner[hidden] {
  display: none !important;
}

.sgk-cookie-banner__title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.sgk-cookie-banner__text {
  flex: 1 1 auto;
  margin: 0;
  color: #edf0e8;
  font-size: 12px;
  line-height: 1.45;
}

.sgk-cookie-banner__text a {
  color: #dff3b9;
  text-decoration: underline;
}

.sgk-cookie-banner__actions {
  flex: 0 0 auto;
}

.sgk-cookie-button {
  box-sizing: border-box;
  min-height: 36px;
  padding: 9px 17px;
  border: 1px solid #a6bd7b;
  border-radius: 7px;
  font: 700 12px/1 'Montserrat', 'GothamPro', Arial, sans-serif;
  cursor: pointer;
}

.sgk-cookie-button--accept {
  background: var(--sgk-green);
  color: #fff;
}

.sgk-cookie-button--reject {
  background: transparent;
  color: #fff;
}

.sgk-cookie-settings {
  position: fixed;
  z-index: 2147482999;
  left: 12px;
  bottom: 12px;
  padding: 8px 11px;
  border: 1px solid #b9c4aa;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.14);
  color: #34411f;
  font: 12px/1.2 'Montserrat', 'GothamPro', Arial, sans-serif;
  cursor: pointer;
}

.sgk-cookie-settings[hidden] {
  display: none !important;
}

.sgk-site-header {
  position: relative;
  z-index: 1000;
  min-height: 78px;
  border-bottom: 1px solid #c7c7c7;
  background: #fff;
  font-family: 'Montserrat', 'GothamPro', Arial, sans-serif;
}

.sgk-site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(1200px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
}

.sgk-site-header__logo {
  flex: 0 0 130px;
  padding-right: 18px;
  border-right: 1px solid #c7c7c7;
}

.sgk-site-header__logo img {
  display: block;
  width: 130px;
  height: auto;
}

.sgk-site-header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  flex: 1 1 auto;
}

.sgk-site-header__nav a,
.sgk-site-header__contacts a {
  color: #2b2b2b;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.35px;
  text-decoration: none;
  white-space: nowrap;
}

.sgk-site-header__nav a:hover,
.sgk-site-header__contacts a:hover {
  color: var(--sgk-green);
}

.sgk-site-header__contacts {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 1px;
  padding-left: 18px;
  border-left: 1px solid #c7c7c7;
}

.sgk-site-header__contacts a:first-child {
  font-size: 17px;
  font-weight: 700;
}

.sgk-site-header__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 130px;
  min-height: 40px;
  background: #2b2b2b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.sgk-site-header__action:hover {
  background: var(--sgk-green);
}

.sgk-site-header__mobile {
  display: none;
  margin-left: auto;
}

.sgk-site-header__mobile summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sgk-green);
  cursor: pointer;
  list-style: none;
}

.sgk-site-header__mobile summary::-webkit-details-marker {
  display: none;
}

.sgk-site-header__mobile summary span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
}

.sgk-site-header__mobile nav {
  position: absolute;
  top: 78px;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(290px, 86vw);
  padding: 18px 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.sgk-site-header__mobile nav a {
  padding: 10px 0;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.sgk-legal-page {
  margin: 0;
  background: var(--sgk-bg);
  color: var(--sgk-text);
  font-family: 'Montserrat', 'GothamPro', Arial, sans-serif;
  line-height: 1.58;
}

.sgk-legal-header {
  background: #fff;
  border-bottom: 1px solid var(--sgk-border);
}

.sgk-legal-header__inner,
.sgk-legal-main,
.sgk-legal-footer__inner {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.sgk-legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}

.sgk-legal-brand {
  color: var(--sgk-green-dark);
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.sgk-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.sgk-legal-nav a {
  color: #30382a;
  font-size: 14px;
}

.sgk-legal-main {
  box-sizing: border-box;
  margin-top: 28px;
  margin-bottom: 28px;
  padding: clamp(22px, 5vw, 52px);
  border: 1px solid var(--sgk-border);
  border-radius: 12px;
  background: #fff;
}

.sgk-legal-main h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.15;
}

.sgk-legal-main h2 {
  margin: 34px 0 12px;
  color: #35451c;
  font-size: 23px;
  line-height: 1.25;
}

.sgk-legal-main h3 {
  margin: 23px 0 9px;
  font-size: 18px;
}

.sgk-legal-main p,
.sgk-legal-main li {
  font-size: 16px;
}

.sgk-legal-main li + li {
  margin-top: 7px;
}

.sgk-legal-meta {
  margin: 0 0 28px;
  color: var(--sgk-muted);
  font-size: 14px;
}

.sgk-legal-card {
  margin: 18px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--sgk-green);
  background: #f3f7eb;
}

.sgk-legal-table-wrap {
  overflow-x: auto;
}

.sgk-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.sgk-legal-table th,
.sgk-legal-table td {
  padding: 10px;
  border: 1px solid var(--sgk-border);
  text-align: left;
  vertical-align: top;
}

.sgk-legal-table th {
  background: #f1f4ec;
}

.sgk-legal-footer {
  padding: 24px 0 78px;
  color: #565c50;
  font-size: 13px;
}

.sgk-legal-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.sgk-legal-footer__links {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 6px;
}

.sgk-legal-footer__links a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .sgk-legal-header__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .sgk-cookie-banner {
    left: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    transform: none;
  }

  .sgk-cookie-button {
    width: 100%;
  }

  .sgk-legal-footer__inner {
    flex-direction: column;
  }

  .sgk-legal-footer__links {
    align-items: flex-start;
  }
}

@media (max-width: 1120px) {
  .sgk-site-header__nav,
  .sgk-site-header__contacts,
  .sgk-site-header__action {
    display: none;
  }

  .sgk-site-header__mobile {
    display: block;
  }
}
