* { box-sizing: border-box; margin: 0; padding: 0; }

body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f4f5f7; }

.b2b-header {
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.b2b-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.b2b-header__logo img { height: 36px; width: auto; }
.b2b-header__logo-text { font-size: 20px; font-weight: 700; color: #1a2b4a; text-decoration: none; }

.b2b-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.b2b-nav__item {
  padding: 8px 18px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  color: #1a2b4a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.b2b-nav__item:hover,
.b2b-nav__item.active {
  background: #1e3a5f;
  border-color: #1e3a5f;
  color: #7cb518;
}

.b2b-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.b2b-btn-account {
  background: #1a2b4a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
}

.b2b-btn-account:hover { background: #1e3a5f; color: #7cb518; }

.b2b-cart-icon {
  position: relative;
  color: #1a2b4a;
  display: flex;
  align-items: center;
}

.b2b-cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #7cb518;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
#bottom { display: none !important; }
body { margin-bottom: 0 !important; }
#container { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.owl-dots { display: none !important; }
.owl-dots { display: none !important; }

.hidden { display: none; }

/* ===== MOBILE ===== */
.b2b-burger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #1a2b4a;
  cursor: pointer;
  padding: 4px 8px;
  order: -1;
}

@media (max-width: 768px) {
  .b2b-header__inner {
    padding: 0 16px;
    gap: 12px;
    position: relative;
  }
  .b2b-burger {
    display: block;
  }
  .b2b-header__nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    gap: 8px;
    border-top: 1px solid #e8eaed;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .b2b-header__nav.open {
    display: flex;
  }
  .b2b-nav__item {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
  .b2b-btn-account {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* ===== BURGER FIX ===== */
@media (max-width: 768px) {
  .b2b-burger span {
    background: #1a2b4a !important;
  }
  .b2b-burger {
    background: none !important;
    border: none !important;
  }
}

/* ===== BURGER SPANS FIX ===== */
@media (max-width: 768px) {
  .b2b-burger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 28px !important;
    height: 20px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }
  .b2b-burger span {
    display: block !important;
    width: 28px !important;
    height: 3px !important;
    background: #1a2b4a !important;
    border-radius: 2px !important;
  }
}

/* ===== HEADER OVERFLOW FIX ===== */
@media (max-width: 768px) {
  .b2b-header__inner {
    overflow: visible;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .b2b-header__logo {
    justify-content: flex-start;
    flex: 0 1 auto;
  }
  .b2b-header__logo img {
    height: 28px;
  }
  .b2b-header__actions {
    gap: 8px;
    flex-shrink: 0;
  }
  .b2b-btn-account {
    font-size: 12px;
    padding: 7px 10px;
    white-space: nowrap;
  }
  body {
    overflow-x: hidden;
  }
}

/* ===== MOBILE: HERO MAP ===== */
@media (max-width: 768px) {
  .b2b-hero__media {
    display: none !important;
  }
  .b2b-hero__layout {
    flex-direction: column !important;
  }
  .b2b-hero__content {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ===== MOBILE: WHY SECTION ===== */
@media (max-width: 768px) {
  .b2b-why__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .b2b-why__card {
    padding: 16px 12px !important;
  }
}

/* ===== MOBILE: HOW IT WORKS ===== */
@media (max-width: 768px) {
  .b2b-how__steps {
    flex-direction: column !important;
    gap: 0 !important;
  }
  .b2b-how__step {
    width: 100% !important;
  }
  .b2b-how__arrow {
    display: none !important;
  }
}

/* ===== MOBILE: FOOTER ===== */
@media (max-width: 768px) {
  .b2b-footer__inner {
    flex-direction: column !important;
    gap: 24px !important;
    padding: 24px 16px !important;
  }
  .b2b-footer__col {
    width: 100% !important;
  }
}

/* ===== MOBILE: FOOTER GAP FIX ===== */
@media (max-width: 768px) {
  .b2b-footer__inner {
    gap: 16px !important;
    padding: 20px 16px !important;
  }
}

/* ===== MOBILE: THANK YOU PAGE ===== */
@media (max-width: 768px) {
  .thank-you-page {
    padding: 32px 16px !important;
    text-align: center;
  }
  .thank-you-page__lead {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1a2b4a !important;
    margin-bottom: 12px !important;
  }
  .thank-you-page__order {
    font-size: 16px !important;
    color: #7cb518 !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
  }
  .thank-you-page__hint {
    font-size: 14px !important;
    color: #555 !important;
    line-height: 1.5 !important;
  }
  #information-information {
    min-height: auto !important;
  }
  .page-dv {
    padding: 0 !important;
  }
}

/* Перемикач мов */
.b2b-lang { position: relative; display: inline-block; }
.b2b-lang__current {
  background: none; border: 1px solid #d0d5dd; border-radius: 6px;
  padding: 6px 10px; font: 600 13px/1 'Plus Jakarta Sans', sans-serif;
  color: #0F223D; cursor: pointer;
}
.b2b-lang__dropdown {
  position: absolute; top: 100%; right: 0; margin-top: 4px;
  background: #fff; border: 1px solid #e4e7ec; border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.1); min-width: 130px;
  display: none; z-index: 100; overflow: hidden;
}
.b2b-lang__dropdown.open { display: block; }
.b2b-lang__item {
  display: block; padding: 9px 14px; font: 500 13px/1 'Plus Jakarta Sans', sans-serif;
  color: #0F223D; text-decoration: none;
}
.b2b-lang__item:hover { background: #f2f4f7; }
.b2b-lang__item.active { background: #5CB85C; color: #fff; }
