/**
 * MAGLINE Landing Pages Design System (Wholesale & Education)
 * Clean Modular Stylesheet for InSales Themes
 */

/* ==========================================================================
   1. СБРОС КОНТЕЙНЕРОВ ТЕМЫ INSALES (Растягивание фона на 100% ширины)
   ========================================================================== */

body:has(.magline-landing-wrap) .layout,
body:has(.magline-landing-wrap) .layout__content,
body:has(.magline-landing-wrap) .layout__main,
body:has(.magline-landing-wrap) .page-content,
body:has(.magline-landing-wrap) .page-block,
body:has(.magline-landing-wrap) .main-content,
body:has(.magline-landing-wrap) .page-wrapper,
body:has(.magline-landing-wrap) .content-wrapper,
body:has(.magline-landing-wrap) .site-content,
body:has(.magline-landing-wrap) .page {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body:has(.magline-landing-wrap) .page-header,
body:has(.magline-landing-wrap) .breadcrumb,
body:has(.magline-landing-wrap) .breadcrumbs,
body:has(.magline-landing-wrap) .page-title,
body:has(.magline-landing-wrap) [class*="widget-type_system_widget_v4_breadcrumbs"],
body:has(.magline-landing-wrap) [class*="widget-type_system_widget_v4_header"] {
  display: none !important;
}

.magline-landing-wrap {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  background-color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

.magline-landing-wrap *,
.magline-landing-wrap *::before,
.magline-landing-wrap *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.magline-landing-wrap a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.magline-landing-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   2. ЦЕНТРИРОВАННЫЙ КОНТЕЙНЕР 1280px И СЕКЦИИ
   ========================================================================== */
.magline-landing-wrap .ml-container {
  width: 100% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
  box-sizing: border-box !important;
}

.magline-landing-wrap .ml-section {
  width: 100% !important;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
  box-sizing: border-box !important;
  position: relative;
  scroll-margin-top: 72px;
}

.magline-landing-wrap .ml-section--white { background-color: #ffffff !important; }
.magline-landing-wrap .ml-section--limestone { background-color: #f4f3ee !important; }
.magline-landing-wrap .ml-section--subtle { background-color: #fafaf8 !important; }

.magline-landing-wrap .ml-section-header {
  margin-bottom: 44px;
}

.magline-landing-wrap .ml-section-title {
  font-size: 34px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  text-wrap: balance;
}

.magline-landing-wrap .ml-section-desc {
  font-size: 16.5px;
  color: #64748b;
  line-height: 1.6;
  max-width: 620px;
  text-wrap: balance;
}

/* ==========================================================================
   3. ФИКСИРОВАННАЯ ШАПКА
   ========================================================================== */
.magline-landing-wrap .ml-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.magline-landing-wrap .ml-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.magline-landing-wrap .ml-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.magline-landing-wrap .ml-logo-img {
  height: 38px;
  max-height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.magline-landing-wrap .ml-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.magline-landing-wrap .ml-nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: #64748b;
  transition: color 0.15s ease;
}

.magline-landing-wrap .ml-nav-link:hover {
  color: #0f172a;
}

.magline-landing-wrap .ml-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.magline-landing-wrap .ml-header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: #0f172a;
}

.magline-landing-wrap .ml-header-phone::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2321513d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
}

.magline-landing-wrap .ml-header-phone svg {
  display: none !important;
}

.magline-landing-wrap .ml-header-phone:hover {
  color: #21513d;
}

/* ==========================================================================
   4. КНОПКИ
   ========================================================================== */
.magline-landing-wrap .ml-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.magline-landing-wrap .ml-btn--primary {
  background: #21513d;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(33, 81, 61, 0.16);
}

.magline-landing-wrap .ml-btn--primary:hover {
  background: #173b2c;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(33, 81, 61, 0.24);
}

.magline-landing-wrap .ml-btn--outline {
  background: transparent;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.magline-landing-wrap .ml-btn--outline:hover {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.25);
}

.magline-landing-wrap .ml-btn--sm {
  height: 38px;
  padding: 0 18px;
  font-size: 13.5px;
}

.magline-landing-wrap .ml-btn--lg {
  height: 52px;
  padding: 0 30px;
  font-size: 15.5px;
}

/* ==========================================================================
   5. ГЛАВНЫЙ ЭКРАН (HERO) И СЛАЙДЕР
   ========================================================================== */
.magline-landing-wrap .ml-hero {
  padding: 80px 0 64px;
  background: #ffffff;
}

.magline-landing-wrap .ml-hero-grid {
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr !important;
  gap: 48px !important;
  align-items: center !important;
}

.magline-landing-wrap .ml-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.magline-landing-wrap .ml-brand-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #21513d;
  margin-bottom: 14px;
  display: inline-block;
}

.magline-landing-wrap .ml-hero-h1 {
  font-size: 43px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  text-wrap: balance;
}

.magline-landing-wrap .ml-hero-desc {
  font-size: 17px;
  color: #1e293b;
  line-height: 1.62;
  margin-bottom: 28px;
  text-wrap: balance;
}

.magline-landing-wrap .ml-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.magline-landing-wrap .ml-wb-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #1e293b;
  background: transparent;
  border: none;
  padding: 0;
  width: fit-content;
}

.magline-landing-wrap .ml-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f59e0b;
}

.magline-landing-wrap .ml-stars:empty::before,
.magline-landing-wrap .ml-stars::before {
  content: '★★★★★';
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
}

.magline-landing-wrap .ml-stars svg {
  display: none !important;
}

.magline-landing-wrap .ml-wb-tag {
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  padding: 0;
}

.magline-landing-wrap .ml-rating-bold {
  font-weight: 600;
  color: #0f172a;
}

.magline-landing-wrap .ml-stats-strip {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin-top: 32px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.magline-landing-wrap .ml-stat-item {
  display: flex;
  flex-direction: column;
}

.magline-landing-wrap .ml-stat-num {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 3px;
}

.magline-landing-wrap .ml-stat-label {
  font-size: 13px;
  color: #64748b;
  line-height: 1.35;
}

.magline-landing-wrap .ml-hero-photo-box {
  background: #f1f5f9;
  border-radius: 24px;
  overflow: hidden;
  width: 100%;
  height: 480px;
  min-height: 480px;
  max-height: 480px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: block;
}

.magline-landing-wrap .ml-hero-gallery {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.magline-landing-wrap .ml-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.22s ease;
}

.magline-landing-wrap .ml-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.magline-landing-wrap .ml-slider-arrow::before {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  border-top: 2.5px solid #0f172a;
  border-right: 2.5px solid #0f172a;
  position: absolute;
  top: 50%;
  left: 50%;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.magline-landing-wrap .ml-slider-arrow--prev { left: 14px; }
.magline-landing-wrap .ml-slider-arrow--next { right: 14px; }

.magline-landing-wrap .ml-slider-arrow--prev::before {
  transform: translate(-38%, -50%) rotate(-135deg);
}

.magline-landing-wrap .ml-slider-arrow--next::before {
  transform: translate(-62%, -50%) rotate(45deg);
}

.magline-landing-wrap .ml-slider-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.magline-landing-wrap .ml-slider-arrow svg {
  display: none !important;
}

.magline-landing-wrap .ml-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 5px 9px;
  border-radius: 9999px;
  z-index: 10;
}

.magline-landing-wrap .ml-slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.magline-landing-wrap .ml-slider-dot.active {
  background: #ffffff;
  width: 18px;
  border-radius: 9999px;
}

/* ==========================================================================
   6. КАРТОЧКИ КАТАЛОГА (2 БЛОК)
   ========================================================================== */
.magline-landing-wrap .ml-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

.magline-landing-wrap .ml-card {
  background: #ffffff !important;
  border-radius: 18px !important;
  padding: 22px 22px 24px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
  text-decoration: none !important;
  color: inherit !important;
}

.magline-landing-wrap .ml-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(33, 81, 61, 0.3) !important;
}

.magline-landing-wrap .ml-card-img-wrap {
  width: 100% !important;
  height: 200px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  margin-bottom: 16px !important;
  background: #f8fafc !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

.magline-landing-wrap .ml-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.35s ease !important;
}

.magline-landing-wrap .ml-card:hover .ml-card-img {
  transform: scale(1.04) !important;
}

.magline-landing-wrap .ml-card-badge {
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  color: #21513d !important;
  background: #eef5f1 !important;
  border: 1px solid rgba(33, 81, 61, 0.12) !important;
  padding: 3px 9px !important;
  border-radius: 6px !important;
  margin-bottom: 10px !important;
  width: fit-content !important;
}

.magline-landing-wrap .ml-card-title {
  font-size: 19px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  margin-bottom: 8px !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
}

.magline-landing-wrap .ml-card-text {
  font-size: 14px !important;
  color: #64748b !important;
  line-height: 1.55 !important;
  margin-bottom: 18px !important;
  flex-grow: 1 !important;
}

.magline-landing-wrap .ml-mini-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 12.5px;
}

.magline-landing-wrap .ml-mini-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.magline-landing-wrap .ml-mini-table tr:last-child {
  border-bottom: none;
}

.magline-landing-wrap .ml-mini-table td {
  padding: 6px 0;
  color: #64748b;
  font-weight: 400;
}

.magline-landing-wrap .ml-mini-table td:last-child {
  text-align: right;
  color: #0f172a;
  font-weight: 500;
}

/* ==========================================================================
   7. ТАБЛИЦА ХАРАКТЕРИСТИК (3 БЛОК)
   ========================================================================== */
.magline-landing-wrap .ml-table-section-header {
  margin-top: 64px;
  margin-bottom: 22px;
}

.magline-landing-wrap .ml-table-section-title {
  font-size: 23px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.magline-landing-wrap .ml-table-section-desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.45;
}

.magline-landing-wrap .ml-table-wrap {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.04);
}

.magline-landing-wrap .ml-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 620px;
}

.magline-landing-wrap .ml-table th {
  background: #eef5f1;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  white-space: nowrap;
}

.magline-landing-wrap .ml-table td {
  padding: 14px 20px;
  font-size: 14.5px;
  color: #0f172a;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  white-space: nowrap;
}

.magline-landing-wrap .ml-table tr:last-child td {
  border-bottom: none;
}

.magline-landing-wrap .ml-table tr:hover td {
  background: #f8f8f6;
}

.magline-landing-wrap .ml-table-product {
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  min-width: 240px;
}

/* ==========================================================================
   7.1 О КОМПАНИИ (БЛОК ПОСЛЕ ТАБЛИЦЫ ТОВАРОВ)
   ========================================================================== */
.magline-landing-wrap .ml-about-grid {
  display: grid !important;
  grid-template-columns: 0.9fr 1.1fr !important;
  gap: 52px !important;
  align-items: center !important;
}

.magline-landing-wrap .ml-about-photo-box {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.06);
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  display: block;
}

.magline-landing-wrap .ml-about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.magline-landing-wrap .ml-about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.magline-landing-wrap .ml-about-title {
  font-size: 34px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  text-wrap: balance;
}

.magline-landing-wrap .ml-about-desc {
  font-size: 17px;
  color: #1e293b;
  line-height: 1.65;
  text-wrap: balance;
}

/* ==========================================================================
   8. СКЛАД И КОНТРОЛЬ КАЧЕСТВА (5 БЛОК)
   ========================================================================== */
.magline-landing-wrap .ml-solution-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

.magline-landing-wrap .ml-solution-item {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 26px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.magline-landing-wrap .ml-solution-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background-color: #eef5f1;
  border: 1px solid rgba(33, 81, 61, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #21513d;
  margin-bottom: 16px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 22px 22px;
}

.magline-landing-wrap .ml-solution-grid .ml-solution-item:nth-child(1) .ml-solution-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2321513d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
}

.magline-landing-wrap .ml-solution-grid .ml-solution-item:nth-child(2) .ml-solution-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2321513d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}

/* Education landing page: 2nd icon is child safety / heart */
body:has(#edu-hero-image) .magline-landing-wrap .ml-solution-grid .ml-solution-item:nth-child(2) .ml-solution-icon,
.magline-landing-wrap .ml-solution-icon--heart {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2321513d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E") !important;
}

.magline-landing-wrap .ml-solution-grid .ml-solution-item:nth-child(3) .ml-solution-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2321513d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18M9 21V9'/%3E%3C/svg%3E");
}

.magline-landing-wrap .ml-solution-icon svg {
  display: none !important;
}

.magline-landing-wrap .ml-solution-title {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.magline-landing-wrap .ml-solution-desc {
  font-size: 14.5px;
  color: #1e293b;
  line-height: 1.6;
}

/* ==========================================================================
   9. ДОСТАВКА И ДОГОВОР (4 БЛОК)
   ========================================================================== */
.magline-landing-wrap .ml-terms-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
}

.magline-landing-wrap .ml-terms-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 34px 28px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.magline-landing-wrap .ml-terms-title {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.magline-landing-wrap .ml-terms-list {
  list-style: none;
}

.magline-landing-wrap .ml-terms-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: #1e293b;
  margin-bottom: 11px;
  line-height: 1.55;
}

.magline-landing-wrap .ml-terms-list li:last-child {
  margin-bottom: 0;
}

.magline-landing-wrap .ml-terms-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #21513d;
  font-weight: 600;
}

/* ==========================================================================
   10. ФИНАЛЬНЫЙ CTA
   ========================================================================== */
.magline-landing-wrap .ml-cta-section {
  padding: 76px 0;
  background: #ffffff;
  scroll-margin-top: 72px;
}

.magline-landing-wrap .ml-cta-section a[href^="tel"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.magline-landing-wrap .ml-cta-section a[href^="tel"]::before {
  content: '';
  display: inline-block;
  width: 17px;
  height: 17px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
}

.magline-landing-wrap .ml-cta-section a[href^="tel"] svg {
  display: none !important;
}

/* ==========================================================================
   InSales CMS Integration & Page Layout Overrides (Zero Leak, Full-Width)
   ========================================================================== */

/* 1. Hide InSales default header & breadcrumbs on landing pages */
body:has(.magline-landing-wrap) .widget-type_system_widget_v4_header_2,
body:has(.magline-landing-wrap) .widget-type_system_widget_v4_breadcrumbs_1,
.page_layout:has(.magline-landing-wrap) .widget-type_system_widget_v4_header_2,
.page_layout:has(.magline-landing-wrap) .widget-type_system_widget_v4_breadcrumbs_1 {
  display: none !important;
}

/* 2. Unconstrain Page Content Widget and Layouts to allow 100% full-width edge-to-edge backgrounds */
body:has(.magline-landing-wrap) .widget-type_widget_v4_page_content_1_3be00a0fcce18f27739272effc73ed62,
.page_layout:has(.magline-landing-wrap) .widget-type_widget_v4_page_content_1_3be00a0fcce18f27739272effc73ed62,
.widget-type_widget_v4_page_content_1_3be00a0fcce18f27739272effc73ed62 {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

body:has(.magline-landing-wrap) .layout__content,
.page_layout:has(.magline-landing-wrap) .layout__content,
body:has(.magline-landing-wrap) .page_layout,
body:has(.magline-landing-wrap) main {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 3. Remove space between landing and official InSales footer */
body:has(.magline-landing-wrap) main,
body:has(.magline-landing-wrap) .page_layout {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body:has(.magline-landing-wrap) .widget-type_system_widget_v4_footer_20_1,
.page_layout:has(.magline-landing-wrap) .widget-type_system_widget_v4_footer_20_1,
.widget-type_system_widget_v4_footer_20_1 {
  margin-top: 0 !important;
}

/* ==========================================================================
   11. НАТИВНОЕ МОДАЛЬНОЕ ОКНО INSALES (QUICK CHECKOUT)
   ========================================================================== */
.m-overlay,
.jquery-modal.blocker {
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 100000 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  box-sizing: border-box !important;
}

.m-modal.m-modal--checkout,
#insales-quick-checkout-dialog {
  background: #ffffff !important;
  border-radius: 24px !important;
  max-width: 480px !important;
  width: 100% !important;
  padding: 0 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.18) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Inter', 'Segoe UI', Arial, sans-serif !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  z-index: 100001 !important;
  overflow: hidden !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
}

.m-modal.m-modal--checkout .m-modal-wrapper {
  padding: 34px 28px !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.m-modal.m-modal--checkout .m-modal-heading {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 18px !important;
  line-height: 1.25 !important;
}

/* Скрываем дублирующую плагинную кнопку jquery.modal */
.jquery-modal .close-modal,
.jquery-modal.blocker > .close-modal,
.m-modal .close-modal,
a.close-modal {
  display: none !important;
}

/* Нативная кнопка закрытия InSales модального окна */
.m-modal.m-modal--checkout .m-modal-close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  background: #f1f5f3 !important;
  border: none !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 9999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #475569 !important;
  box-shadow: none !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  z-index: 10 !important;
}

.m-modal.m-modal--checkout .m-modal-close:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.m-modal.m-modal--checkout .m-input {
  margin-bottom: 14px !important;
  position: relative !important;
}

.m-modal.m-modal--checkout .m-input-label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  margin-bottom: 5px !important;
}

.m-modal.m-modal--checkout .m-input-field {
  width: 100% !important;
  height: 46px !important;
  padding: 0 14px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  background: #ffffff !important;
  font-size: 15px !important;
  color: #0f172a !important;
  outline: none !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  box-sizing: border-box !important;
}

.m-modal.m-modal--checkout textarea.m-input-field {
  height: auto !important;
  min-height: 76px !important;
  padding: 10px 14px !important;
  resize: vertical !important;
}

.m-modal.m-modal--checkout .m-input-field:focus {
  border-color: #21513d !important;
  box-shadow: 0 0 0 3px rgba(33, 81, 61, 0.12) !important;
}

.m-modal.m-modal--checkout .m-input--checkbox {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin-top: 10px !important;
  margin-bottom: 16px !important;
}

.m-modal.m-modal--checkout .m-input--checkbox input[type="checkbox"] {
  margin-top: 3px !important;
  accent-color: #21513d !important;
  cursor: pointer !important;
}

.m-modal.m-modal--checkout .m-input-caption {
  font-size: 11.5px !important;
  color: #64748b !important;
  line-height: 1.4 !important;
}

.m-modal.m-modal--checkout .m-modal-footer {
  margin-top: 16px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.m-modal.m-modal--checkout .m-modal-button--checkout,
.m-modal.m-modal--checkout .button--checkout {
  width: 100% !important;
  height: 50px !important;
  background: #21513d !important;
  color: #ffffff !important;
  font-size: 15.5px !important;
  font-weight: 500 !important;
  border-radius: 9999px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(33, 81, 61, 0.2) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.m-modal.m-modal--checkout .m-modal-button--checkout:hover,
.m-modal.m-modal--checkout .button--checkout:hover {
  background: #173b2c !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(33, 81, 61, 0.28) !important;
}

.m-modal.m-modal--checkout .m-modal-errors {
  color: #dc2626 !important;
  font-size: 13px !important;
  margin-bottom: 12px !important;
}

/* ==========================================================================
   12. АДАПТИВ (МЕДИА-ЗАПРОСЫ)
   ========================================================================== */
@media (max-width: 1024px) {
  .magline-landing-wrap .ml-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .magline-landing-wrap .ml-about-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .magline-landing-wrap .ml-about-content {
    order: 1 !important;
  }
  .magline-landing-wrap .ml-about-photo-box {
    order: 2 !important;
    max-height: 400px;
  }
  .magline-landing-wrap .ml-cards-grid,
  .magline-landing-wrap .ml-solution-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .magline-landing-wrap .ml-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .magline-landing-wrap .ml-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  .magline-landing-wrap .ml-about-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .magline-landing-wrap .ml-about-content {
    order: 1 !important;
  }
  .magline-landing-wrap .ml-about-photo-box {
    order: 2 !important;
    max-height: 320px;
    border-radius: 18px;
  }
  .magline-landing-wrap .ml-about-title {
    font-size: 25px !important;
    line-height: 1.22 !important;
    margin-bottom: 12px !important;
  }
  .magline-landing-wrap .ml-about-desc {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  .magline-landing-wrap .ml-cards-grid,
  .magline-landing-wrap .ml-solution-grid,
  .magline-landing-wrap .ml-terms-grid,
  .magline-landing-wrap .ml-stats-strip {
    grid-template-columns: 1fr !important;
  }
  .magline-landing-wrap .ml-nav-links {
    display: none !important;
  }
}
