/* Fonts are intentionally not distributed with this theme. The site owner may add licensed files to assets/fonts/. */
@font-face { font-family: "TT Chocolates"; src: url("../fonts/TT Chocolates Trial Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "TT Chocolates"; src: url("../fonts/TT Chocolates Trial DemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "TT Chocolates"; src: url("../fonts/TT Chocolates Trial Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
:root {
  --yellow: #ffcc00;
  --brown: #361a0a;
  --brown-deep: #170804;
  --cream: #f5f0e8;
  --white: #fff;
  --header-height: 112px;
  --radius: 28px;
  --page: 1440px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}
body {
  margin: 0;
  color: var(--brown);
  background: #fff;
  font-family: "TT Chocolates", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.35;
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.section {
  position: relative;
}
.section-anchor {
  position: absolute;
  top: 0;
}
.section-inner {
  width: min(calc(100% - 96px), var(--page));
  margin-inline: auto;
}


.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  color: var(--yellow);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
          background 0.35s,
          box-shadow 0.35s,
          backdrop-filter 0.35s;
}

/* Внутренние страницы: шоколадный фон вверху */
body:not(.home) .site-header:not(.is-scrolled) {
  background:
          linear-gradient(
                  rgba(8, 2, 0, 0.2),
                  rgba(8, 2, 0, 0.2)
          ),
          url("../images/hero-chocolate.webp")
          center 42% / cover no-repeat;
}

/* Все страницы: размытие после прокрутки */
.site-header.is-scrolled {
  background: rgba(15, 4, 1, 0.72);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-shell {
  position: relative;
  width: min(calc(100% - 56px), 1600px);
  min-height: var(--header-height);
  margin: auto;
  display: flex;
  align-items: center;
}
.main-nav {
  width: 100%;
}
.nav-list {
  display: grid;
  grid-template-columns: 1.45fr 1fr 0.7fr 1.35fr 0.8fr 0.8fr 0.85fr 0.55fr;
  align-items: center;
  gap: clamp(10px, 1.45vw, 28px);
  padding: 0;
  margin: 0;
  list-style: none;
}
.nav-item {
  text-align: center;
  white-space: nowrap;
}
.nav-link,
.language-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  padding: 8px 10px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--yellow);
  font-weight: 600;
  font-size: clamp(12px, 0.86vw, 16px);
  text-transform: uppercase;
  cursor: pointer;
  transition:
          background 0.2s,
          color 0.2s,
          border-color 0.2s,
          transform 0.2s;
}
.nav-link:hover,
.nav-link:focus-visible,
.language-button:hover,
.language-button:focus-visible {
  border-color: var(--yellow);
  outline: none;
  transform: translateY(-1px);
}
.nav-link--primary {
  padding: 10px 18px;
  background: var(--yellow);
  color: var(--brown);
  border-color: var(--yellow);
}
.nav-link--primary:hover,
.nav-link--primary:focus-visible {
  background: #ffe066;
  color: var(--brown);
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand img {
  display: block;
  width: 126px;
  height: auto;
}

.brand--mobile,
.menu-toggle {
  display: none;
}
.mega-menu {
  position: fixed;
  z-index: -1;
  top: var(--header-height);
  left: 16px;
  right: 16px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-18px);
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(17, 5, 2, 0.92) url("../images/hero-chocolate.webp")
  center 42% / cover no-repeat;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  text-align: left;
  overflow: hidden;
  transition:
          opacity 0.25s,
          transform 0.25s,
          visibility 0.25s;
}
.mega-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 2, 0, 0.38);
}
.mega-menu__inner {
  position: relative;
  width: min(calc(100% - 96px), var(--page));
  margin: auto;
  padding: 38px 0 46px;
}
.mega-menu__title {
  margin: 0 0 24px;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 700;
}
.mega-menu__grid {
  column-count: 4;
  column-gap: 42px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.mega-menu__grid li {
  break-inside: avoid;
  margin-bottom: 10px;
}
.mega-menu__grid li:last-child {
  margin-bottom: 0;
}
.mega-menu__grid a {
  display: inline-block;
  padding: 4px 0;
  font-size: 20px;
  color: var(--yellow);
  transition:
          color 0.2s,
          transform 0.2s;
}
.mega-menu__grid a:hover,
.mega-menu__grid a:focus-visible {
  color: #fff;
  transform: translateX(4px);
  outline: none;
}
.has-submenu:hover .mega-menu,
.has-submenu:focus-within .mega-menu,
.has-submenu.is-open .mega-menu {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  transform: none;
}
.language-menu {
  position: absolute;
  top: 82px;
  right: 0;
  display: grid;
  min-width: 92px;
  padding: 8px;
  border: 1px solid rgba(255, 204, 0, 0.45);
  border-radius: 13px;
  background: rgba(16, 4, 1, 0.95);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: 0.2s;
}
.nav-item--language {
  position: relative;
}
.nav-item--language.is-open .language-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.language-menu button {
  padding: 7px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--yellow);
  cursor: pointer;
}
.language-menu button:hover,
.language-menu .is-active {
  background: var(--yellow);
  color: var(--brown);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  background: #080100 url("../images/hero-chocolate.webp") center/cover
  no-repeat;
  color: var(--yellow);
}
.hero__video,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__video {
  z-index: -3;
  object-fit: cover;
}
.hero__shade {
  z-index: -2;
  background: linear-gradient(
          180deg,
          rgba(0, 0, 0, 0.08),
          rgba(0, 0, 0, 0.12) 60%,
          rgba(0, 0, 0, 0.32)
  );
}
.hero__content {
  text-align: center;
  margin-top: 5vh;
  padding: 0 24px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(58px, 6.4vw, 116px);
  font-weight: 400;
  line-height: 0.77;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.hero h1 span {
  white-space: nowrap;
}
.hero__content p {
  margin: 36px 0 0;
  font-size: clamp(13px, 1vw, 18px);
  line-height: 1.05;
  text-transform: uppercase;
}
.scroll-down {
  position: absolute;
  bottom: 38px;
  left: 50%;
  margin-left: -21px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 3px solid var(--yellow);
  border-radius: 50%;
  font-size: 25px;
  transition:
          background 0.2s,
          color 0.2s,
          transform 0.2s;
}
.scroll-down:hover {
  background: var(--yellow);
  color: var(--brown);
  transform: translateY(4px);
}

.about {
  min-height: 680px;
  overflow: hidden;
  background: #fff;
}
.about h2,
.news h2 {
  font-weight: 600;
}
.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(480px, 0.8fr);
  min-height: 680px;
}
.about__copy {
  padding: 105px 70px 90px 0;
  max-width: 820px;
}
.eyebrow {
  margin: 0 0 20px;
  color: #b7b1ad;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.about h2,
.section-heading h2 {
  margin: 0 0 30px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.13;
  letter-spacing: -0.035em;
}
.about-copy-slide > p,
.about-static__copy > p {
  max-width: 720px;
  margin: 0 0 9px;
  font-size: 17px;
  line-height: 1.2;
}
/* Статичный первый баннер главной (без переключателя слайдов). */
.about-static__copy {
  position: relative;
}
.about-static__copy .about-ornament {
  pointer-events: none;
}
.about-static__more {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--brown);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background 0.2s ease;
}
.about-static__more:hover {
  background: #ffe066;
}
.about-static__more:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  margin-top: 28px;
  color: var(--brown);
  font-weight: 700;
  border-bottom: 2px solid var(--yellow);
}
.about__visual {
  position: relative;
  display: flex;
  align-items: center;
}
.about__visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -130px;
  width: 270px;
  background: #fff;
  border-radius: 0 0 90% 0;
  transform: skewX(-4deg);
}
.about__character {
  position: absolute;
  z-index: 1;
  right: -5px;
  bottom: 0;

  height: 100%;
  width: auto;
  max-width: none;

  object-fit: contain;
  object-position: right bottom;
}
.about-copy-slider,
.about-stats-slider {
  display: grid;
}

.about-copy-slide,
.about-stats-slide {
  grid-area: 1 / 1;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  transition: opacity 0.2s ease;
}

.about-copy-slide.is-active,
.about-stats-slide.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.about-controls {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 28px;

  display: flex;
  align-items: center;
  gap: 12px;

  transform: translateX(-50%);
}

.about-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.about-dot {
  width: 12px;
  height: 12px;
  padding: 0;

  border: 0;
  border-radius: 50%;

  background: #dedede;
  cursor: pointer;
}

.about-dot.is-active {
  background: #bcbcbc;
}
.about-copy-slide {
  position: relative;
}
/* Long, client-provided fourth slide inside the original About slider. */
.about--company .about-copy-slide--sponsorship h2 {
  font-size: clamp(34px, 3.2vw, 58px);
  margin-bottom: 18px;
}
.about--company .about-copy-slide--sponsorship > p {

  line-height: 1.28;
  margin-bottom: 9px;
}
@media (max-width: 820px) {
  .about--company .about-copy-slide--sponsorship > p {

    line-height: 1.35;
  }
}

.about-ornament {
  position: absolute;
  left: -40px;
  width: 92px;
  height: auto;
  z-index: 1;
}

.about-control {
  width: 38px;
  height: 38px;
  padding: 0 0 3px;

  display: grid;
  place-items: center;

  border: 1px solid #ddd;
  border-radius: 50%;

  background: #fff;
  color: var(--brown);

  font: inherit;
  font-size: 26px;
  line-height: 1;

  cursor: pointer;
}

.about-control:hover {
  border-color: var(--yellow);
}
.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 70%;
  margin-left: -90px;
  gap: 34px 38px;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat strong {
  font-size: 48px;
  line-height: 0.85;
  color: var(--yellow);
  white-space: nowrap;
}
.stat span {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
}
.stat--main {
  grid-column: 1/-1;
}
.stat--main strong {
  font-size: 76px;
  color: var(--brown);
  white-space: nowrap;
}
.stat small {
  display: block;
  margin-bottom: 6px;
  color: var(--yellow);
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
}
.stats--halal {
  grid-template-columns: 1fr;
  gap: 24px;
}

.halal-logo {
  width: 145px;
  height: auto;
  margin-top: 12px;
}

.news {
  height: 620px;
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.news h3 a {
  font-weight: 500;
}
.news__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 44px 0 28px;
}
.news .section-heading {
  margin-bottom: 24px;
}
.news-grid {
  display: flex;
  gap: 24px;
  width: min(calc(100% - 250px), 950px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.news-grid::-webkit-scrollbar {
  display: none;
}
.news-card {
  position: relative;
  flex: 0 0 300px;
  scroll-snap-align: start;
}
.news-card__image {
  display: block;
  height: 215px;
  overflow: hidden;
  border-radius: 18px;
  background: #ddd;
}
.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.news-card:hover img {
  transform: scale(1.045);
}
.news-card time {
  display: block;
  margin: 10px 0 7px;
  color: #e49e00;
  font-size: 13px;
}
.news-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.05;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.news__character {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;

  height: 100%;
  width: auto;
  max-width: none;

  object-fit: contain;
  object-position: right bottom;
}
.news-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}
.news-actions .outline-button {
  margin-top: 0;
}
.news-controls {
  display: flex;
  gap: 8px;
}
.news-control {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0 0 5px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--brown);
  box-shadow: 0 2px 10px rgba(54, 26, 10, 0.12);
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s;
}
.news-control:hover:not(:disabled) {
  background: var(--brown);
  color: #fff;
}
.news-control:disabled {
  opacity: 0.35;
  cursor: default;
}
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 44px;
  padding: 13px 24px;
  border: 2px solid var(--brown);
  border-radius: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.2s;
}
.outline-button:hover {
  background: var(--brown);
  color: #fff;
}

.site-footer {
  position: relative;
  background: #f3f1ef;
  color: var(--brown);
  overflow: hidden;
}

.footer-divider {
  height: 28px;
  background: #2f1207;
}

.footer__inner {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 220px 210px 240px;
  gap: 48px;

  align-items: start;

  padding: 36px 430px 42px 48px;
  min-height: 270px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer__logo img {
  display: block;
  width: 170px;
  height: auto;
}


.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  gap: 14px;
}

.footer__social a,
.footer__social span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer__social img {
  width: 32px;
  height: 32px;
  display: block;
}


.footer__column {
  display: flex;
  flex-direction: column;
}

.footer__column--right {
  align-self: stretch;
}

.footer__column--right .footer__copy {
  margin-top: auto;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer__nav a {
  color: var(--brown);
  font-size: 17px;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 2px;

  margin-top: 36px;

  font-style: normal;
}

.footer__contacts a {
  color: #c2bebb;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
}

.footer__copy {
  margin: 36px 0 0;
  color: #c2bebb;
  font-size: 16px;
  line-height: 1.25;
}

.footer__character {
  position: absolute;
  z-index: 0;

  top: 28px;
  right: -5px;
  bottom: auto;

  width: min(30vw, 566px);
  height: auto;
  max-width: none;

  pointer-events: none;
  user-select: none;
}

.back-to-top {
  position: fixed;
  z-index: 800;
  display: grid;
  place-items: center;
  line-height: 1;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  background: rgba(20, 6, 2, 0.82);
  color: var(--yellow);
  font-size: 23px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.2s;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
          opacity 0.7s,
          transform 0.7s;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  :root {
    --header-height: 88px;
  }
  .header-shell {
    width: calc(100% - 36px);
    min-height: var(--header-height);
  }
  .nav-list {
    gap: 7px;
  }
  .nav-link,
  .language-button {
    padding: 7px 6px;
    font-size: 11px;
  }
  .nav-link--primary {
    padding-inline: 11px;
  }
  .section-inner {
    width: min(calc(100% - 54px), var(--page));
  }
  .about__layout {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .about__copy {
    padding-right: 35px;
  }
  .stats {
    margin-left: -55px;
    width: 76%;
  }
  .news-grid {
    width: min(calc(100% - 150px), 900px);
    gap: 22px;
  }
  .news-card {
    flex-basis: 315px;
  }
  .news-card__image {
    height: 200px;
  }
  .footer__inner {
    grid-template-columns: 180px 1fr 1fr;
    gap: 28px;

    padding: 32px 250px 36px 32px;
  }

}

@media (max-width: 820px) {
  :root {
    --header-height: 78px;
    --radius: 20px;
  }
  body {
    font-size: 16px;
  }
  .section-inner {
    width: min(calc(100% - 36px), var(--page));
  }
  .page-product .product-packaging__item:last-child {
    border-bottom: 0;
  }
  .page-product .product-sidebar {
    border-top: 0;
  }
  .site-header.is-open {
    height: 100svh;
  }
  .header-shell {
    width: 100%;
    height: 100%;
    align-items: flex-start;
    justify-content: space-between;
    padding: 14px 18px 0;
    box-sizing: border-box;
  }
  .brand--mobile,
  .menu-toggle {
    position: relative;
    z-index: 1002;
    display: flex;
  }

  .brand--mobile img {
    width: 76px;
  }
  .menu-toggle {
    width: 49px;
    height: 49px;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--yellow);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    color: var(--yellow);
    cursor: pointer;
  }
  .menu-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .menu-toggle__icon {
    width: 22px;
    display: grid;
    gap: 5px;
  }
  .menu-toggle__icon i {
    display: block;
    height: 2px;
    background: currentColor;
    transition:
            transform 0.25s,
            opacity 0.25s;
  }
  .menu-toggle[aria-expanded="true"] i:first-child {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] i:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] i:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }
  .main-nav {
    position: absolute;
    z-index: 1001;
    inset: var(--header-height) 0 0;
    overflow: auto;
    border-radius: 0;
    background:
            linear-gradient(rgba(7, 1, 0, 0.58), rgba(7, 1, 0, 0.58)),
            url("../images/hero-chocolate.webp") center / cover no-repeat;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-16px);
    transition: 0.25s;
  }
  .site-header.is-open .main-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .nav-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 24px 18px 40px;
    gap: 4px;
  }
  .nav-item {
    text-align: left;
  }
  .nav-item--brand {
    display: none;
  }
  .nav-link,
  .language-button {
    width: 100%;
    justify-content: space-between;
    padding: 13px 14px;
    border-radius: 11px;
    font-size: 18px;
  }
  .nav-link--primary {
    padding: 14px;
    background: var(--yellow);
    color: var(--brown);
  }
  .mega-menu {
    position: static;
    display: grid;
    grid-template-rows: 0fr;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    transition: grid-template-rows 0.3s;
    overflow: hidden;
  }
  .mega-menu::before {
    display: none;
  }
  .has-submenu.is-open .mega-menu {
    grid-template-rows: 1fr;
  }
  .mega-menu__inner {
    min-height: 0;
    width: 100%;
    padding: 0 14px;
  }
  .has-submenu.is-open .mega-menu__inner {
    padding-top: 14px;
    padding-bottom: 18px;
  }
  .mega-menu__title {
    display: none;
  }
  .mega-menu__grid {
    column-count: 2;
    column-gap: 18px;
  }
  .mega-menu__grid li {
    margin-bottom: 4px;
  }
  .mega-menu__grid a {
    padding: 7px 0;
    font-size: 16px;
  }
  .has-submenu:hover .mega-menu,
  .has-submenu:focus-within .mega-menu {
    z-index: auto;
  }
  .nav-item--language {
    margin-top: 6px;
  }

  .language-menu {
    position: static;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    margin: 4px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item--language.is-open .language-menu {
    display: grid;
  }
  .hero {
    min-height: 720px;
  }
  .hero__content {
    margin-top: 0;
    width: 100%;
    min-width: 0;
  }
  .hero h1 {
    font-size: clamp(24px, 8.4vw, 70px);
    line-height: 0.92;
    overflow-wrap: anywhere;
  }
  .hero h1 span {
    white-space: normal;
  }
  .hero__content p {
    margin-top: 27px;
    font-size: 11px;
  }
  .scroll-down {
    bottom: 26px;
  }
  .about__layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .about__copy {
    padding: 78px 0 54px;
  }
  .about-copy-slide > p,
  .about-static__copy > p {
    font-size: 16px;
  }
  .about-controls {
    bottom: 20px;
  }
  .stats {
    margin: 0 0 0 22px;
    width: 63%;
    gap: 32px 20px;
  }
  .stat strong {
    font-size: 41px;
  }
  .stat--main strong {
    font-size: 62px;
  }
  .about__visual {
    min-height: 500px;
  }
  .about__character {
    right: -10px;
    width: 52%;
    height: 500px;
  }
  .section-heading {
    margin-bottom: 38px;
  }
  .news {
    height: auto;
    padding: 0;
  }
  .news__inner {
    height: auto;
    padding: 64px 0 72px;
  }
  .news-grid {
    width: 100%;
    gap: 18px;
  }
  .news-card {
    flex-basis: min(82vw, 360px);
    max-width: none;
  }
  .news-card__image {
    height: 230px;
  }
  .news__character {
    display: block;
    right: 0;
    bottom: 0;
    width: clamp(250px, 58vw, 330px);
    height: auto;
    object-fit: contain;
    object-position: right bottom;
  }
  .footer-divider {
    height: 20px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
    padding: 24px 20px 220px;
    min-height: auto;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__column {
    display: contents;
  }

  .footer__column--left .footer__nav {
    grid-column: 1;
    grid-row: 2;
  }

  .footer__column--right .footer__nav {
    grid-column: 2;
    grid-row: 2;
  }

  .footer__contacts {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    margin-top: 0;
  }

  .footer__copy {
    grid-column: 1 / -1;
    grid-row: 4;
    width: 100%;
    margin: 0;
    font-size: 14px;
  }

  .footer__logo img,
  .footer__social {
    width: 150px;
  }

  .footer__nav a {
    font-size: 15px;
  }

  .footer__contacts a {
    font-size: 14px;
  }

  .footer__character {
    top: auto;
    right: 0;
    bottom: 0;

    width: min(72vw, 360px);
    height: auto;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 100svh;
  }
  .hero__content p br {
    display: none;
  }
  .hero__content p {
    max-width: 290px;
    margin-inline: auto;
    line-height: 1.25;
  }
  .about h2,
  .section-heading h2 {
    font-size: 41px;
  }

  .about__visual {
    min-height: 290px;
  }

  .about__character {
    width: 48vw;
    height: auto;
    right: -55px;
    bottom: 0;
  }
  .stat small {
    font-size: 9px;
  }

  .halal-logo {
    width: 105px;
  }
  .about-ornament {
    width: 72px;
    height: auto;
    left: 0;
  }
  .about-controls {
    bottom: 16px;
  }
  .about-control {
    width: 34px;
    height: 34px;
    font-size: 23px;
  }

  .about-dot {
    width: 10px;
    height: 10px;
  }
  .stats {
    width: 66%;
    margin-left: 18px;
  }
  .stat--main strong {
    font-size: 52px;
  }
  .stat strong {
    font-size: 35px;
  }
  .stat span {
    font-size: 11px;
  }
  .news {
    position: relative;
    min-height: 430px;
    overflow: hidden;
  }

  .news__inner {
    padding: 24px 0 40px;
  }

  .news-grid {
    width: min(230px, calc(100% - 115px));
    gap: 14px;
  }

  .news-card {
    flex: 0 0 100%;
  }

  .news-card__image {
    height: 150px;
  }

  .news-card time {
    font-size: 11px;
    margin-top: 8px;
  }

  .news-card h3 {
    font-size: 16px;
    line-height: 1.05;
  }

  .news-actions {
    margin-top: 16px;
    gap: 10px;
  }

  .news-actions .outline-button {
    padding: 10px 14px;
    font-size: 12px;
  }

  .news-control {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .news__character {
    display: block;
    right: -42px;
    top: 16px;
    bottom: auto;
    width: 48vw;
    height: auto;
    object-fit: contain;
    z-index: 1;
  }

  .footer__character {
    top: auto;
    right: 0;
    bottom: 0;

    width: 100%;
    height: auto;
    max-width: none;
  }

  .footer__inner {
    padding-bottom: calc(64vw + 20px);
  }

  .mega-menu__grid {
    column-count: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* News archive */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-news-list,
.page-news-view,
.page-management {
  background: #fff;
}

.nav-link.is-active {
  border-color: var(--yellow);
}

.news-archive {
  min-height: 100vh;
  background: #fff;
}

.news-archive__section {
  padding: calc(var(--header-height) + 72px) 0 96px;
}

.news-archive__inner {
  width: min(calc(100% - 160px), 1260px);
}

.news-archive__eyebrow {
  margin: 0 0 22px;
  color: #d8d8d8;
  font-size: 20px;
  font-weight: 600;
}

.news-archive h1 {
  margin: 0 0 28px;
  color: var(--brown);
  font-size: clamp(42px, 4vw, 58px);
  line-height: 0.95;
}

.news-filter {
  display: grid;
  grid-template-columns: 1.3fr 0.95fr 0.95fr 130px;
  gap: 18px;
  margin-bottom: 34px;
}

.news-filter__field {
  min-width: 0;
  height: 54px;
  border: 2px solid var(--yellow);
  border-radius: 12px;
  background: #fff;
}

.news-filter__field input {
  width: 100%;
  height: 100%;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--brown);
  font: inherit;
  font-size: 16px;
}

.news-filter__field input::placeholder {
  color: rgba(54, 26, 10, 0.48);
}

.news-filter__field--date {
  position: relative;
  display: flex;
  align-items: center;
}

.news-filter__date-label {
  position: absolute;
  left: 42px;
  z-index: 0;
  color: rgba(54, 26, 10, 0.48);
  font-size: 16px;
  pointer-events: none;
}

.news-filter__field--date:focus-within .news-filter__date-label,
.news-filter__field--date.has-value .news-filter__date-label {
  opacity: 0;
}

.news-filter__field--date input {
  position: relative;
  z-index: 1;
  color-scheme: light;
}

.news-filter__field--date input::-webkit-datetime-edit {
  color: transparent;
}

.news-filter__field--date input:focus::-webkit-datetime-edit,
.news-filter__field--date.has-value input::-webkit-datetime-edit {
  color: var(--brown);
}

.news-filter__field--date input::-webkit-calendar-picker-indicator {
  opacity: 0.65;
  cursor: pointer;
}

.news-filter__submit {
  height: 54px;
  padding: 0 22px;
  border: 2px solid var(--yellow);
  border-radius: 12px;
  background: var(--yellow);
  color: var(--brown);
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.news-filter__submit:hover,
.news-filter__submit:focus-visible {
  background: #ffe066;
  outline: none;
}

.news-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px 28px;
}

.news-list-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.news-list-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.04 / 1;
  border-radius: 16px;
  background: #1a1a1a;
}

.news-list-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.news-list-card:hover .news-list-card__image img {
  transform: scale(1.035);
}

.news-list-card time {
  display: block;
  margin: 9px 10px 12px;
  color: var(--yellow);
  font-size: 17px;
  font-weight: 600;
}

h1#news-archive-title {
  font-weight: 600;
}

.news-list-card h2 {
  margin: 0 10px 12px;
  color: var(--brown);
  font-size: 24px;
  line-height: 1.02;
  font-weight: 600;
}

.news-list-card p {
  margin: 0 10px;
  color: var(--brown);
  font-size: 16px;
  line-height: 1.08;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 72px;
}

.pagination__page,
.pagination__arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1.5px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  line-height: 1;
  transition: 0.2s;
}

.pagination__arrow {
  padding-bottom: 3px;
  font-size: 27px;
}

.pagination__page:hover,
.pagination__page:focus-visible,
.pagination__arrow:hover,
.pagination__arrow:focus-visible,
.pagination__page.is-active {
  background: var(--yellow);
  color: var(--brown);
  outline: none;
}

.news-empty {
  padding: 56px 0 120px;
  color: var(--brown);
  text-align: center;
}

.news-empty p {
  margin: 0 0 16px;
}

.news-empty a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 821px) {
  .nav-item--products {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
  }

}


/* Partners / export */
.export-partners {
  padding-top: 4px;
}

.export-partners__title {
  margin: 0 0 20px;
  color: var(--brown);
  font-size: 24px;
  line-height: 1.1;
}

.export-partners__countries {
  display: grid;
  grid-template-columns: repeat(7, minmax(105px, 1fr));
  gap: 20px 18px;
  margin-bottom: 30px;
}

.export-country {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--brown);
  font: inherit;
  cursor: pointer;
  text-align: center;
}

.export-country__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin-inline: auto;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 7px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.export-country__flag img {
  display: block;
  width: auto;
  height: 60px;
  max-width: 112px;
  object-fit: contain;
  outline: 1px solid #d0d0d0;
  outline-offset: 0;
}

.export-country__name {
  display: block;
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.15;
}

.export-country:hover .export-country__flag,
.export-country:focus-visible .export-country__flag,
.export-country.is-active .export-country__flag {
  border-color: var(--yellow);
}

.export-country:focus-visible {
  outline: none;
}

.export-country.is-active .export-country__name {
  font-weight: 700;
}

.export-partners__details {
  margin-top: 8px;
}

.export-partners__selected {
  margin: 0;
  padding: 10px 0 9px;
  border-bottom: 2px solid var(--yellow);
  color: #6f625b;
  font-size: 15px;
}

.export-partners__selected strong {
  color: var(--brown);
  font-weight: 500;
}

.export-partners__list {
  display: grid;
}

.export-partner-card {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(250px, 1fr);
  gap: 64px;
  padding: 12px 0;
  border-bottom: 1px solid var(--yellow);
  color: var(--brown);
}

.export-partner-card__company {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 500;
}

.export-partner-card__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.25;
}

.export-partner-card__contact strong {
  font-weight: 500;
}

.export-partner-card__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin-top: 2px;
}

.export-partner-card__phones a,
.export-partner-card__email {
  color: var(--brown);
  text-decoration: none;
}

.export-partner-card__email {
  margin-top: 4px;
}

.export-partner-card__phones a:hover,
.export-partner-card__phones a:focus-visible,
.export-partner-card__email:hover,
.export-partner-card__email:focus-visible {
  color: #d19f00;
  outline: none;
}

@media (max-width: 980px) {
  .news-archive__inner {
    width: min(calc(100% - 72px), 1260px);
  }

  .news-filter {
    grid-template-columns: 1fr 1fr;
  }

  .news-filter__field--search {
    grid-column: 1 / -1;
  }

  .news-filter__submit {
    grid-column: 1 / -1;
    width: 150px;
  }

  .news-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .news-archive__section {
    padding: calc(var(--header-height) + 42px) 0 64px;
  }

  .news-archive__inner {
    width: min(calc(100% - 36px), 1260px);
  }

  .news-archive__eyebrow {
    margin-bottom: 14px;
    font-size: 17px;
  }

  .news-archive h1 {
    margin-bottom: 22px;
    font-size: 42px;
  }

  .news-filter {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 30px;
  }

  .news-filter__field--search,
  .news-filter__submit {
    grid-column: auto;
  }

  .news-filter__submit {
    width: 100%;
  }

  .news-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 14px;
  }

  .news-list-card__image {
    aspect-ratio: 1.04 / 1;
  }

  .news-list-card time {
    margin: 7px 4px 8px;
    font-size: 14px;
  }

  .news-list-card h2 {
    margin: 0 4px 8px;
    font-size: 17px;
    line-height: 1.08;
  }

  .news-list-card p {
    margin: 0 4px;
    font-size: 14px;
    line-height: 1.12;
  }

  .pagination {
    margin-top: 52px;
  }
}


/* News view */
.news-view {
  min-height: 100vh;
  background: #fff;
}

.news-view__section {
  padding: calc(var(--header-height) + 72px) 0 96px;
}

.news-view__inner {
  width: min(calc(100% - 160px), 1080px);
}

.news-view__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.news-view__back {
  display: inline-block;
  margin: 0;
  color: var(--brown);
  font-size: 17px;
  font-weight: 600;
}

.news-view__back:hover,
.news-view__back:focus-visible {
  color: var(--yellow);
  outline: none;
}

.news-view__article time {
  display: block;
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: 18px;
  font-weight: 600;
}

.news-view__article h1 {
  max-width: 980px;
  margin: 0 0 34px;
  color: var(--brown);
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 0.98;
  font-weight: 600;
}

.news-view__article-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
}

.news-view__article-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0 0 5px;
  border: 1px solid #dedede;
  border-radius: 50%;
  color: var(--brown);
  font-size: 34px;
  line-height: 1;
  background: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.news-view__article-nav-link:hover,
.news-view__article-nav-link:focus-visible {
  border-color: var(--yellow);
  background: #f4f4f4;
  outline: none;
}

.news-view__article-nav-link.is-disabled {
  opacity: 0.25;
  pointer-events: none;
}

.news-view__article-nav-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 2;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--brown);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.news-view__article-nav-link:hover .news-view__article-nav-tooltip,
.news-view__article-nav-link:focus-visible .news-view__article-nav-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.news-view__gallery {
  margin: 0 0 38px;
}


.news-view__gallery-viewport {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  transition: height 0.18s ease;
}

.news-view__gallery-viewport::-webkit-scrollbar {
  display: none;
}

.news-view__slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
}

.news-view__slide img {
  display: block;
/*  width: 100%;
  height: auto;
  object-fit: contain;*/
}

.news-view__gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.news-view__gallery-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0 0 5px;
  border: 1px solid #dedede;
  border-radius: 50%;
  background: #fff;
  color: var(--brown);
  font: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.news-view__gallery-control:disabled {
  opacity: 0.35;
  cursor: default;
}

.news-view__gallery-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-view__gallery-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d8d8d8;
  cursor: pointer;
}

.news-view__gallery-dot.is-active {
  background: #b8b8b8;
}

.news-view__content {
  max-width: 850px;
  color: var(--brown);
  font-size: 20px;
  line-height: 1.45;
}

.news-view__content p {
  margin: 0 0 24px;
}

.news-view__not-found {
  padding: 40px 0 100px;
  color: var(--brown);
}

.news-view__not-found h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 4vw, 56px);
}

.news-view__not-found p {
  margin: 0 0 22px;
}

.news-view__not-found a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .news-view__inner {
    width: min(calc(100% - 72px), 1080px);
  }
}

@media (max-width: 820px) {
  .news-view__section {
    padding: calc(var(--header-height) + 42px) 0 64px;
  }

  .news-view__inner {
    width: min(calc(100% - 36px), 1080px);
  }

  .news-view__back {
    margin-bottom: 22px;
    font-size: 15px;
  }

  .news-view__article time {
    margin-bottom: 10px;
    font-size: 15px;
  }

  .news-view__article h1 {
    margin-bottom: 24px;
    font-size: 34px;
    line-height: 1.02;
  }

  .news-view__article-nav {
    margin-bottom: 26px;
  }

  .news-view__article-nav-link {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .news-view__article-nav-tooltip {
    display: none;
  }

  .news-view__gallery {
    margin-bottom: 28px;
  }

  .news-view__gallery-viewport {
    border-radius: 0;
  }

  .news-view__slide img {
    height: auto;
    aspect-ratio: 1.15 / 1;
  }

  .news-view__gallery-controls {
    margin-top: 14px;
  }

  .news-view__gallery-control {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .news-view__content {
    font-size: 17px;
    line-height: 1.42;
  }
}


/* Management */
.management {
  min-height: 100vh;
  background: #fff;
  overflow: hidden;
}

.management__section {
  min-height: 690px;
  padding: calc(var(--header-height) + 28px) 0 42px;
}

.management__inner {
  width: min(calc(100% - 96px), var(--page));
}

.management__eyebrow {
  margin: 0;
  color: #d8d8d8;
  font-size: 22px;
  font-weight: 500;
}

.management__stage {
  position: relative;
  isolation: isolate;
  margin-top: 24px;
}

.management__viewport {
  --management-card-width: clamp(220px, 18vw, 280px);
  --management-gap: clamp(54px, 6vw, 92px);

  display: flex;
  align-items: center;
  gap: var(--management-gap);

  width: min(
          100%,
          calc(
                  var(--management-card-width) +
                  var(--management-card-width) +
                  var(--management-card-width) +
                  var(--management-gap) +
                  var(--management-gap)
          )
  );
  margin-inline: auto;

  position: relative;
  z-index: 1;

  padding:
          10px
          calc((100% - var(--management-card-width)) / 2)
          14px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  outline: none;
}

.management__viewport::-webkit-scrollbar {
  display: none;
}

.management__viewport:focus-visible {
  outline: 2px solid rgba(255, 204, 0, 0.72);
  outline-offset: 8px;
  border-radius: 18px;
}

.management-card {
  flex: 0 0 var(--management-card-width);
  min-width: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  text-align: center;
  background: #fff;
  transform: scale(0.80);
  transform-origin: center center;
  transition: transform 0.32s ease;
}

.management-card__media,
.management-card__copy {
  opacity: 0.34;
  transition: opacity 0.32s ease;
}

.management-card.is-active {
  transform: scale(1);
}

.management-card.is-active .management-card__media,
.management-card.is-active .management-card__copy {
  opacity: 1;
}

.management-card__media {
  width: 100%;
  aspect-ratio: 0.79 / 1;
  overflow: hidden;
  border-radius: 28px;
  background: #f5f5f5;
}

.management-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.management-card__media--empty {
  border: 2px solid #d3d3d3;
  background: #f7f7f7;
}

.management-card__copy {
  margin-top: 8px;
}

.management-card h2 {
  margin: 0;
  color: var(--brown);
  font-size: clamp(30px, 2.1vw, 40px);
  line-height: 0.95;
  font-weight: 700;
}

.management-card__name {
  margin: 5px 0 0;
  color: var(--brown);
  font-size: clamp(18px, 1.3vw, 24px);
  line-height: 1.05;
  font-weight: 600;
}

.management-card__position {
  margin: 7px 0 0;
  color: var(--yellow);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.08;
  font-weight: 600;
}

.management__controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: -2px;
}

.management__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0 0 6px 0;
  border: 1px solid #dedede;
  border-radius: 50%;
  background: #fff;
  color: var(--brown);
  font: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.management__control--next {
  padding: 0 0 6px 5px;
}

.management__control:hover,
.management__control:focus-visible {
  border-color: #d0d0d0;
  background: #ededed;
  outline: none;
  transform: translateY(-1px);
}

.management__control:disabled {
  opacity: 0.35;
  cursor: default;
}

.management__ornament {
  position: absolute;
  z-index: 0;
  width: auto;
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.management__ornament--left {
  left: calc((100vw - 100%) / -2);
  top: 155px;
  transform: rotate(-7deg);
  transform-origin: center;
}

.management__ornament--right {
  right: calc((100vw - 100%) / -2);
  bottom: 10px;
  transform: scaleX(-1) rotate(-9deg);
  transform-origin: center;
}

.news-card__image img {
  object-position: center top;
}

@media (max-width: 980px) {
  .management__inner {
    width: min(calc(100% - 60px), var(--page));
  }

  .management__viewport {
    --management-card-width: clamp(210px, 28vw, 250px);
    --management-gap: clamp(36px, 5vw, 60px);
  }

}

@media (max-width: 820px) {
  .management__section {
    min-height: auto;
    padding: calc(var(--header-height) + 38px) 0 60px;
  }

  .management__inner {
    width: min(calc(100% - 32px), var(--page));
  }

  .management__eyebrow {
    font-size: 17px;
  }

  .management__stage {
    margin-top: 34px;
  }

  .management__viewport {
    --management-card-width: min(74vw, 300px);
    --management-gap: 34px;
    padding-top: 8px;
    padding-bottom: 20px;
  }

  .management-card {
    transform: scale(0.82);
  }

  .management-card__media,
  .management-card__copy {
    opacity: 0.18;
  }

  .management-card.is-active {
    transform: scale(1);
  }

  .management-card.is-active .management-card__media,
  .management-card.is-active .management-card__copy {
    opacity: 1;
  }

  .management-card h2 {
    font-size: 34px;
  }

  .management-card__name {
    font-size: 20px;
  }

  .management-card__position {
    font-size: 17px;
  }

  .management__control {
    width: 46px;
    height: 46px;
    font-size: 32px;
  }

  .management__ornament {
    opacity: 0.75;
  }

  .management__ornament--left {
    display: none;
  }

  .management__ornament--right {
    right: calc((100vw - 100%) / -2);
    bottom: -50px;
  }
}

/* Catalog */
.page-catalog,
.page-product {
  background: #fff;
}

.catalog-main {
  min-height: 100vh;
  padding-top: var(--header-height);
  background: #fff;
}

@media (min-width: 821px) {
  body.admin-bar .catalog-main {
    padding-top: calc(
            var(--header-height) - var(--wp-admin--admin-bar--height, 32px)
    );
  }
}

.catalog-banner-slider {
  position: relative;
  width: min(calc(100% - 96px), var(--page));
  margin: 0 auto;
  overflow: hidden;
}

.catalog-banner-slider__viewport {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline: none;
}

.catalog-banner-slider__viewport::-webkit-scrollbar {
  display: none;
}

.catalog-banner-slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
}

.catalog-banner-slider__slide img {
  display: block;
  width: 100%;
  height: auto;
}

.catalog-banner-slider__controls {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
}

.catalog-banner-slider__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0 0 3px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  color: var(--brown);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.catalog-banner-slider__dots {
  display: flex;
  gap: 5px;
}

.catalog-banner-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
}

.catalog-banner-slider__dot.is-active {
  background: #bdbdbd;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  padding-top: 34px;
  padding-bottom: 120px;
}

.catalog-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-right: 34px;
  border-right: 1px solid #e2e2e2;
}

.catalog-categories {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.catalog-categories a {
  color: #8f8179;
  font-size: 19px;
  line-height: 1.15;
  transition: color 0.18s ease, transform 0.18s ease;
}

.catalog-categories a:hover,
.catalog-categories a:focus-visible,
.catalog-categories a.is-active {
  color: var(--brown);
  outline: none;
  transform: translateX(4px);
}

.catalog-categories a.is-active {
  font-weight: 700;
}

.catalog-downloads {
  margin-top: 40px;
  padding-top: 0;
}

.catalog-downloads > p {
  margin: 0 0 14px;
  color: #8f8179;
  font-size: 18px;
}

.catalog-downloads__list {
  display: flex;
  gap: 12px;
}

.catalog-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #9b8e87;
  font-size: 15px;
}

.catalog-download__icon {
  display: block;
  width: 48px;
  height: 56px;
  object-fit: contain;
}

.catalog-products__title {
  margin: 0 0 30px;
  color: #d9d9d9;
  font-size: 22px;
  font-weight: 500;
}

.catalog-products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 72px);
  row-gap: 62px;
}

.catalog-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.catalog-product-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 230px;
}

.catalog-product-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.catalog-product-card:hover .catalog-product-card__media img,
.catalog-product-card:focus-visible .catalog-product-card__media img {
  transform: scale(1.04);
}

.catalog-product-card:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 8px;
  border-radius: 12px;
}

.catalog-product-card__name {
  max-width: 280px;
  margin-top: 12px;
  color: #8c7e77;
  font-size: 19px;
  line-height: 1.05;
}

.catalog-products__empty {
  margin: 40px 0;
  color: #9b8e87;
  font-size: 20px;
}

/* Product */
.product-layout {
  padding-top: 30px;
  align-items: start;
}

.product-sidebar {
  align-self: stretch;
}

.product-downloads {
  margin-top: auto;
  padding-top: 30px;
}


.product-view {
  min-width: 0;
}

.product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 36px;
  color: #d2d2d2;
  font-size: 18px;
}

.product-breadcrumbs a:hover,
.product-breadcrumbs a:focus-visible {
  color: var(--brown);
  outline: none;
}

.product-view__top {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.product-view__media {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 300px;
}

.product-view__media img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}


.product-view__zoom-trigger {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.product-view__zoom-trigger:focus-visible {
  outline: none;
}

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

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0s linear 0.28s;
}

.product-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.28s ease,
    visibility 0s linear 0s;
}

.product-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.84);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.product-lightbox.is-open .product-lightbox__backdrop {
  opacity: 1;
}

.product-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(94vw, 1400px);
  height: min(90vh, 980px);
  opacity: 0;
  transform: scale(0.72);
  transform-origin: center center;
  transition:
    transform 0.34s cubic-bezier(0.22, 0.8, 0.24, 1),
    opacity 0.22s ease;
  will-change: transform, opacity;
  pointer-events: none;
}

.product-lightbox.is-open .product-lightbox__dialog {
  opacity: 1;
  transform: scale(1);
}

.product-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
}

/* Gallery navigation is visible only when the current packaging has 2+ photos. */
.product-lightbox__arrow[hidden],
.product-lightbox__counter[hidden] {
  display: none;
}

.product-lightbox__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  padding: 0 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brown);
  font: inherit;
  font-size: 43px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.product-lightbox__arrow--prev { left: 0; }
.product-lightbox__arrow--next { right: 0; }
.product-lightbox__arrow:hover,
.product-lightbox__arrow:focus-visible {
  background: #fff;
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.product-lightbox__counter {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  pointer-events: none;
}

.product-lightbox__close {
  position: absolute;
  pointer-events: auto;
  top: 0;
  right: 0;
  z-index: 2;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brown);
  font: inherit;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.product-lightbox__close:hover,
.product-lightbox__close:focus-visible {
  background: #fff;
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

body.has-product-lightbox {
  overflow: hidden;
}

.product-view__copy h1 {
  margin: 0 0 15px 0;
  color: var(--brown);
  font-size: clamp(36px, 3.3vw, 56px);
  line-height: 0.98;
  font-weight: 600;
}

.product-view__copy > p {
  max-width: 760px;
  margin: 18px 0 36px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px dashed #7d7d7d;
  color: #3b2a20;
  font-size: 18px;
  line-height: 1.28;
  background: transparent;
}

.product-nutrition {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid #ededed;
}

.product-nutrition div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-nutrition span {
  color: var(--yellow);
  font-size: 15px;
  font-weight: 600;
}

.product-nutrition strong {
  color: #8c7e77;
  font-size: 31px;
  line-height: 1;
  font-weight: 400;
}

.product-packaging {
  margin-top: 36px;
}

.product-packaging__item {
  border-bottom: 1px solid #e3e3e3;
}

.product-packaging__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0;
  color: var(--brown);
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.product-packaging__item summary::-webkit-details-marker {
  display: none;
}

.product-packaging__item summary::after {
  content: "⌄";
  margin-left: 18px;
  color: var(--brown);
  font-size: 20px;
  transition: transform 0.2s ease;
}

.product-packaging__item[open] summary::after {
  transform: rotate(180deg);
}

.product-packaging__content {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  padding: 8px 0 26px;
}

.product-packaging__stat {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.product-packaging__symbol {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.product-packaging__symbol::before,
.product-packaging__symbol::after {
  content: "";
  position: absolute;
  background: #8e8179;
}

.product-packaging__symbol::before {
  left: 8px;
  right: 8px;
  top: 19px;
  height: 2px;
}

.product-packaging__symbol::after {
  top: 8px;
  bottom: 8px;
  left: 19px;
  width: 2px;
}

.product-packaging__stat > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.product-packaging__stat strong {
  color: #8c7e77;
  font-size: 29px;
  line-height: 1;
  font-weight: 400;
}

.product-packaging__stat strong small {
  display: block;
  margin-bottom: 2px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 600;
}

.product-packaging__stat span:last-child {
  margin-top: 5px;
  color: var(--yellow);
  font-size: 14px;
  line-height: 1.05;
}

.related-products {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.related-products h2 {
  margin: 0 0 22px;
  color: var(--brown);
  font-size: 28px;
  font-weight: 600;
}

.related-products__viewport {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline: none;
}

.related-products__viewport::-webkit-scrollbar {
  display: none;
}

.related-product {
  flex: 0 0 calc((100% - 88px) / 5);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--yellow);
  border-radius: 10px;
  scroll-snap-align: start;
  background: #fff;
}

.related-product img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.related-products__controls {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

.related-products__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0 0 3px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  color: var(--brown);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.related-products__control:disabled {
  opacity: 0.35;
  cursor: default;
}

.product-not-found {
  padding: 30px 0 120px;
}

.product-not-found h1 {
  margin: 0 0 20px;
  font-size: 48px;
}

.product-not-found a {
  color: var(--yellow);
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .catalog-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 36px;
  }

  .catalog-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

 .product-view__top {
    gap: 36px;
  }


  .product-packaging__content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .catalog-main {
    padding-top: var(--header-height);
  }

  .catalog-banner-slider {
    width: 100%;
    margin-inline: 0;
  }

  .catalog-banner-slider__controls {
    bottom: 10px;
  }

  .catalog-banner-slider__control {
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .catalog-layout {
    display: flex;
    flex-direction: column;
    width: min(calc(100% - 32px), var(--page));
    padding-top: 28px;
    padding-bottom: 76px;
  }

  .catalog-products {
    order: 1;
  }

  .catalog-sidebar {
    order: 2;
    margin-top: 36px;
    padding: 26px 0 0;
    border-right: 0;
    border-top: 1px solid #e7e7e7;
    border-bottom: 0;
  }

  .catalog-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
  }

  .catalog-categories a {
    font-size: 16px;
  }

  .catalog-downloads {
    margin-top: 40px;
    padding-top: 0;
  }

  .catalog-products {
    padding-top: 28px;
  }

  .catalog-products__title {
    margin-bottom: 20px;
    font-size: 18px;
  }

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

  .catalog-product-card__media {
    height: 145px;
  }

  .catalog-product-card__name {
    margin-top: 8px;
    font-size: 15px;
  }

  .product-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 24px;
  }

  .product-view {
    order: 1;
    width: 100%;
    min-width: 0;
  }

  .product-layout .catalog-sidebar {
    order: 2;
    width: 100%;
    margin-top: 26px;
    margin-bottom: 0;
  }

  .product-layout > .related-products {
    order: 3;
    width: 100%;
    margin-top: 32px;
  }

  .product-downloads {
    margin-top: 28px;
    margin-bottom: 0;
    padding: 0;
    border: 0;
  }

  .product-breadcrumbs {
    margin-bottom: 24px;
    font-size: 14px;
  }

 .product-view__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-view__media {
    min-height: 250px;
  }

  .product-view__media img {
    max-height: 280px;
  }

  .product-view__copy h1 {
    font-size: 34px;
  }

  .product-view__copy > p {
    margin: 14px 0 24px;
    font-size: 16px;
  }

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

  .product-nutrition strong {
    font-size: 26px;
  }

  .product-packaging {
    margin-top: 28px;
  }

  .product-packaging__item summary {
    min-height: 54px;
    font-size: 18px;
  }

  .product-packaging__content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }

  .product-packaging__stat {
    gap: 9px;
  }

  .product-packaging__symbol {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .product-packaging__symbol::before {
    left: 6px;
    right: 6px;
    top: 15px;
  }

  .product-packaging__symbol::after {
    top: 6px;
    bottom: 6px;
    left: 15px;
  }

  .product-packaging__stat strong {
    font-size: 24px;
  }

  .related-products {
    margin-top: 0;
  }

  .related-products h2 {
    font-size: 24px;
  }

  .related-products__viewport {
    gap: 14px;
  }

  .related-product {
    flex: 0 0 calc((100% - 14px) / 2);
    min-width: 0;
    min-height: 190px;
    padding: 12px;
  }

  .related-product img {
    max-height: 160px;
  }
}

/* Contacts */
.page-contacts {
  background: #fff;
}

.contacts-page {
  min-height: 100vh;
  background: #fff;
}

.contacts-page__section {
  padding: calc(var(--header-height) + 62px) 0 72px;
}

.contacts-page__inner {
  width: min(calc(100% - 160px), 1260px);
}

.contacts-page__eyebrow {
  margin: 0 0 18px;
  color: #d8d8d8;
  font-size: 20px;
  font-weight: 500;
}

.contacts-page h1 {
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 2px solid var(--yellow);
  color: var(--brown);
  font-size: clamp(38px, 3.4vw, 52px);
  line-height: 0.95;
  font-weight: 600;
}

.contacts-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(310px, 0.7fr);
  gap: clamp(52px, 8vw, 130px);
  padding: 14px 28px 0 28px;
}

.contacts-page__left {
  display: grid;
  grid-template-rows: auto minmax(300px, 1fr) auto;
  min-width: 0;
}

.contacts-page__left h2 {
  margin: 0 0 20px;
  color: var(--brown);
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
}

.contacts-page__map {
  width: 100%;
  min-height: 340px;
  overflow: hidden;
  background: #f2f2f2;
}

.contacts-page__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

.contacts-page__address {
  display: flex;
  gap: 7px;
  margin-top: 22px;
  color: var(--brown);
  font-size: 20px;
  line-height: 1.12;
  font-style: normal;
}

.contacts-page__address strong {
  font-weight: 700;
}

.contacts-page__phones {
  display: flex;
  flex-direction: column;
  gap: 27px;
  padding-top: 2px;
}

.contacts-page__contact-item {
  display: flex;
  flex-direction: column;
  color: var(--brown);
  font-size: 19px;
  line-height: 1.08;
}

.contacts-page__contact-item strong {
  font-weight: 600;
}

.contacts-page__contact-item a {
  width: fit-content;
}

.contacts-page__contact-item a:hover,
.contacts-page__contact-item a:focus-visible,
.contacts-page__representative a:hover,
.contacts-page__representative a:focus-visible {
  color: var(--yellow);
  outline: none;
}

.contacts-page__representative {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(310px, 0.7fr);
  gap: clamp(52px, 8vw, 130px);
  margin-top: 20px;
  padding: 18px 28px;
  border-top: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  color: var(--brown);
  font-size: 17px;
  line-height: 1.12;
}

.contacts-page__representative > div:last-child {
  display: flex;
  flex-direction: column;
}

.contacts-page__representative strong {
  font-weight: 700;
}

.contacts-page__representative a {
  width: fit-content;
  font-weight: 600;
}

@media (max-width: 980px) {
  .contacts-page__inner {
    width: min(calc(100% - 72px), 1260px);
  }

  .contacts-page__grid,
  .contacts-page__representative {
    gap: 42px;
  }
}

@media (max-width: 820px) {
  .contacts-page__section {
    padding: calc(var(--header-height) + 38px) 0 56px;
  }

  .contacts-page__inner {
    width: min(calc(100% - 32px), 1260px);
  }

  .contacts-page__eyebrow {
    margin-bottom: 12px;
    font-size: 16px;
  }

  .contacts-page h1 {
    padding-bottom: 10px;
    font-size: 38px;
  }

  .contacts-page__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 18px 0 0;
  }

  .contacts-page__left {
    grid-template-rows: auto auto auto;
  }

  .contacts-page__left h2 {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .contacts-page__map,
  .contacts-page__map iframe {
    min-height: 300px;
  }

  .contacts-page__address {
    margin-top: 16px;
    font-size: 17px;
  }

  .contacts-page__phones {
    gap: 20px;
  }

  .contacts-page__contact-item {
    font-size: 17px;
  }

  .contacts-page__representative {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 26px;
    padding: 16px 0;
    font-size: 16px;
  }
}

/* Partners / regional contacts */
.page-partners {
  background: #fff;
}

.partners-page {
  min-height: 100vh;
  background: #fff;
}

.partners-page__section {
  padding: calc(var(--header-height) + 38px) 0 70px;
}

.partners-page__inner {
  width: min(calc(100% - 96px), 1260px);
}

.partners-page__eyebrow {
  margin: 0 0 16px;
  color: #d8d8d8;
  font-size: 20px;
  font-weight: 500;
}

.partners-page__tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.partners-page__tab {
  min-height: 42px;
  padding: 7px 18px;
  border: 1.5px solid var(--yellow);
  border-radius: 8px;
  background: #fff;
  color: var(--brown);
  font: inherit;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.partners-page__tab.is-active {
  background: var(--yellow);
  color: var(--brown);
  border-color: var(--yellow);
}

.partners-page__tab:disabled {
  color: #d7d7d7;
  border-color: #e5e5e5;
  cursor: default;
}

.partners-page__region-picker {
  width: min(420px, 100%);
  margin: 0 0 22px;
}

.partners-page__region-label {
  display: block;
  margin: 0 0 10px;
  color: var(--brown);
  font-size: 16px;
  line-height: 1.2;
}

.partners-page__region-select {
  width: 100%;
  min-height: 46px;
  padding: 10px 42px 10px 16px;
  border: 1.5px solid #d9d0c8;
  border-radius: 10px;
  background: #fff;
  color: var(--brown);
  font: inherit;
  font-size: 18px;
  line-height: 1.2;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--brown) 50%),
    linear-gradient(135deg, var(--brown) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.partners-page__region-select:focus {
  outline: none;
  border-color: var(--yellow);
}

.partners-map {
  position: relative;
  width: min(920px, 100%);
  margin: 0 auto 28px;
  aspect-ratio: 1803 / 991;
  user-select: none;
}

.partners-map__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.partners-map__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.partners-map__region {
  fill: transparent;
  stroke: none;
  pointer-events: all;
  cursor: pointer;
  outline: none;
  transition: fill 0.14s ease, fill-opacity 0.14s ease;
}

.partners-map__region.is-active,
.partners-map__region.is-preview {
  fill: #ffb800;
  fill-opacity: 0.78;
}

/* Preview is lighter than a click-locked selection. */
.partners-map__region.is-preview {
  fill-opacity: 0.46;
}

/* Touch devices: never paint the pale preview, only clicked .is-active regions. */
@media (hover: none), (pointer: coarse) {
  .partners-map__region.is-preview:not(.is-active) {
    fill: transparent;
  }
}

.partners-map__cities {
  pointer-events: none;
}

.partners-map__city {
  color: #361a0a;
}

.partners-map__city-name {
  fill: currentColor;
  font-family: "TT Chocolates", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  dominant-baseline: auto;
  paint-order: stroke;
  stroke: transparent;
  transition: color 0.14s ease, fill 0.14s ease;
}

.partners-map__city-dot {
  fill: currentColor;
  transition: color 0.14s ease, fill 0.14s ease;
}

.partners-map__city-icon {
  width: 28px;
  height: 28px;
}

.partners-map__city.is-active,
.partners-map__city.is-preview {
  color: #000000;
}

.partners-map__city.is-active .partners-map__city-name,
.partners-map__city.is-active .partners-map__city-dot,
.partners-map__city.is-preview .partners-map__city-name,
.partners-map__city.is-preview .partners-map__city-dot {
  fill: #000000;
}


.partners-contact {
  margin-top: 12px;
}

.partners-contact__heading {
  padding: 0 12px 9px;
  border-bottom: 2px solid var(--yellow);
  color: #6f625b;
  font-size: 15px;
}

.partners-contact__heading strong {
  color: var(--brown);
  font-weight: 500;
}

.partners-contact__body {
  display: grid;
}

.partners-contact__office {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1fr);
  gap: 70px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--yellow);
}

.partners-contact__summary,
.partners-contact__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.partners-contact__summary > strong,
.partners-contact__details > strong {
  color: var(--brown);
  font-size: 18px;
  line-height: 1.1;
}

.partners-contact__summary > span {
  margin-top: auto;
  padding-top: 34px;
  color: var(--brown);
  font-size: 16px;
  line-height: 1.2;
}

.partners-contact__phones {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.partners-contact__phones a,
.partners-contact__email a {
  color: var(--brown);
  font-size: 15px;
  line-height: 1.2;
}

.partners-contact__email {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  color: var(--brown);
  font-size: 15px;
  line-height: 1.2;
}

.partners-contact__phones a:hover,
.partners-contact__phones a:focus-visible,
.partners-contact__email a:hover,
.partners-contact__email a:focus-visible {
  color: #d19f00;
  outline: none;
}

@media (max-width: 980px) {
  .partners-page__inner {
    width: min(calc(100% - 72px), 1260px);
  }

  .partners-contact__office {
    gap: 42px;
  }
}

@media (max-width: 820px) {
  .partners-page__section {
    padding: calc(var(--header-height) + 34px) 0 54px;
  }

  .partners-page__inner {
    width: min(calc(100% - 32px), 1260px);
  }

  .partners-page__eyebrow {
    margin-bottom: 12px;
    font-size: 16px;
  }

  .partners-page__tabs {
    gap: 10px;
    margin-bottom: 18px;
  }

  .partners-page__region-picker {
    width: 100%;
    margin-bottom: 18px;
  }

  .partners-page__region-label {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .partners-page__region-select {
    min-height: 42px;
    padding: 8px 38px 8px 14px;
    font-size: 15px;
    border-radius: 8px;
  }

  .partners-page__tab {
    min-height: 38px;
    padding: 6px 11px;
    font-size: 14px;
  }

  .partners-map {
    width: 100%;
    margin-bottom: 22px;
  }

  .partners-contact__heading {
    padding-inline: 0;
    font-size: 14px;
  }

  .partners-contact__office {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 0 18px;
  }

  .partners-contact__summary > strong,
  .partners-contact__details > strong {
    font-size: 17px;
  }

  .partners-contact__summary > span {
    margin-top: 8px;
    padding-top: 0;
    font-size: 15px;
  }

  .partners-contact__phones a,
  .partners-contact__email,
  .partners-contact__email a {
    font-size: 14px;
  }
}


@media (max-width: 1180px) {
  .export-partners__countries {
    grid-template-columns: repeat(5, minmax(100px, 1fr));
  }
}

@media (max-width: 820px) {
  .export-partners__title {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .export-partners__countries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 10px;
    margin-bottom: 24px;
  }

  .export-country__flag {
    height: auto;
    padding: 4px;
  }

  .export-country__name {
    margin-top: 5px;
    font-size: 12px;
  }

  .export-partner-card {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 12px 0 14px;
  }

  .export-partner-card__company {
    font-size: 15px;
  }

  .export-partner-card__contact {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .export-partners__countries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 820px) {
  .product-lightbox {
    padding: 14px;
  }

  .product-lightbox__dialog {
    width: 100%;
    height: 88vh;
  }

  .product-lightbox__arrow {
    width: 42px;
    height: 42px;
    font-size: 36px;
  }

  .product-lightbox__counter { bottom: 8px; }

  .product-lightbox__close {
    top: 4px;
    right: 4px;
    width: 42px;
    height: 42px;
    font-size: 30px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .product-lightbox,
  .product-lightbox__backdrop,
  .product-lightbox__dialog {
    transition: none !important;
  }
}

/* History */
.page-history {
  background: #fff;
}

.history {
  background: #fff;
}

.history__section {
  padding: var(--header-height) 0 0;
}

.history__inner {
  position: relative;
  --history-right-bleed: calc(
          (100vw - min(calc(100vw - 96px), var(--page))) / 2
  );
  --history-cut-width: 280px;
  width: min(calc(100% - 96px), var(--page));
  margin-inline: auto;
}

.history__eyebrow {
  position: absolute;
  z-index: 4;
  top: 55px;
  left: 0;
  margin: 0;
  color: #d8d8d8;
  font-size: 21px;
  font-weight: 500;
}

.history__stage {
  position: relative;
  width: 100%;
  height: clamp(500px, 36vw, 570px);
  overflow: visible;
  outline: none;
}

.history__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.history-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .32s ease,
    visibility 0s linear .32s;
}

.history-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity .32s ease,
    visibility 0s linear 0s;
}

.history-slide__copy {
  align-self: center;
  min-width: 0;
  max-width: 690px;
  padding: 8px clamp(38px, 5vw, 82px) 68px 0;
  opacity: 0;
  transform: translateX(-18px);
  transition:
    opacity .34s ease .04s,
    transform .34s ease .04s;
}

.history-slide.is-active .history-slide__copy {
  opacity: 1;
  transform: translateX(0);
}

.history-slide__year {
  margin: 0;
  color: var(--brown);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.13;
  font-weight: 600;
}

.history-slide__period {
  margin: 4px 0 22px;
  color: var(--yellow);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
}

.history-slide__text {
  margin: 0;
  max-width: 650px;
  color: var(--brown);
  font-size: clamp(15px, 1.02vw, 17px);
  line-height: 1.34;
}

.history-slide__media {
  position: relative;
  min-width: 0;
  width: calc(100% + var(--history-right-bleed));
  margin-right: calc(-1 * var(--history-right-bleed));
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transform: translateX(20px);
  transition:
    opacity .38s ease .03s,
    transform .38s ease .03s;
}

.history-slide__media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: var(--history-cut-width);
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20184%20633%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20fill%3D%27white%27%20d%3D%27M0%200%20L0%200%20L3%2037%20L4%2046%20L12%2098%20L13%20103%20L24%20148%20L27%20158%20L34%20179%20L45%20207%20L49%20216%20L70%20257%20L73%20262%20L76%20267%20L81%20275%20L89%20287%20L96%20297%20L99%20301%20L102%20305%20L109%20314%20L113%20319%20L118%20325%20L125%20333%20L135%20344%20L136%20345%20L156%20365%20L157%20366%20L169%20377%20L177%20384%20L183%20389%20L178%20399%20L162%20411%20L157%20415%20L151%20420%20L144%20426%20L129%20440%20L128%20441%20L127%20442%20L126%20443%20L125%20444%20L111%20459%20L105%20466%20L100%20472%20L93%20481%20L90%20485%20L85%20492%20L75%20507%20L66%20522%20L60%20533%20L53%20547%20L30%20607%20L25%20625%20L23%20633%20L0%20633%20Z%27%2F%3E%3C%2Fsvg%3E") left top / 100% 100% no-repeat;
  pointer-events: none;
}

.history-slide.is-active .history-slide__media {
  opacity: 1;
  transform: translateX(0);
}

.history-slide__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history__controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
}

.history__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0 0 4px;
  border: 1px solid #dedede;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: var(--brown);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.history__control:hover,
.history__control:focus-visible {
  background: #f3f3f3;
  outline: none;
}

.history__dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.history__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
}

.history__dot.is-active {
  background: #aaa;
}

@media (max-width: 820px) {


  .history__section {
    padding: var(--header-height) 0 24px;
  }

  .history__inner {
    width: 100%;
  }

  .history__eyebrow {
    position: static;
    margin: 0;
    padding: 13px 18px 4px;
    font-size: 14px;
  }

  .history__stage {
    height: auto;
    overflow: visible;
  }

  .history__slides {
    height: auto;
  }

  .history-slide,
  .history-slide.is-active {
    position: relative;
    inset: auto;
    display: none;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .history-slide.is-active {
    display: grid;
  }

  .history-slide__copy {
    max-width: none;
    padding: 4px 18px 24px;
    opacity: 1;
    transform: none;
  }

  .history-slide__year {
    font-size: clamp(38px, 12vw, 50px);
  }

  .history-slide__period {
    margin: 3px 0 9px;
    font-size: 16px;
  }

  .history-slide__text {
    max-width: none;
    font-size: 14px;
    line-height: 1.3;
  }

  .history-slide__media {
    width: 100%;
    margin-right: 0;
    height: auto;
    overflow: visible;
    opacity: 1;
    transform: none;
  }

  .history-slide__media::before {
    display: none;
  }

  .history-slide__image {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .history__controls {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    justify-content: center;
    margin-top: 14px;
  }

  .history__control {
    width: 40px;
    height: 40px;
  }

  .history__dot {
    width: 9px;
    height: 9px;
  }
}

/* WordPress admin bar already shifts the page down. Avoid an extra gap
   between the fixed header and the history image for logged-in visitors. */
body.admin-bar.page-history .history__section {
  padding-top: calc(var(--header-height) - var(--wp-admin--admin-bar--height, 32px));
}


/* Согласованный фон шапки и выпадающего меню */
@media (min-width: 821px) {
  body:not(.home) .site-header:not(.is-scrolled),
  .site-header:has(.has-submenu:is(:hover, :focus-within, .is-open)),
  .mega-menu {
    background-image:
            linear-gradient(rgba(8, 2, 0, .34), rgba(8, 2, 0, .34)),
            url("../images/hero-chocolate.webp");

    background-size: 100% 100%, max(100vw, 1280px) auto;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }

  body:not(.home) .site-header:not(.is-scrolled),
  .site-header:has(.has-submenu:is(:hover, :focus-within, .is-open)) {
    background-position: center, center top;
  }

  .mega-menu {
    top: calc(var(--header-height) - 2px);
    background-position:
            center,
            center calc(2px - var(--header-height));

    transform: none;
    transition: opacity .25s ease, visibility .25s ease;
  }

  .mega-menu::before {
    display: none;
  }
}

/* Главная: видео заполняет весь экран за прозрачной шапкой.
   Без видео оригинальный баннер и надписи остаются без изменений. */
.hero--video-desktop .hero__video,
.hero--video-mobile .hero__video {
  object-position: center center;
}
@media (min-width: 821px) {
  .hero--video-desktop:not(.hero--video-error) .hero__content {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
@media (max-width: 820px) {
  .hero--video-mobile:not(.hero--video-error) .hero__content {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
.hero--video-error .hero__video {
  display: none;
}


/* First video frame: keep an image under the video until playback really starts.
   The chocolate image remains the fallback only when no video is configured. */
.hero__poster {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero--video-desktop:not(.hero--video-error) {
  background: #080100;
}
.hero--video-desktop .hero__video,
.hero--video-mobile .hero__video {
  opacity: 0;
  transition: opacity .2s ease-out;
}
.hero--video-ready .hero__video {
  opacity: 1;
}
.hero--video-error .hero__poster {
  display: none;
}
@media (max-width: 820px) {
  .hero--video-mobile:not(.hero--video-error) {
    background: #080100;
  }
}
@media (min-width: 821px) {
  .hero--video-mobile:not(.hero--video-desktop) .hero__poster {
    display: none;
  }
}
