.mobile-menu-toggle,
.mobile-menu-close,
.mobile-menu-overlay {
  display: none;
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 16px !important;
  }

  body {
    padding-top: 0 !important;
  }

  body.mobile-menu-open {
    overflow: hidden !important;
  }

  .header-fixed {
    position: static !important;
  }

  .header-inner {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-template-areas:
      "logo phone toggle"
      "search search search" !important;
    align-items: center !important;
    gap: 12px 16px !important;
    box-sizing: border-box !important;
  }

  .logo {
    grid-area: logo;
  }

  .logo img {
    width: 96px !important;
    height: 58px !important;
  }

  .phone-header {
    grid-area: phone;
    justify-self: end !important;
    margin: 0 !important;
    gap: 4px !important;
  }

  .phone-header img {
    width: 25px !important;
    height: 25px !important;
    margin: 0 !important;
  }

  .phone-header span {
    width: auto !important;
    font-size: 17px !important;
    line-height: 24px !important;
  }

  .mobile-menu-toggle {
    grid-area: toggle;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: 1px solid rgba(6, 100, 49, .3) !important;
    border-radius: 50% !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    cursor: pointer !important;
  }

  .mobile-menu-toggle span {
    width: 20px !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: #066431 !important;
  }

  .search-block {
    grid-area: search;
    width: 100% !important;
    max-width: none !important;
    height: 44px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .search-block input {
    width: auto !important;
    font-size: 18px !important;
  }

  .search-block button {
    min-width: 32px !important;
    min-height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1002 !important;
    width: min(84vw, 320px) !important;
    max-width: none !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 84px 24px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    overflow-y: auto !important;
    background: #fff !important;
    box-shadow: -8px 0 30px rgba(0, 0, 0, .16) !important;
    box-sizing: border-box !important;
    transform: translateX(105%) !important;
    visibility: hidden !important;
    transition: transform .25s ease, visibility .25s ease !important;
  }

  .nav-links::before {
    content: "Меню" !important;
    position: absolute !important;
    top: 27px !important;
    left: 24px !important;
    font-size: 24px !important;
    line-height: 30px !important;
    font-weight: 500 !important;
    color: #066431 !important;
  }

  body.mobile-menu-open .nav-links {
    transform: translateX(0) !important;
    visibility: visible !important;
  }

  .mobile-menu-close {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #e3eacf !important;
    color: #066431 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 32px !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  .nav-links a,
  .nav-links a.wide {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 58px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 16px 4px !important;
    border: 0 !important;
    border-bottom: 1px solid #e3eacf !important;
    border-radius: 0 !important;
    justify-content: flex-start !important;
    font-size: 22px !important;
    line-height: 26px !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  .mobile-menu-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1001 !important;
    display: block !important;
    background: rgba(0, 0, 0, .42) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity .25s ease, visibility .25s ease !important;
  }

  body.mobile-menu-open .mobile-menu-overlay {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .footer {
    min-height: 0 !important;
    padding: 40px 16px 24px !important;
  }

  .footer-grid {
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }

  .footer-col1,
  .footer-column:nth-child(1) {
    order: 1 !important;
  }

  .footer-col2 {
    display: contents !important;
  }

  .footer-col2 > h4,
  .footer-column:nth-child(3) {
    order: 2 !important;
  }

  .footer-location {
    order: 3 !important;
    margin-top: 0 !important;
  }

  .footer-col3,
  .footer-column:nth-child(2) {
    order: 4 !important;
  }

  .copyright {
    order: 5 !important;
    margin: 0 !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, .2) !important;
    font-size: 16px !important;
    line-height: 24px !important;
    white-space: normal !important;
    text-align: left !important;
  }

  .footer h4,
  .footer-column h4,
  .footer-col2 h4,
  .footer-col3 h4 {
    margin: 0 0 16px !important;
    font-size: 20px !important;
    line-height: 26px !important;
  }

  .footer .social-title {
    margin-top: 28px !important;
  }

  .footer .social-links {
    margin-top: 14px !important;
    gap: 18px !important;
    flex-wrap: wrap !important;
  }

  .footer .social-links img,
  .footer .social-links a img {
    width: 46px !important;
    height: 46px !important;
  }

  .subscribe {
    width: 100% !important;
    max-width: 360px !important;
    height: 50px !important;
    margin-top: 16px !important;
    box-sizing: border-box !important;
  }

  .subscribe input {
    font-size: 20px !important;
  }

  .footer-location-row {
    grid-template-columns: 36px minmax(0, 1fr) !important;
    margin-bottom: 16px !important;
    font-size: 17px !important;
    line-height: 26px !important;
  }

  .footer-location-row img {
    width: 30px !important;
    height: 30px !important;
    margin-top: 0 !important;
  }

  .footer-location-row.road img {
    width: 28px !important;
    height: 28px !important;
    margin-left: 2px !important;
  }

  .contact-row {
    min-height: 36px !important;
    font-size: 17px !important;
    line-height: 26px !important;
  }

  .contact-row:nth-of-type(1) {
    margin-top: 0 !important;
  }

  .contact-row:nth-of-type(2),
  .contact-row:nth-of-type(3) {
    margin-top: 10px !important;
  }

  .footer-column p {
    font-size: 17px !important;
    line-height: 26px !important;
  }

  .bar {
    height: 60px !important;
  }

  .bar h2 {
    font-size: 32px !important;
    line-height: 38px !important;
  }

  .hero {
    height: auto !important;
    aspect-ratio: 1440 / 663 !important;
    margin-top: 0 !important;
  }

  .hero-slide {
    background-size: 100% auto !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  .slider-btn {
    display: none !important;
  }

  .about-brand {
    height: auto !important;
    padding: 40px 16px 44px !important;
    gap: 24px !important;
  }

  .about-brand::before {
    left: -190px !important;
    top: -100px !important;
    width: 520px !important;
    height: 520px !important;
  }

  .about-img {
    width: 100% !important;
    max-width: 320px !important;
  }

  .about-img img {
    width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
    object-fit: contain !important;
  }

  .about-text {
    width: 100% !important;
    font-size: 20px !important;
    line-height: 28px !important;
  }

  .prod-section {
    padding: 40px 16px !important;
  }

  .prod-grid {
    max-width: 360px !important;
    gap: 20px !important;
  }

  .prod-cat {
    height: auto !important;
    padding-bottom: 24px !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #e3eacf !important;
  }

  .prod-cat::before {
    display: none !important;
  }

  .prod-cat img {
    height: 240px !important;
  }

  .prod-cat h3 {
    margin-top: 16px !important;
    font-size: 28px !important;
    line-height: 34px !important;
  }

  .prod-cat hr {
    width: 180px !important;
    margin: 12px auto 16px !important;
  }

  .prod-cat p {
    padding: 0 16px !important;
    font-size: 19px !important;
    line-height: 25px !important;
  }

  .novelties-wrap {
    padding: 40px 16px 48px !important;
  }

  .novelty-card {
    flex-basis: 82% !important;
  }

  .novelty-card p {
    min-height: 96px !important;
    padding: 16px 14px 20px !important;
    font-size: 18px !important;
    line-height: 24px !important;
  }

  .where-buy {
    height: auto !important;
    padding: 40px 16px !important;
  }

  .where-buy .shop-links {
    height: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px 12px !important;
  }

  .where-buy .optom-btn {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: min(100%, 280px) !important;
    height: 52px !important;
    font-size: 22px !important;
  }

  .where-buy .shop {
    justify-self: center !important;
    max-width: 100% !important;
  }

  .where-buy .shop--framed {
    width: min(100%, 180px) !important;
    height: 54px !important;
  }

  .where-buy .shop--wb {
    width: min(100%, 170px) !important;
    height: 48px !important;
  }

  .where-buy .shop--ozon {
    width: min(100%, 140px) !important;
    height: 48px !important;
  }

  .feedback {
    height: auto !important;
    padding: 36px 16px 40px !important;
  }

  .feedback h3 {
    font-size: 28px !important;
    line-height: 36px !important;
  }

  .feedback p {
    font-size: 20px !important;
    line-height: 26px !important;
  }

  .feedback p br {
    display: none !important;
  }

  .form-row {
    max-width: 360px !important;
    margin-top: 24px !important;
    gap: 14px !important;
  }

  .form-input,
  .submit-btn {
    height: 48px !important;
    font-size: 20px !important;
  }

  .crumbs-row {
    margin-top: 20px !important;
    gap: 12px !important;
  }

  .breadcrumbs {
    font-size: 16px !important;
    line-height: 24px !important;
  }

  .page-tools {
    gap: 4px !important;
  }

  .tool-btn {
    width: 40px !important;
    height: 40px !important;
  }

  .product-top {
    margin-top: 24px !important;
  }

  .product-top .info {
    display: contents !important;
  }

  .product-top .info h1 {
    order: 1 !important;
    font-size: 26px !important;
    line-height: 32px !important;
  }

  .product-top .gallery-col {
    order: 2 !important;
    width: 100% !important;
    max-width: 360px !important;
    align-self: center !important;
  }

  .product-top .actions {
    order: 3 !important;
    width: 100% !important;
    margin-top: 24px !important;
    gap: 12px !important;
  }

  .product-top .advantages {
    order: 4 !important;
    width: 100% !important;
    margin-top: 32px !important;
  }

  .main-image {
    max-width: min(100%, 320px) !important;
    max-height: 450px !important;
  }

  .thumbs {
    width: 100% !important;
    justify-content: center !important;
    gap: 8px !important;
    padding-bottom: 4px !important;
  }

  .thumb {
    flex-basis: 64px !important;
    width: 64px !important;
    height: 92px !important;
  }

  .packs {
    margin-top: 20px !important;
    gap: 10px !important;
  }

  .pack {
    width: 58px !important;
    height: 58px !important;
    font-size: 18px !important;
  }

  .actions .btn {
    flex: 1 1 100% !important;
    width: 100% !important;
    height: 52px !important;
    font-size: 20px !important;
  }

  .actions .mp-links {
    width: 100% !important;
    margin: 4px auto 0 !important;
    justify-content: center !important;
  }

  .rich img,
  .rich img.img-right {
    float: none !important;
    display: block !important;
    max-width: min(100%, 280px) !important;
    margin: 16px auto !important;
  }

  .rich img.wide {
    max-width: 100% !important;
  }

  .rich table {
    display: block !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    font-size: 15px !important;
  }

  .rich td,
  .rich th {
    padding: 6px 8px !important;
  }

  .rich table.kv td:first-child {
    min-width: 100px !important;
  }

  .rec-row {
    justify-content: start !important;
  }

  .video iframe,
  .video video {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }

  .catalog-layout {
    padding-top: 10px !important;
  }

  .sidebar {
    margin-bottom: 20px !important;
    padding: 12px !important;
  }

  .sidebar-block h3 {
    margin-bottom: 10px !important;
    font-size: 18px !important;
  }

  div#categoryList {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  #categoryList .sidebar-category {
    width: 100% !important;
    max-width: none !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #d7dfcc !important;
    border-radius: 12px !important;
    background: #f7f9f3 !important;
    color: #066431 !important;
    font-size: 16px !important;
    line-height: 20px !important;
    text-align: center !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }

  #categoryList .sidebar-category[data-id="57"],
  #categoryList .sidebar-category[data-id="48"],
  #categoryList .sidebar-category[data-id="63"],
  #categoryList .sidebar-category[data-id="64"] {
    display: flex !important;
  }

  #categoryList .sidebar-category.active {
    border-color: #066431 !important;
    background: #066431 !important;
    color: #fff !important;
  }

  .product-item .product-info {
    padding: 10px !important;
  }

  .product-item .product-title {
    min-height: 54px !important;
    font-size: 14px !important;
    line-height: 18px !important;
    -webkit-line-clamp: 3 !important;
  }

  .product-item .product-packs {
    font-size: 12px !important;
    line-height: 16px !important;
  }

  .product-item .product-btn {
    min-height: 44px !important;
    padding: 10px 6px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
  }

  .pagination {
    flex-wrap: wrap !important;
  }

  .pagination button {
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 8px 12px !important;
  }

  .page-title {
    padding-top: 32px !important;
  }

  .contact-bar {
    width: 100% !important;
    max-width: 360px !important;
    margin: 28px auto 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: start !important;
    gap: 14px !important;
  }

  .cb-item {
    font-size: 18px !important;
    line-height: 26px !important;
  }

  .cb-social {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-top: 8px !important;
  }

  .cb-social span {
    font-size: 20px !important;
    line-height: 26px !important;
  }

  .cb-social .social-links {
    gap: 16px !important;
  }

  .location {
    padding-top: 36px !important;
  }

  .loc-grid {
    gap: 36px !important;
  }

  .loc-col h3 {
    font-size: 22px !important;
  }

  .loc-row {
    grid-template-columns: 36px minmax(0, 1fr) !important;
    font-size: 17px !important;
    line-height: 25px !important;
  }

  .loc-row img {
    width: 30px !important;
    height: 30px !important;
  }

  .market,
  .retail {
    padding-top: 40px !important;
  }

  .fb-row {
    gap: 20px !important;
  }

  .fb-message {
    font-size: 18px !important;
    line-height: 26px !important;
  }
}

@media (max-width: 380px) {
  .header-inner {
    gap: 10px 8px !important;
  }

  .logo img {
    width: 84px !important;
  }

  .phone-header span {
    font-size: 16px !important;
  }

  .footer .social-links {
    gap: 14px !important;
  }
}
