@media (max-width: 1429px) {
  .site-header__nav {
    gap: 17px;
    font-size: 14px;
  }

  .site-header__desktop-main {
    gap: 22px;
  }

  .site-header__actions {
    gap: 14px;
  }

  .delivery-benefits__grid {
    grid-template-columns: 45% 48%;
  }

  .newsletter {
    grid-template-columns: 40% 1fr;
    gap: 40px;
  }

  .newsletter__controls {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .footer-navigation__links {
    gap: 20px;
  }

  .footer-contacts {
    grid-template-columns: repeat(4, minmax(0, auto));
  }

  .payment-methods {
    grid-column: 4;
  }

  .footer-legal nav {
    gap: 24px;
  }
}

@media (max-width: 1199px) {
  .site-header__desktop {
    display: none !important;
  }

  .site-header {
    top: 54px;
  }

  .page-inner .site-header {
    top: auto;
  }

  .site-header__mobile {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    height: 110px;
  }

  .site-header__mobile-side {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .site-header__mobile-side--right {
    gap: 24px;
  }

  .site-header__mobile .site-header__logo {
    width: 76px;
    height: 108px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
  }

  /* Mobile menu */
  .mobile-nav {
    position: fixed;
    z-index: 100;
    top: 46px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    padding: 0 20px 32px;
    overflow-x: hidden;
    overflow-y: auto;
    color: var(--color-brown, #382921);
    background: var(--color-cream, #f7f3ed);
    box-sizing: border-box;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overscroll-behavior: contain;
  }

  .mobile-nav-open .mobile-nav {
    transform: translateX(0);
  }

  /* Верхня частина з хрестиком і логотипом */
  .mobile-nav__head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    flex: 0 0 auto;
    height: 112px;
    border: 0;
  }

  .mobile-nav__close {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--color-brown, #382921);
    background: transparent;
  }

  .mobile-nav__close-icon {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
  }

  .mobile-nav__close-icon::before,
  .mobile-nav__close-icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 1px;
    background: currentColor;
    content: "";
  }

  .mobile-nav__close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-nav__close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .mobile-nav__close:hover,
  .mobile-nav__close:focus {
    opacity: 0.65;
    outline: none;
  }

  .mobile-nav__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: 78px;
    height: 104px;
  }

  .mobile-nav__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .mobile-nav__head-space {
    display: block;
    width: 44px;
    height: 44px;
  }

  /* Основна навігація */
  .mobile-nav nav {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    padding: 8px 0 0;
  }

  .mobile-nav nav > a,
  .mobile-nav nav .mobile-nav__item-row {
    border: 0;
  }

  .mobile-nav nav a {
    display: block;
    padding: 6px 0;
    border: 0;
    color: var(--color-brown, #382921);
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
  }

  .mobile-nav nav a:hover,
  .mobile-nav nav a:focus {
    color: var(--color-accent, #bd5050);
    outline: none;
  }

  .mobile-nav nav .mobile-nav__link--accent {
    color: var(--color-accent, #bd5050);
  }

  /* Рядок категорії з кнопкою плюс */
  .mobile-nav__item-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    align-items: center;
    border: 0;
  }

  .mobile-nav nav .mobile-nav__item-row > a {
    min-width: 0;
    padding: 6px 0;
    border: 0;
  }

  .mobile-nav__submenu-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-height: 32px;
    padding: 0;
    border: 0;
    color: var(--color-brown, #382921);
    background: transparent;
  }

  .mobile-nav__submenu-toggle:hover,
  .mobile-nav__submenu-toggle:focus-visible {
    background: rgba(56, 41, 33, 0.06);
  }

  .mobile-nav .category-toggle-icon::before,
  .mobile-nav .category-toggle-icon::after {
    background: currentColor;
  }

  /* Випадаючі категорії */
  .mobile-nav__submenu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition:
      max-height 0.32s ease,
      opacity 0.2s ease,
      visibility 0.32s ease;
  }

  .mobile-nav__dropdown.is-open > .mobile-nav__submenu {
    max-height: 760px;
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav nav .mobile-nav__submenu > a,
  .mobile-nav nav .mobile-nav__dropdown--nested > .mobile-nav__item-row > a {
    padding: 6px 0 6px 18px;
    border: 0;
    color: rgba(56, 41, 33, 0.78);
    font-size: 14px;
  }

  .mobile-nav nav .mobile-nav__submenu--nested > a {
    padding-left: 36px;
    color: rgba(56, 41, 33, 0.62);
  }

  /* Контактна інформація */
  .mobile-nav__contacts {
    display: grid;
    gap: 15px;
    margin-top: 34px;
    padding-bottom: 20px;
  }

  .mobile-nav__contacts-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 16px;
    align-items: center;
  }

  .mobile-nav__contact {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--color-brown, #382921);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
  }

  .mobile-nav__contact img {
    display: block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  a.mobile-nav__contact:hover,
  a.mobile-nav__contact:focus {
    color: var(--color-accent, #bd5050);
    outline: none;
  }

  .mobile-nav__instagram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
  }

  .mobile-nav__instagram img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
  }

  .mobile-nav__instagram:hover,
  .mobile-nav__instagram:focus {
    opacity: 0.75;
    outline: none;
  }

  /* Затемнення сторінки */
  .mobile-nav-backdrop {
    position: fixed;
    z-index: 90;
    top: 46px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    border: 0;
    opacity: 0;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.35);
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .mobile-nav-open .mobile-nav-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .delivery-benefits__grid {
    gap: 35px;
  }

  .delivery-benefits__intro h2 {
    font-size: 32px;
  }

  .footer-navigation__links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer-contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    color: #b5aaa3;
  }

  .payment-methods {
    grid-column: auto;
  }

  .footer-legal {
    gap: 30px;
  }

  .footer-legal nav {
    flex-wrap: wrap;
  }

  .footer-legal__credits {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 767px) {
  .container.oc-container {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .announcement-bar {
    height: 34px;
  }

  .announcement-bar__message {
    font-size: 12px;
    line-height: 16px;
  }
  .mobile-nav {
    top: 34px;
  }

  .mobile-nav-backdrop {
    top: 34px;
  }

  .mobile-nav__head {
    height: 110px;
  }

  .mobile-nav__logo {
    width: 72px;
    height: 100px;
  }
  .site-header {
    top: 42px;
  }

  .page-inner .site-header {
    top: auto;
    min-height: 106px;
    padding-top: 8px;
  }

  .site-header__mobile {
    height: 98px;
  }

  .site-header__mobile-side,
  .site-header__mobile-side--right {
    gap: 24px;
  }

  .site-header__mobile .site-header__logo {
    width: 69px;
    height: 98px;
  }

  .site-header__mobile .header-action {
    width: 32px;
    height: 32px;
    font-size: 26px;
  }

  .hamburger {
    width: 25px;
    height: 14px;
  }

  .header-search {
    height: 34px;
  }

  .header-search input,
  .header-search button {
    height: 34px;
  }

  .header-search button {
    flex-basis: 34px;
    width: 34px;
  }

  .header-search__submit img {
    width: 24px;
    height: 24px;
  }

  .header-search__close span::before,
  .header-search__close span::after {
    width: 18px;
  }

  .home-hero {
    height: 647px;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)),
      url("../image/hero-mobile.png");
    background-position: center -25px;
    background-size: 100% auto;
  }

  .home-hero__content {
    bottom: 24px;
  }

  .home-hero h1 {
    margin-bottom: 17px;
    font-size: 24px;
    line-height: 25px;
    letter-spacing: -0.4px;
  }

  .oc-button--light {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 20px;
  }

  .layout-stage {
    min-height: 300px;
    padding: 130px 0;
  }

  .inner-page-demo {
    min-height: 560px;
    padding: 13px 0 80px;
  }

  .inner-page-demo__breadcrumbs {
    gap: 18px;
    margin-bottom: 35px;
    font-size: 11px;
    line-height: 16px;
  }

  .inner-page-demo h1 {
    font-size: 24px;
    line-height: 25px;
  }

  .delivery-benefits {
    min-height: 469px;
    padding: 46px 0 34px;
  }

  .delivery-benefits__grid {
    display: block;
  }

  .delivery-benefits__intro h2 {
    margin-bottom: 42px;
    font-size: 21px;
    line-height: 29px;
  }

  .delivery-benefits__intro p {
    width: 100%;
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 16px;
  }

  .delivery-benefits__list {
    min-height: 248px;
    padding-left: 3px;
  }

  .delivery-benefits__list li {
    gap: 11px;
    min-height: 42px;
    font-size: 18px;
    line-height: 20px;
  }

  .delivery-benefits__icon {
    flex-basis: 42px;
    width: 42px;
    height: 34px;
  }

  .delivery-benefits__icon img {
    max-width: 34px;
    max-height: 34px;
  }

  .site-footer {
    min-height: 1156px;
  }

  .site-footer__inner {
    min-height: 1156px;
    padding-top: 172px;
    padding-bottom: 20px;
  }

  .site-footer__logo {
    top: 39px;
    width: 69px;
    height: 98px;
  }

  .newsletter {
    display: block;
  }

  .newsletter h2 {
    margin: 0 0 20px;
    font-size: 21px;
    line-height: 27px;
  }

  .newsletter__copy p {
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 16px;
  }

  .newsletter__controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .newsletter input[type="email"],
  .newsletter button {
    width: 100%;
    height: 40px;
  }

  .newsletter__consent {
    gap: 9px;
    margin-top: 12px;
    line-height: 16px;
  }

  .newsletter__checkbox {
    flex-basis: 23px;
    width: 23px;
    height: 23px;
    font-size: 13px;
  }

  .footer-navigation {
    align-items: flex-start;
    margin-top: 40px;
  }

  .footer-navigation__links {
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    gap: 0;
    font-size: 12px;
    line-height: 16px;
  }

  .footer-navigation__links a {
    margin-bottom: 8px;
  }

  .footer-navigation__links a:last-child {
    margin-bottom: 0;
  }

  .instagram-link {
    width: 31px;
    height: 31px;
    border-radius: 8px;
    font-size: 22px;
  }

  .footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 24px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
  }

  .footer-contact__icon,
  .footer-contact__icon img {
    flex-basis: 23px;
    width: 23px;
    height: 23px;
  }

  .footer-contact__icon {
    opacity: 1;
  }

  .payment-methods {
    margin-top: 8px;
  }

  .payment-methods > span {
    min-width: 85px;
    height: 38px;
  }

  .footer-legal {
    display: block;
    margin-top: 25px;
    font-size: 12px;
    line-height: 16px;
  }

  .footer-legal nav,
  .footer-legal__credits {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-legal nav a,
  .footer-legal__credits span {
    margin-bottom: 0;
  }

  .footer-legal__credits {
    margin-top: 14px;
    font-size: 12px;
    line-height: 16px;
  }
}

@media (max-width: 389px) {
  .site-header__mobile-side,
  .site-header__mobile-side--right {
    gap: 15px;
  }

  .site-header__mobile .site-header__logo {
    width: 62px;
  }

  .home-hero h1 {
    font-size: 22px;
  }

  .delivery-benefits__list li {
    font-size: 16px;
  }
}
