/* ==========================================================================
   GLOBAL.CSS — Стили header, footer, callback popup для ВСЕХ страниц.
   На WooCommerce-страницах shop.css дублирует эти стили через .spb-shop.
   Здесь все правила — без .spb-shop, чтобы они работали на Elementor-страницах.
   Reset скоупирован только на .header, .footer, .callback-popup.
   ========================================================================== */

/* Убираем браузерную обводку при клике/фокусе на всех элементах сайта
   ========================================================================== */
*:focus,
*:focus-visible {
  outline: none !important;
}

/* Скрыть поиск и корзину на страницах услуг (не WooCommerce) */
body:not(.woocommerce-page):not(.single-product):not(.archive.product) .header__search,
body:not(.woocommerce-page):not(.single-product):not(.archive.product) .header__catalog-wrapper,
body:not(.woocommerce-page):not(.single-product):not(.archive.product) .header__min-order,
body:not(.woocommerce-page):not(.single-product):not(.archive.product) .header__cart-wrapper {
    display: none !important;
}

a.header__phone_mobile {
    position: absolute;
    top: 25px;
}

/* Scoped reset — только для header, footer, callback popup.
   НЕ трогаем Elementor-контент.
   ========================================================================== */
.header *,
.header *::before,
.header *::after,
.footer *,
.footer *::before,
.footer *::after,
.callback-popup *,
.callback-popup *::before,
.callback-popup *::after,
.price-filter-popup *,
.price-filter-popup *::before,
.price-filter-popup *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.header,
.footer,
.callback-popup,
.price-filter-popup {
  font-family:
    "Nunito Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Ubuntu,
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #000000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.header img,
.footer img {
  max-width: 100%;
  height: auto;
  display: block;
}

.header a,
.footer a {
  text-decoration: none;
  color: inherit;
}

.header ul,
.header ol,
.footer ul,
.footer ol {
  list-style: none;
}

.header button,
.footer button,
.callback-popup button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}

.header input,
.header select,
.header textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* Page wrapper
   ========================================================================== */
body {
  overflow-x: hidden;
}

.page {
  max-width: 1920px;
  margin: 0 auto;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  width: 100%;
}

/* Top bar — жёлтая полоса */
.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px max(20px, calc((100% - 1160px) / 2));
  background: #ffcc33;
}

.header__top-left {
  display: flex;
  align-items: center;
  gap: 35px;
}

.header__logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header__logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.header__logo img {
  display: block !important;
  height: 72px !important;
  width: auto !important;
  max-height: 72px !important;
  max-width: 145px !important;
  object-fit: contain !important;
}

.header__logo-tagline {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-family:
    "Nunito",
    "Nunito Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #3e3e3e;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  border: none;
  padding: 0;
}

.header__logo-title {
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #3e3e3e;
  margin: 0;
  white-space: nowrap;
}

.header__logo-sub {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  color: #3e3e3e;
  margin: 4px 0 0;
  padding-left: 18px;
  white-space: nowrap;
}

.header__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header__phone,
.header__email {
  white-space: nowrap;
}

.header__address {
  width: 215px;
  font-family: "Nunito Sans";
  line-height: 30px;
  padding: 0px 0 3px 0;
}

.header__top-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__social {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header__social_mobile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 0 0 0;
}

.header__social-link {
  display: block;
  flex-shrink: 0;
}

.header__social-link img {
  width: 24px;
  height: 24px;
  object-fit: cover;
}

.header__social-link--max img {
  width: 20px;
  height: 20px;
}

.header .header__callback {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  background: #ffffff;
  border-radius: 7px;
  box-shadow: 0 1px 3px 0 rgba(96, 103, 4, 0.1);
  white-space: nowrap;
}

/* Navigation bar — серая полоса */
.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px max(20px, calc((100% - 1160px) / 2));
  background: #f4f4f4;
}

.header__nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header__nav-item {
  position: relative;
}

.header__nav-link,
.header__nav-link-text {
  white-space: nowrap;
}

.header__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header__nav-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s ease;
}

.header__nav-item--has-children:hover .header__nav-caret,
.header__nav-item--has-children:focus-within .header__nav-caret {
  transform: rotate(180deg);
}

.header__nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  display: none;
  min-width: 240px;
  margin-top: 12px;
  padding: 12px 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  list-style: none;
}

.header__nav-dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.header__nav-item--has-children:hover > .header__nav-dropdown,
.header__nav-item--has-children:focus-within > .header__nav-dropdown {
  display: block;
}

.header__nav-subitem {
  display: block;
}

.header__nav-sublink {
  display: block;
  padding: 9px 20px;
  color: #3e3e3e;
  font-size: 14px;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.header__nav-sublink:hover,
.header__nav-sublink:focus {
  background: #f4f4f4;
  color: #000;
}

/* Toolbar — поисковая строка */
.header__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px max(20px, calc((100% - 1160px) / 2));
  background: #ffffff;
  gap: 30px;
}

.header__catalog-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #868686;
  flex-shrink: 0;
}

.header__catalog-btn img {
  width: 17px;
  height: 17px;
  object-fit: cover;
}

/* --- Catalog dropdown --- */
.header__catalog-wrapper {
  position: relative;
  flex-shrink: 0;
}

.header__catalog-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  padding: 0;
  width: 580px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.12),
    0 1px 4px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
  z-index: 1000;
  box-sizing: border-box;
}

/* Invisible hover bridge */
.header__catalog-wrapper::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px;
  display: none;
}

.header__catalog-wrapper:hover::after {
  display: block;
}

.header__catalog-wrapper:hover .header__catalog-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 20px;
}

.header__catalog-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #1a1a1a;
  transition: background 0.15s ease;
}

.header__catalog-item:hover {
  background: #f2f3f5;
}

.header__catalog-item-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
}

.header__catalog-item-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  color: inherit;
}

@media (max-width: 768px) {
  .header__catalog-dropdown {
    position: fixed;
    top: auto;
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: none;
    max-height: 70vh;
    overflow-y: auto;
    margin-top: 0;
    padding: 0;
    border-radius: 20px;
    transform: translateY(20px);
  }

  .header__catalog-wrapper:hover .header__catalog-dropdown {
    transform: translateY(0);
  }

  .header__catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .header__catalog-grid {
    grid-template-columns: 1fr;
  }
}

.header__search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  padding: 7px 15px;
  background: #f4f4f4;
  border-radius: 7px;
}

.header__search-input {
  flex-grow: 1;
  color: #868686;
  background: transparent;
  font-size: 15px;
  line-height: 20px;
}

.header__search-input::placeholder {
  color: #868686;
}

.header__search-btn {
  flex-shrink: 0;
}

.header__search-btn img {
  width: 24px;
  height: 24px;
  object-fit: cover;
}

.header__min-order {
  width: 106px;
  flex-shrink: 0;
  line-height: 20.46px;
}

.header__cart-wrapper {
  position: relative;
  flex-shrink: 0;
}

.header .header__cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 150px;
  height: 50px;
  padding: 10px 20px;
  background: #3e3e3e;
  border-radius: 7px;
  box-shadow: 0 1px 3px 0 rgba(96, 103, 4, 0.1);
  color: #ffffff;
  white-space: nowrap;
  font-family:
    "Nunito Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Ubuntu,
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
}

.header__cart img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

.header__cart-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 4px 8px;
  background: #ffcc33;
  border-radius: 40px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #111111;
  white-space: nowrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 30px max(20px, calc((100% - 1160px) / 2));
  background: #f4f4f4;
  width: 100%;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  width: 290px;
}

.footer__logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer__logo {
  flex-shrink: 0;
}

.footer__logo img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.footer__logo-tagline {
  display: flex;
  flex-direction: column;
  font-family: "Nunito", "Nunito Sans", sans-serif;
  color: #3e3e3e;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
  padding-left: 0;
  border-left: none;
}

.footer__logo-tagline-title,
.footer__logo-tagline-sub {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #3e3e3e;
  line-height: 1.4;
}

.footer__schedule {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__schedule-label {
  font-size: 13px;
  color: #868686;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.footer__schedule-line {
  font-size: 14px;
  color: #868686;
  line-height: 1.5;
}

.footer__address {
  width: 100%;
  max-width: 260px;
  font-size: 14px;
  line-height: 1.5;
  color: #3e3e3e;
}

.footer__privacy {
  color: #868686;
}

.footer__legal {
  color: #868686;
  line-height: 1.5;
}

.footer__bottom {
  width: 100%;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e4e4e4;
}

.footer__bottom .footer__legal {
  display: block;
  width: 100%;
  font-size: 13px;
  color: #868686;
}

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

.footer__nav-link {
  display: block;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
}

/* Address inside the brand column needs more breathing room */
.footer__brand .footer__address {
  width: 100%;
  max-width: 260px;
}

/* ==========================================================================
   CALLBACK POPUP
   ========================================================================== */
.callback-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.callback-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.callback-popup__container {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.callback-popup__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #868686;
  cursor: pointer;
  line-height: 1;
}

.callback-popup__close:hover {
  color: #3e3e3e;
}

.callback-popup__title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #3e3e3e;
  margin: 0 0 8px;
}

.callback-popup__desc {
  font-size: 14px;
  color: #868686;
  margin: 0 0 24px;
}

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

.callback-popup__input {
  padding: 12px 16px;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Inter", sans-serif;
  color: #3e3e3e;
  outline: none;
  transition: border-color 0.2s;
}

.callback-popup__input:focus {
  border-color: #e4e4e4;
}

.callback-popup__submit {
  padding: 14px;
  background: #ffcc33;
  color: #3e3e3e;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Nunito Sans", sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}

.callback-popup__submit:hover {
  background: #e6b800;
}

.callback-popup__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.callback-popup__status {
  text-align: center;
  font-size: 14px;
  margin-top: 8px;
}

.callback-popup__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.callback-popup__consent input[type="checkbox"] {
  margin: 2px 0 0;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.callback-popup__consent span {
  flex: 1;
}

.callback-popup__consent a {
  color: #3e3e3e;
  text-decoration: underline;
}

.callback-popup__consent a:hover {
  color: #ff383c;
}

/* ==========================================================================
   CATALOG FILTER BAR (кнопка "Наличие и цена" в dropdown каталога)
   ========================================================================== */

.header__catalog-filter-bar {
  padding: 14px 20px 10px;
  border-bottom: 1px solid #f0f0f0;
}

.header__catalog-filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Nunito Sans", sans-serif;
  font-size: 15px;
  color: #3e3e3e;
  padding: 6px 10px;
  border-radius: 8px;
  width: 100%;
}

.header__catalog-filter-btn:hover {
  background: none;
  color: #3e3e3e;
}

.header__catalog-filter-arrow {
  margin-left: auto;
}

/* ==========================================================================
   PRICE/STOCK FILTER POPUP
   ========================================================================== */

.price-filter-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-filter-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.price-filter-popup__container {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 32px 36px 36px !important;
  max-width: 400px;
  display: flex;
  gap: 35px;
  flex-direction: column;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  z-index: 1;
  border-top: 4px solid #ffcc33;
}

.price-filter-popup__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #868686;
  cursor: pointer;
  line-height: 1;
}

.price-filter-popup__close:hover {
  color: #3e3e3e;
}

.price-filter-popup__title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #3e3e3e;
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.price-filter-popup__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-filter-popup__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-filter-popup__label {
  font-size: 14px;
  color: #868686;
}

.price-filter-popup__select,
.price-filter-popup__input {
  padding: 11px 16px;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Nunito Sans", sans-serif;
  color: #3e3e3e;
  outline: none;
  background: #fff;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.price-filter-popup__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23868686' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.price-filter-popup__input[type="number"]::-webkit-inner-spin-button,
.price-filter-popup__input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.price-filter-popup__input[type="number"] {
  -moz-appearance: textfield;
}

.price-filter-popup__select:focus,
.price-filter-popup__input:focus {
  border-color: #e4e4e4;
}

.price-filter-popup__range {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-filter-popup__range .price-filter-popup__input {
  flex: 1;
}

.price-filter-popup__range-sep {
  color: #868686;
  font-size: 18px;
  flex-shrink: 0;
}

.price-filter-popup__submit {
  padding: 13px;
  background: #ffcc33;
  color: #3e3e3e;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: "Nunito Sans", sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  letter-spacing: 0.02em;
}

.price-filter-popup__submit:hover {
  background: #e6b800;
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */

/* Mobile top bar — hidden on desktop */
.header__mobile-bar {
  display: none;
}

/* Burger button */
.header .header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.header .header__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #3e3e3e;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

/* Overlay + drawer container */
.mobile-menu {
  display: none;
}

.mobile-menu--open {
  display: block;
}

.mobile-menu__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-menu--open .mobile-menu__overlay {
  opacity: 1;
}

/* Drawer */
.mobile-menu__drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: calc(100vw - 60px);
  background: #fff;
  z-index: 9999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

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

/* Drawer header */
.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 20px 24px;
  flex-shrink: 0;
}

.mobile-menu__logo img {
  height: auto;
  width: 100px;
}

.mobile-menu__tagline {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: "Nunito", "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #3e3e3e;
  line-height: 1;
}

.mobile-menu__tagline-title {
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  font-size: 33px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #3e3e3e;
  margin: 0;
  white-space: nowrap;
}

.mobile-menu__tagline-sub {
  font-family: "Nunito", sans-serif;
  font-weight: 200;
  font-size: 11px;
  line-height: 1;
  color: #3e3e3e;
  margin: 2px 0 0;
  padding-left: 10px;
  white-space: nowrap;
}

.header .mobile-menu__close {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 28px;
  color: #868686;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.header .mobile-menu__close:hover {
  background: #f4f4f4;
  color: #3e3e3e;
}

/* Shortcuts row: Каталог ... Корзина */
.mobile-menu__shortcuts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 20px;
  gap: 12px;
}

.mobile-menu__shortcuts .mobile-menu__shortcut {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #1a1a1a;
  border-radius: 10px;
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: background 0.15s ease;
  position: relative;
}

.mobile-menu__shortcuts .mobile-menu__shortcut:hover {
  background: #3e3e3e;
}

.mobile-menu__shortcut img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.mobile-menu__shortcut-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 2px 5px;
  background: #ffcc33;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #111;
}

/* Navigation links */
.mobile-menu__nav {
  padding: 8px 24px 16px;
  border-top: 1px solid #f0f0f0;
}

.mobile-menu__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu__nav-list li a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: color 0.15s ease;
}

.mobile-menu__nav-list li:last-child a {
  border-bottom: none;
}

.mobile-menu__nav-list li a:hover {
  color: #ffcc33;
}

/* Contacts */
.mobile-menu__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 24px;
  border-top: 1px solid #f0f0f0;
}

.mobile-menu__contacts .mobile-menu__phone {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.mobile-menu__contacts .mobile-menu__email {
  font-size: 14px;
  color: #868686;
  text-decoration: none;
}

.mobile-menu__contacts .mobile-menu__email:hover {
  color: #1a1a1a;
}

.mobile-menu__address {
  font-size: 13px;
  color: #868686;
  line-height: 1.5;
}

/* Bottom: social + callback */
.mobile-menu__bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 24px 32px;
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  margin-top: auto;
  border-top: 1px solid #f0f0f0;
}

.mobile-menu__social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mobile-menu__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #3e3e3e;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.mobile-menu__social a:hover {
  background: #555555;
}

.mobile-menu__social img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.mobile-menu__bottom .mobile-menu__callback.header__callback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  background: #3e3e3e;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.15s ease;
  white-space: nowrap;
}

.mobile-menu__bottom .mobile-menu__callback.header__callback:hover {
  background: #555555;
}

/* Body lock when menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* ==========================================================================
   RESPONSIVE — Media Queries
   ========================================================================== */
@media (max-width: 1200px) {
  .header__address {
    display: none;
  }

  .header__min-order {
    display: none;
  }

  .header__logo-title {
    font-size: 37px;
  }

  .header__logo-sub {
    font-size: 12px;
    padding-left: 14px;
  }
}

@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }

  .footer {
    flex-wrap: wrap;
    gap: 24px 30px;
    padding: 30px 24px;
    padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px));
  }

  .footer__brand {
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid #e4e4e4;
    gap: 12px;
  }

  .footer__logo img {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 768px) {
  /* Show mobile bar, hide desktop header sections */
  .header__mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffcc33;
  }

  .header__mobile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .header__top,
  .header__nav,
  .header__toolbar {
    display: none;
  }

  /* Smaller logo on mobile */
  .header__logo--mobile img {
    width: auto;
    height: 48px;
  }

  .footer {
    padding: 24px 16px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    gap: 0;
  }

  .footer__brand {
    padding-bottom: 20px;
    border-bottom: 1px solid #e4e4e4;
    gap: 10px;
  }

  .footer__logo img {
    width: 70px;
    height: 70px;
  }

  .footer__privacy {
    font-size: 13px;
  }

  .footer__legal {
    font-size: 12px;
    line-height: 16px;
  }

  .footer__nav {
    padding: 16px 0;
    border-bottom: 1px solid #e4e4e4;
    gap: 10px;
  }

  .footer__nav-link {
    font-size: 14px;
  }

  .footer__contacts {
    padding-top: 16px;
    gap: 10px;
  }

  .footer__phone {
    font-size: 17px;
    font-weight: 600;
  }

  .footer__email {
    font-size: 14px;
  }

  .footer__address {
    width: 100%;
    font-size: 13px;
    color: #868686;
    line-height: 18px;
  }
}

@media (max-width: 480px) {
  .header__top-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .callback-popup__container {
    margin: 15px;
    padding: 24px;
  }

  .price-filter-popup__container {
    margin: 15px;
    padding: 30px 20px;
  }

  .footer {
    padding: 20px 16px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .footer__brand {
    padding-bottom: 16px;
    gap: 8px;
  }

  .footer__nav {
    padding: 14px 0;
    gap: 8px;
  }

  .footer__nav-link {
    font-size: 13px;
  }

  .footer__contacts {
    padding-top: 14px;
    gap: 8px;
  }

  .footer__phone {
    font-size: 16px;
  }

  .footer__address {
    font-size: 12px;
    line-height: 16px;
  }
}