@charset "utf-8";

:root {
  --m-green: #3b8000;
  --m-green-dark: #2c6100;
  --m-green-light: #f2f8ec;
  --m-accent: #6a9400;
  --m-pink: #e7679a;
  --m-bg: #f6f7f5;
  --m-card: #ffffff;
  --m-text: #1f2937;
  --m-muted: #6b7280;
  --m-border: #e5e7eb;
  --m-radius: 14px;
  --m-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

html,
body {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: hidden !important;
  background-color: var(--m-bg);
  color: var(--m-text);
  -webkit-tap-highlight-color: transparent;
}

html.m_drawer_locked,
body.m_drawer_locked {
  overflow: hidden !important;
}

.page,
.middle,
.middle_full_width,
.middle_page,
.footer,
.footer_top_menu,
.footer_top_menu_block,
.footer_bott_all,
.footer_bottom,
.menu_2 {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.middle_full_width {
  background: var(--m-bg);
  padding: 0 10px 24px;
}

.middle_top_block {
  padding-top: 12px;
}

/* ==================== 1. МОБИЛЬНЫЙ ХЕДЕР И ВЫПЛЫВАЮЩЕЕ МЕНЮ ==================== */
.m_header_wrap {
  display: block;
  width: 100%;
  position: relative;
  z-index: 300;
}

.m_header {
  background: linear-gradient(155deg, #4b9608 0%, #2b6100 100%);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  box-shadow: 0 6px 20px rgba(43, 97, 0, 0.24);
  overflow: hidden;
}

.m_header_bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.m_drawer_toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.15s ease;
}

.m_drawer_toggle:active {
  transform: scale(0.96);
  background: rgba(255, 255, 255, 0.28);
}

.m_drawer_burger {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

.m_drawer_burger::before,
.m_drawer_burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 15px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

.m_drawer_burger::before {
  top: -5px;
}

.m_drawer_burger::after {
  top: 5px;
}

.m_header .rates {
  float: none;
  width: auto;
  padding: 4px 8px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  flex-shrink: 0;
}

.m_header .amd,
.m_header .rub,
.m_header .usd {
  float: none;
  margin: 0 2px;
}

.m_header .header_lang {
  float: none;
  width: auto;
  margin: 0;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  flex-shrink: 0;
}

.m_header .header_lang span {
  float: none;
  width: auto;
}

.m_header .header_lang a {
  display: inline-block;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.m_header .active_lang a {
  background: #ffffff;
  color: #2b6100;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.m_header_logo_row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px 14px;
}

.m_header_logo_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 12px;
}

.m_header_logo_link img {
  display: block;
  max-width: 164px;
  width: auto;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}

/* Выплывающее меню (Drawer) */
.m_drawer_backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(2px);
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.m_drawer_backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.m_drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 84vw;
  max-width: 325px;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: #ffffff;
  color: #1f2937;
  z-index: 9995;
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.24);
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.m_drawer.is-open {
  transform: translateX(0);
}

.m_drawer_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(155deg, #4b9608 0%, #2b6100 100%);
  color: #ffffff;
}

.m_drawer_title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.m_drawer_close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.m_drawer_body {
  padding: 14px 14px calc(28px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.m_drawer .menu_1 {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m_drawer .menu_1_item {
  float: none;
  width: 100%;
  border-radius: 10px;
  background: #f4f6f2;
  border: 1px solid #e6ece0;
}

.m_drawer .menu_1_item a,
.m_drawer .menu_item_ru_34 a, .m_drawer .menu_item_ru_31 a, .m_drawer .menu_item_ru_26 a, .m_drawer .menu_item_ru_36 a, .m_drawer .menu_item_ru_28 a, .m_drawer .menu_item_ru_30 a,
.m_drawer .menu_item_en_34 a, .m_drawer .menu_item_en_31 a, .m_drawer .menu_item_en_26 a, .m_drawer .menu_item_en_36 a, .m_drawer .menu_item_en_28 a, .m_drawer .menu_item_en_30 a {
  display: block;
  width: 100%;
  padding: 10px 12px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.m_drawer .sign_in_acc {
  display: flex;
  gap: 8px;
  float: none;
  width: 100%;
}

.m_drawer .sign_in_acc a {
  flex: 1;
  text-align: center;
  padding: 9px 10px;
  border-radius: 10px;
  background: #2b6100;
  color: #ffffff;
  border: none;
  text-indent: 0;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.m_drawer_tels {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m_drawer_tels a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  background: #f2f8ec;
  border: 1px solid #d7e8c6;
  color: #2b6100;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.m_drawer_actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m_drawer_btn {
  display: block;
  text-align: center;
  padding: 11px 12px;
  border-radius: 10px;
  background: #6a9400;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(106, 148, 0, 0.22);
}

.m_drawer_btn_cart {
  background: #2b6100;
  box-shadow: 0 3px 8px rgba(43, 97, 0, 0.22);
}

.m_drawer_search_input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  color: #1f2937;
  background: #f9fafb;
}

/* ==================== 1B. МОБИЛЬНОЕ МЕНЮ КАТЕГОРИЙ НА ГЛАВНОЙ ==================== */
.m_home_categories {
  display: none;
}

@media (max-width: 900px) {
  .cat_post_block {
    display: none !important;
  }

  .m_home_categories {
    display: block;
    margin: 6px 0 14px;
  }

  .m_home_cat_title {
    font-size: 16px;
    font-weight: 700;
    color: var(--m-green-dark);
    margin-bottom: 10px;
    padding-left: 4px;
  }

  .m_home_cat_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .m_home_cat_card {
    position: relative;
    background: var(--m-card);
    border: 1px solid var(--m-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--m-shadow);
  }

  .m_home_cat_link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 8px 10px;
    text-decoration: none;
    color: var(--m-text);
    gap: 8px;
  }

  .m_home_cat_link img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
  }

  .m_home_cat_link span {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--m-text);
  }

  .m_home_cat_expand {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    color: var(--m-green-dark);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .m_home_subcats {
    display: none;
    padding: 6px 8px 10px;
    border-top: 1px solid #f0f2ef;
    background: #fafbf9;
  }

  .m_home_subcats.is-open {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .m_subcat_group {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .m_subcat_row {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .m_subcat_link {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    color: var(--m-green-dark);
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--m-border);
  }

  .m_subcat_toggle {
    width: 24px;
    height: 26px;
    border-radius: 7px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: var(--m-green-dark);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
  }

  .m_thirdcats {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding-left: 10px;
  }

  .m_thirdcats.is-open {
    display: flex;
  }

  .m_thirdcat_link {
    font-size: 11.5px;
    color: #374151;
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 7px;
    background: #f2f8ec;
    border: 1px solid #d7e8c6;
  }
}

/* ==================== 2. САЙДБАР, КАТЕГОРИИ И ФИЛЬТР ==================== */
.m_sidebar_cats_chevron {
  display: none;
}

.sidebar,
.category_content,
.page_content,
.product_content,
.account_left,
.account_right {
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 12px 0;
}

.sidebar_categories {
  width: 100% !important;
  border: none;
  border-radius: var(--m-radius);
  background: var(--m-green);
  box-shadow: var(--m-shadow);
  padding: 6px;
}

@media (max-width: 900px) {
  .m_sidebar_cats_toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    margin: 0;
    cursor: pointer;
    color: #ffffff;
    font-size: 15px;
  }

  .m_sidebar_cats_chevron {
    display: inline-block;
    font-size: 12px;
    transition: transform 0.2s ease;
  }

  .sidebar_categories.is-open .m_sidebar_cats_chevron {
    transform: rotate(180deg);
  }

  .sidebar_categories .parent_ul {
    display: none;
  }

  .sidebar_categories.is-open .parent_ul {
    display: block;
  }
}

.parent_ul {
  float: none;
  width: 100% !important;
  padding: 4px;
}

.parent_li {
  background: rgba(255, 255, 255, 0.96) !important;
  border-radius: 10px;
  margin-bottom: 6px;
  padding: 10px 12px;
}

.parent_a {
  width: 100%;
  color: var(--m-text) !important;
  font-size: 14px;
}

.filter_sidebar {
  border-radius: var(--m-radius);
  background: var(--m-card);
  border: 1px solid var(--m-border);
  box-shadow: var(--m-shadow);
  padding: 14px;
  margin-top: 10px;
}

.min_max,
.left_right_val {
  padding: 6px 4px;
  font-size: 14px;
}

input.price_filter {
  display: block;
  width: 100%;
  margin: 10px 0 0;
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #ff9a24 0%, #f97316 100%);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 3px 10px rgba(249, 115, 22, 0.28);
}

.banners {
  display: none;
}

/* ==================== 3. ХЛЕБНЫЕ КРОШКИ, ЗАГОЛОВКИ И СОРТИРОВКА ==================== */
.navigation,
.nav_block {
  border-radius: 10px;
  background: var(--m-card);
  border: 1px solid var(--m-border);
  padding: 8px 12px;
  font-size: 12.5px;
  line-height: 1.45;
}

.category_content .cat_title,
.page_title {
  border-radius: 12px;
  background: var(--m-card);
  border-left: 4px solid var(--m-green);
  padding: 12px 14px;
  text-indent: 0;
  font-size: 16.5px;
  line-height: 1.35;
  color: var(--m-green-dark);
  box-shadow: var(--m-shadow);
  margin: 10px 0;
}

.category_content .cat_text,
.page_text {
  background: var(--m-card);
  border-radius: var(--m-radius);
  padding: 14px;
  width: 100%;
  margin: 10px 0;
  line-height: 1.55;
  box-shadow: var(--m-shadow);
  overflow-x: auto;
}

.products_block .sort_form {
  position: static;
  float: none;
  width: 100%;
  text-indent: 0;
  background: var(--m-card);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--m-border);
  margin: 8px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sort_form .a,
.sort_form .b {
  float: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.products_block .sort_form .sort,
.sort_form .b .count_show {
  height: 36px;
  border: 1px solid var(--m-border);
  border-radius: 8px;
  padding: 0 10px;
  background: var(--m-bg);
}

/* ==================== 4. ТАБЫ НА ГЛАВНОЙ И В ТОВАРЕ ==================== */
.offered_head {
  display: flex;
  gap: 8px;
  background: var(--m-card);
  padding: 6px;
  border-radius: 14px;
  box-shadow: var(--m-shadow);
}

.offerd_link,
.inaction_link,
.pr_psak_link,
.pr_desc_a,
.pr_tecnical_a {
  float: none;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 6px;
  border-radius: 10px;
  box-shadow: none;
}

.active_on {
  background: var(--m-green);
  color: #ffffff;
}

/* ==================== 5. КАРТОЧКИ ТОВАРОВ И КАТЕГОРИЙ ==================== */
.offered_content,
.list_of_part_item {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  left: 0;
  padding: 6px 0 16px;
}

@media (max-width: 359px) {
  .offered_content,
  .list_of_part_item,
  .m_home_cat_grid {
    grid-template-columns: 1fr;
  }
}

.product,
.item {
  float: none;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  background: var(--m-card);
  box-shadow: var(--m-shadow);
  padding: 10px 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pr_img {
  height: 145px;
  border-radius: 10px;
  background: #ffffff;
}

.pr_img img {
  max-height: 132px;
  max-width: 90%;
  object-fit: contain;
}

.shgarsh,
.shgarsh1 {
  display: none;
}

.pr_title {
  height: auto;
  min-height: 36px;
  margin-top: 8px;
  line-height: 1.3;
}

.pr_title a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--m-text);
}

.pr_code {
  font-size: 11.5px;
  color: var(--m-muted);
  margin: 4px 0;
}

.pr_price,
.pr_price1 {
  height: auto;
  font-size: 16px;
  font-weight: 800;
  color: var(--m-green-dark);
  margin: 4px 0;
}

.pr_price span,
.pr_price1 span {
  font-size: 16px;
  margin-top: 2px;
}

.buy_block {
  width: 100%;
  margin: 8px 0 0;
}

.buy_block a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 10px 8px 32px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  background-color: var(--m-accent);
  background-position: 12px center;
  background-size: 18px;
  box-shadow: 0 3px 8px rgba(106, 148, 0, 0.25);
}

/* ==================== 6. СТРАНИЦА ТОВАРА ==================== */
.images_pr,
.first_image,
.pr_right {
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 10px 0;
  border-radius: var(--m-radius);
  border: 1px solid var(--m-border);
  background: var(--m-card);
  box-shadow: var(--m-shadow);
}

.first_image {
  height: 250px;
}

.first_image img {
  max-height: 215px;
  max-width: 88%;
}

.pr_right {
  height: auto;
  padding: 12px;
}

.title_pr {
  width: 100%;
  padding: 6px 0 12px;
  font-size: 16px;
}

.pr_right_desc li {
  width: 100%;
  height: auto;
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.pr_right_desc li b,
.pr_right_desc li .value,
.stock_value {
  padding: 4px 0;
  margin-left: 0;
  float: none;
}

.buy_prod_block {
  float: none;
  width: 100%;
  margin: 14px 0 4px;
}

.buy_prod_block a,
.buy_out_stock {
  position: static;
  width: 100%;
  text-align: center;
  text-indent: 0;
  border-radius: 12px;
  padding: 12px;
  font-weight: 700;
}

.desc_body {
  border-radius: var(--m-radius);
  background: var(--m-card);
  border: 1px solid var(--m-border);
  padding: 12px;
  overflow-x: auto;
}

.desc_body table {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
}

.desc_body table td,
.desc_body table th {
  padding: 8px 10px;
  font-size: 13.5px;
  line-height: 1.4;
  word-break: break-word;
}

/* ==================== 7. ТАБЛИЦЫ, КОРЗИНА, ОФОРМЛЕНИЕ ЗАКАЗА И КАБИНЕТ ==================== */
.page_text table,
.cart_table table,
.account_left table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.page_text table td,
.page_text table th {
  padding: 7px 6px;
  line-height: 1.35;
  word-break: break-word;
}

.cart_title {
  text-indent: 0;
  text-align: center;
  padding: 16px 12px;
  background: var(--m-green);
  border-radius: 12px;
  margin-bottom: 10px;
}

.cart_table {
  background: var(--m-card);
  border-radius: var(--m-radius);
  padding: 10px;
  box-shadow: var(--m-shadow);
  overflow-x: auto;
  margin-bottom: 24px;
}

.cart_table tr td {
  padding: 8px 6px;
  font-size: 13.5px;
}

.cart_post_image_bl {
  width: 72px;
  height: 72px;
  float: none;
  display: block;
  margin: 0 auto;
}

.cart_prod_img {
  height: 72px;
}

.cart_prod_img img {
  height: 60px;
  max-width: 60px;
}

.cart_post_title {
  display: block;
  height: auto;
  text-align: center;
  font-size: 13px;
  margin-top: 4px;
}

.mpc_post {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mpc_post .cart_minus {
  margin-left: 0;
}

.cart_minus,
.cart_plus {
  width: 32px;
  padding: 16px 0;
}

.pr_count_in_cart {
  width: 38px;
  padding: 6px 0;
  font-size: 15px;
}

.all_price {
  padding: 12px;
  text-align: center;
  font-size: 17px;
}

.korzina_bottom {
  float: none;
  width: 100%;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.next_prod,
.aformit {
  float: none;
  width: 100%;
  text-align: center;
  text-indent: 0;
  padding: 12px 16px;
  font-size: 16px;
  border-radius: 12px;
  margin: 0;
}

.checkout_content {
  margin: 12px 0;
}

.checkout_guest,
.checkout_logedin,
.checkout_reg,
.checkout_new_user,
.checkout_login {
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 10px 0;
  padding: 18px 14px;
  border-radius: var(--m-radius);
  background-image: none;
  box-shadow: var(--m-shadow);
}

.checkout_guest label,
.checkout_logedin label,
.checkout_reg label,
form.polzovatel_form label {
  float: none;
  width: 100%;
  text-align: left;
  padding-right: 0;
  margin: 10px 0 4px;
}

.checkout_guest input,
.checkout_logedin input,
.checkout_reg input,
.polzovatel_form input,
select#esiminch_jam,
.order_punkt {
  width: 100%;
  max-width: 100%;
  height: 40px;
  border-radius: 10px;
}

.checkout_new_user .continue,
input.confirm_order,
.pay_button {
  position: static;
  float: none;
  width: 100%;
  margin: 12px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  text-align: center;
}

.delivery_cost {
  margin-left: 0;
}

.account_content {
  padding: 12px;
  margin: 10px 0;
  border-radius: var(--m-radius);
}

.account_left {
  overflow-x: auto;
  padding: 10px;
}

.account_left table {
  min-width: 440px;
}

.order_id b,
.tvyalner_right b {
  min-width: 115px;
}

/* ==================== 8. КОНТАКТЫ И ОБЫЧНЫЕ СТРАНИЦЫ ==================== */
.contact_page {
  border-radius: var(--m-radius);
  padding: 16px;
  border: 1px solid var(--m-border);
  box-shadow: var(--m-shadow);
}

.contact_left,
.contact_right {
  float: none;
  width: 100%;
  border-left: none;
  padding: 8px 0;
}

.contact_left p span {
  width: calc(100% - 42px);
  font-size: 14px;
}

.contact_right label {
  width: 100%;
  margin: 8px 0 4px;
}

.contact_right input[type="text"],
.contact_right input[type="email"],
.contact_right textarea {
  width: 100%;
  border-radius: 10px;
  padding: 10px 12px;
}

.contact_right input[type="submit"] {
  float: none;
  width: 100%;
  height: 42px;
  border-radius: 10px;
}

.page_image {
  float: none;
  width: 100%;
  height: auto;
  margin: 0 0 12px;
  border-radius: 12px;
  overflow: hidden;
}

.page_image img {
  width: 100%;
  height: auto;
}

/* ==================== 9. ФУТЕР (СКРЫТ НА МОБИЛЬНОЙ ВЕРСИИ) ==================== */
@media (max-width: 900px) {
  .footer,
  .footer_top_menu,
  .footer_top_menu_block,
  .footer_bott_all,
  .footer_bottom {
    display: none !important;
  }

  .middle_full_width {
    padding-bottom: 84px;
  }
}

@media (min-width: 901px) {
  .footer {
    display: block;
  }
}

/* ==================== ПЛАВАЮЩАЯ КОРЗИНА, ВЫДВИЖНАЯ КОРЗИНА И JIVOCHAT ==================== */
.m_floating_cart {
  display: none;
}

@media (max-width: 900px) {
  .m_floating_cart {
    position: fixed;
    left: 16px;
    right: auto;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(145deg, #4b9608 0%, #2b6100 100%);
    box-shadow: 0 8px 22px rgba(43, 97, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.92);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 9980;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.2s ease;
  }

  .m_floating_cart:active {
    transform: scale(0.94);
    box-shadow: 0 4px 14px rgba(43, 97, 0, 0.28);
  }

  .m_floating_cart_icon {
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .m_floating_cart_count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ff6b9d;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 17px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .m_cart_drawer {
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
  }

  .m_cart_foot {
    padding: 12px 14px calc(32px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    flex-shrink: 0;
  }

  jivo-iframe-container,
  [id^="jivo_"] {
    right: 12px !important;
    left: auto !important;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 9975 !important;
  }

  .checkout__order.m_cart_open {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 92vw !important;
    max-width: 380px !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
  }
}

@media (min-width: 901px) {
  .m_floating_cart {
    display: none !important;
  }
}

/* Միայն համակարգչի վրա (> 900px)՝ թաքցնում ենք մոբայլ բլոկը */
@media (min-width: 901px) {
  .m_home_categories,
  .m_header_wrap,
  .m_drawer,
  .m_drawer_backdrop,
  .m_floating_cart,
  .m_sidebar_cats_chevron {
    display: none !important;
  }

  .cat_post_block {
    display: block !important;
  }
}

/* Միայն հեռախոսի վրա (<= 900px)՝ ցույց ենք տալիս մոբայլ կատեգորիաների մենյուն */
@media (max-width: 900px) {
  .cat_post_block {
    display: none !important;
  }

  .m_home_categories {
    display: block !important;
  }
}