.decanter-usp {
  background: var(--color-cream);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Прокрутка остаётся запасным путём, но на 375 px пункты переносятся и помещаются целиком. */
.decanter-usp .decanter-container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  overflow-x: auto;
  padding-block: 0.4rem;
  scrollbar-width: none;
}

.decanter-usp .decanter-container::-webkit-scrollbar {
  display: none;
}

.decanter-usp__item {
  align-items: center;
  display: flex;
  flex: 0 1 auto;
  gap: 0.4rem;
  line-height: 1.25;
  min-width: 0;
}

.decanter-usp__icon {
  fill: none;
  flex: 0 0 18px;
  height: 18px;
  stroke: var(--color-burgundy);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 18px;
}

@media (max-width: 1023.98px) {
  .decanter-usp {
    font-size: 0.75rem;
  }

  .decanter-usp .decanter-container {
    padding-block: 0.3rem;
  }

  .decanter-usp__icon {
    flex-basis: 16px;
    height: 16px;
    width: 16px;
  }
}

@media (min-width: 1024px) {
  .decanter-usp .decanter-container {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-block: 1rem;
  }

  .decanter-usp__item {
    gap: 0.75rem;
  }

  .decanter-usp__icon {
    flex-basis: 28px;
    height: 28px;
    width: 28px;
  }
}

.decanter-site-header {
  background: rgb(255 250 242 / 96%);
  border-bottom: 1px solid rgb(122 31 43 / 12%);
  position: relative;
  z-index: 50;
}

.decanter-header-row {
  align-items: center;
  display: grid;
  gap: clamp(0.75rem, 2vw, 2rem);
  grid-template-areas: "logo search nav actions";
  grid-template-columns: minmax(150px, 220px) minmax(240px, 1fr) auto auto;
  min-height: 90px;
}

.decanter-search-form {
  align-items: stretch;
  display: flex;
  grid-area: search;
  max-width: 720px;
  width: 100%;
}

.decanter-search-form input[type="search"] {
  background: #fff;
  border: 1px solid rgb(122 31 43 / 18%);
  border-radius: 8px 0 0 8px;
  color: var(--color-graphite);
  flex: 1;
  min-height: 52px;
  min-width: 0;
  padding: 0.45rem 1rem;
}

.decanter-search-form button {
  align-items: center;
  background: var(--color-burgundy);
  border: 0;
  border-radius: 0 8px 8px 0;
  color: #fff;
  display: inline-flex;
  justify-content: center;
  min-height: 52px;
  min-width: 44px;
  padding: 0 0.9rem;
}

.decanter-search-form button svg {
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.decanter-primary-navigation {
  grid-area: nav;
}

.decanter-logo {
  display: inline-flex;
  grid-area: logo;
  line-height: 0;
  width: min(100%, 300px);
}

.decanter-logo img {
  max-height: 58px;
  width: 100%;
}

.decanter-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.decanter-menu--primary {
  align-items: center;
  display: flex;
  gap: clamp(0.75rem, 1.6vw, 1.5rem);
  justify-content: center;
}

.decanter-menu a {
  color: var(--color-graphite);
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.decanter-menu a:hover,
.decanter-menu .current-menu-item > a {
  color: var(--color-burgundy);
}

.decanter-header-actions {
  align-items: center;
  display: flex;
  gap: 0.35rem;
  grid-area: actions;
}

.decanter-icon-link,
.decanter-menu-toggle,
.decanter-menu-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--color-graphite);
  display: inline-flex;
  height: 46px;
  justify-content: center;
  min-height: 46px;
  padding: 0;
  position: relative;
  width: 46px;
}

.decanter-icon-link:hover,
.decanter-menu-toggle:hover,
.decanter-menu-close:hover {
  background: var(--color-cream);
  border-color: transparent;
  color: var(--color-burgundy);
}

.decanter-icon-link svg {
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.decanter-cart-count {
  align-items: center;
  background: var(--color-burgundy);
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 0.68rem;
  font-weight: 800;
  height: 18px;
  justify-content: center;
  min-width: 18px;
  padding-inline: 0.25rem;
  position: absolute;
  right: 0;
  top: 1px;
}

.decanter-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
}

.decanter-menu-toggle span {
  background: currentcolor;
  display: block;
  height: 2px;
  width: 21px;
}

.decanter-mobile-navigation[hidden] {
  display: none;
}

.decanter-mobile-navigation {
  background: rgb(38 35 33 / 55%);
  inset: 0;
  position: fixed;
  z-index: 1000;
}

.decanter-mobile-navigation__panel {
  background: var(--color-ivory);
  box-shadow: 20px 0 60px rgb(0 0 0 / 18%);
  height: 100%;
  max-width: 360px;
  overflow-y: auto;
  padding: 1.25rem;
  width: min(88vw, 360px);
}

.decanter-mobile-navigation__top {
  align-items: center;
  border-bottom: 1px solid rgb(122 31 43 / 15%);
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.decanter-mobile-navigation__top strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.decanter-menu-close {
  font-family: sans-serif;
  font-size: 2rem;
  font-weight: 300;
}

.decanter-menu--mobile a {
  border-bottom: 1px solid rgb(122 31 43 / 10%);
  font-size: 1.05rem;
  padding: 0.9rem 0.25rem;
}

.decanter-menu-open {
  overflow: hidden;
}

.decanter-site-footer {
  background: var(--color-cream);
  border-top: 1px solid rgb(122 31 43 / 10%);
  margin-top: clamp(4rem, 8vw, 8rem);
}

.decanter-footer-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(150px, 1fr));
  padding-block: clamp(3rem, 6vw, 5rem);
}

.decanter-footer-brand img {
  max-height: 54px;
  width: auto;
}

.decanter-footer-brand p {
  max-width: 34ch;
}

.decanter-site-footer h2 {
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.decanter-footer-menu,
.decanter-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.decanter-footer-menu li,
.decanter-contact-list li {
  margin-block: 0.55rem;
}

.decanter-footer-menu a,
.decanter-contact-list a {
  color: var(--color-graphite);
  text-decoration: none;
}

.decanter-footer-bottom {
  background: var(--color-burgundy-dark);
  color: #fff;
  font-size: 0.82rem;
}

.decanter-footer-bottom .decanter-container {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-block: 1rem;
}

.decanter-footer-bottom p {
  margin: 0;
}

.decanter-footer-legal {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

/* Настройки cookies — обычная ссылка в нижней строке подвала, а не плавающая кнопка. */
.decanter-footer-consent {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.decanter-footer-consent:hover {
  color: #f2ce87;
}

.decanter-footer-consent:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .decanter-menu--primary {
    gap: 0.75rem;
  }

  .decanter-menu--primary a {
    font-size: 0.82rem;
  }
}

@media (max-width: 960px) {
  .decanter-header-row {
    grid-template-areas:
      "toggle logo actions"
      "search search search";
    grid-template-columns: 46px 1fr auto;
    min-height: 74px;
    padding-bottom: 0.65rem;
    row-gap: 0.45rem;
  }

  .decanter-menu-toggle {
    grid-area: toggle;
  }

  .decanter-search-form {
    max-width: none;
  }

  .decanter-primary-navigation {
    display: none;
  }

  .decanter-menu-toggle {
    display: inline-flex;
  }

  .decanter-logo {
    justify-self: center;
    width: min(42vw, 220px);
  }

  .decanter-logo img {
    max-height: 50px;
  }

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

@media (max-width: 560px) {
  .decanter-header-row {
    gap: 0.25rem;
  }

  .decanter-footer-grid {
    grid-template-columns: 1fr;
  }

  .decanter-footer-bottom .decanter-container {
    align-items: flex-start;
    flex-direction: column;
  }
}
