/* =========================================================
   MAQUA — layout fixes over Aguapure HTML + Moguta CMS
   ========================================================= */

:root {
  --thm-font: 'Montserrat', sans-serif;
  --thm-font-2: 'Montserrat', sans-serif;
}
html, body, .boxed_wrapper,
h1, h2, h3, h4, h5, h6,
button, input, select, textarea {
  font-family: 'Montserrat', sans-serif !important;
}

.loader-wrap,
.page_direction { display: none !important; }

html, body {
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto !important;
  max-width: 100%;
}
.boxed_wrapper {
  overflow: visible !important;
}

/* ---- Header (своя вёрстка, без CSS темы) ---- */
.maqua-header.main-header {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 100%;
  z-index: 200;
  background: #fff;
}
.maqua-header .sticky-header { display: none !important; }
.maqua-header .dropdown-btn { display: none !important; }

.maqua-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.maqua-topbar {
  background: #004da1;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}
.maqua-topbar .maqua-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  gap: 16px;
}
.maqua-topbar-left,
.maqua-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.maqua-topbar a { color: #fff; text-decoration: none; }
.maqua-topbar a:hover { color: #65cef5; }
.maqua-sep {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,.35);
  display: inline-block;
}
.maqua-topbar .auth,
.maqua-topbar .maqua-auth {
  display: flex;
  align-items: center;
  gap: 6px;
}
.maqua-topbar .auth a { color: #fff; }

.maqua-sticky {
  position: sticky;
  top: 0;
  z-index: 210;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 40, 80, .08);
}

.maqua-bar { border-bottom: 1px solid #eef2f7; }
.maqua-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}
.maqua-quick {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.maqua-msg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  color: #fff !important;
  transition: transform .15s ease, opacity .15s ease;
}
.maqua-msg svg {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}
.maqua-msg:hover {
  transform: translateY(-1px);
  opacity: .92;
  color: #fff !important;
}
.maqua-msg.is-tg { background: #229ed9; }
.maqua-msg.is-vb { background: #7360f2; }
.maqua-msg.is-phone { background: #1fa855; }
.maqua-msg.is-ig { background: #e4405f; }
.maqua-msg.is-tt { background: #111111; }
.maqua-msg.is-vk { background: #0077ff; }

.maqua-logo {
  display: flex;
  align-items: center;
  height: 64px;
  text-decoration: none !important;
  flex: 0 0 auto;
  line-height: 1;
}
.maqua-logo img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.maqua-logo-name { display: none; }

.maqua-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.maqua-header .shopping-cart-box,
.maqua-header .mg-desktop-cart {
  position: relative !important;
  right: auto !important;
  left: auto !important;
  top: auto !important;
  margin: 0 !important;
  float: none !important;
  display: block;
  z-index: 2;
}
.maqua-icon-btn,
.maqua-header .shopping-cart-box a {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1px solid #d7e3ef !important;
  background: #f4f8fc !important;
  color: #004da1 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  text-decoration: none !important;
  font-size: 16px;
  line-height: 1 !important;
}
.maqua-icon-btn:hover,
.maqua-header .shopping-cart-box a:hover {
  background: #004da1 !important;
  color: #fff !important;
  border-color: #004da1 !important;
}
.maqua-header .shopping-cart-box { margin: 0; }
.maqua-header .shopping-cart-box .count,
.maqua-header .shopping-cart-box .countsht {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 50%;
  background: #00b4ff;
  color: #fff;
  font-size: 11px;
  text-align: center;
  font-weight: 700;
}
.maqua-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 22px;
  background: #004da1;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
}
.maqua-cta:hover { background: #003776; color: #fff !important; }

.maqua-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px 8px;
  cursor: pointer;
}
.maqua-burger span {
  display: block;
  height: 2px;
  background: #004da1;
  margin: 6px 0;
  border-radius: 2px;
}

.maqua-navrow {
  background: #fff;
  border-bottom: 1px solid #e8eef5;
}
.maqua-header .nav-outer,
.maqua-header .main-menu,
.maqua-header .navbar-collapse {
  float: none !important;
  width: 100%;
  display: block !important;
  padding: 0;
}
.maqua-header .main-menu .navigation {
  display: flex !important;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: nowrap;
  float: none !important;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0;
}
.maqua-header .main-menu .navigation > li {
  position: relative;
  display: block !important;
  float: none !important;
  margin: 0 !important;
  flex: 1 1 auto;
  text-align: center;
}
.maqua-header .main-menu .navigation > li > a,
.maqua-header .main-menu .navigation > li.dropdown > a {
  display: block !important;
  padding: 14px 6px !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 700;
  color: #1a2a40 !important;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none !important;
}
.maqua-header .main-menu .navigation > li > a:before,
.maqua-header .main-menu .navigation > li > a span:before,
.maqua-header .main-menu .navigation > li.dropdown > a:after {
  display: none !important;
  content: none !important;
}
.maqua-header .main-menu .navigation > li:hover > a,
.maqua-header .main-menu .navigation > li.current > a {
  color: #004da1 !important;
}
.maqua-header .main-menu .navigation > li > ul {
  top: 100% !important;
  left: 0 !important;
  transform: none !important;
}

/* скрыть служебный попап-корзины Moguta, который ломает вёрстку */
.mg-layer { display: none !important; }
.mg-fake-cart {
  display: none !important;
}

/* ---- Hero: слайдер 50% + поставки ---- */
.maqua-hero {
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, #eef4fb 0%, #f7fafd 100%);
  padding: 16px 24px 10px;
}
.maqua-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  width: 100%;
  max-width: none;
}
.maqua-hero__slider,
.maqua-cms-slider.main-slider,
.maqua-cms-slider.main-slider.style1 {
  margin: 0;
  padding: 0;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 1600 / 712;
  border-radius: 22px;
  overflow: hidden;
  background: #e8eef5;
  box-shadow: 0 14px 40px rgba(0, 45, 110, .08);
}
.maqua-hero__slider .slider-box {
  min-height: 0 !important;
  height: 100%;
}
.maqua-cms-slider .m-p-slider-wrapper,
.maqua-cms-slider .m-p-slider-wrapper[style] {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  float: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
  position: relative;
}
.maqua-cms-slider .bx-wrapper,
.maqua-cms-slider .bx-viewport {
  max-width: 100% !important;
  width: 100% !important;
  box-shadow: none !important;
  border: 0 !important;
  background: transparent !important;
  height: 100% !important;
}
.maqua-cms-slider .bx-pager {
  bottom: 14px !important;
  position: absolute !important;
  width: 100%;
  margin: 0 !important;
  z-index: 5;
}
.maqua-cms-slider .nameaction {
  display: none !important;
}
.maqua-cms-slider .m-p-slide-unit,
.maqua-cms-slider .m-p-slide-unit a {
  display: block;
  width: 100% !important;
  height: 100%;
  background: #e8eef5;
}
.maqua-cms-slider .m-p-slide-unit img,
.maqua-hero__slider img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  display: block;
}

.unvizzible { display: none !important; }

.maqua-hero__aside {
  min-height: 0;
  align-self: stretch;
}
.maqua-deliv {
  height: 100%;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(0, 45, 110, .08);
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.maqua-deliv__today {
  font-size: 14px;
  color: #4a6380;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.maqua-deliv__today strong { color: #0b2a4a; }
.maqua-deliv__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
}
.maqua-deliv__badge.is-on { background: #e6f8ee; color: #147a3d; }
.maqua-deliv__badge.is-off { background: #fdecea; color: #b42318; }

.maqua-deliv__card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  background: linear-gradient(135deg, #004da1 0%, #0a6ad4 100%);
  color: #fff;
  border-radius: 18px;
  padding: 16px 18px;
}
.maqua-deliv__label {
  font-size: 13px;
  opacity: .85;
  margin-bottom: 2px;
}
.maqua-deliv__num {
  font-size: 72px;
  line-height: .85;
  font-weight: 800;
  letter-spacing: -2px;
}
.maqua-deliv__wday {
  font-size: 20px;
  font-weight: 700;
  margin-top: 6px;
}
.maqua-deliv__mon {
  font-size: 14px;
  text-transform: capitalize;
  opacity: .85;
}
.maqua-deliv__switch {
  appearance: none;
  border: 0;
  background: rgba(255,255,255,.16);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  align-self: end;
}
.maqua-deliv__switch:hover { background: rgba(255,255,255,.26); }

.maqua-deliv__week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.maqua-deliv__wd {
  text-align: center;
  border-radius: 12px;
  padding: 8px 0 7px;
  background: #f3f7fc;
  color: #35506d;
}
.maqua-deliv__wd span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .7;
}
.maqua-deliv__wd b {
  display: block;
  font-size: 16px;
  margin-top: 2px;
}
.maqua-deliv__wd.is-today {
  background: #004da1;
  color: #fff;
}
.maqua-deliv__wd.is-off:not(.is-today) {
  background: #fdecea;
  color: #b42318;
}
.maqua-deliv__wd.is-work:not(.is-today) b { color: #004da1; }

.maqua-deliv__hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.maqua-deliv__hours > div {
  background: #f3f7fc;
  border-radius: 14px;
  padding: 10px 12px;
}
.maqua-deliv__hours span {
  display: block;
  font-size: 12px;
  color: #5d7690;
}
.maqua-deliv__hours strong {
  display: block;
  color: #0b2a4a;
  font-size: 16px;
  margin-top: 2px;
}

.maqua-deliv__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #35506d;
  line-height: 1.45;
}
.maqua-deliv__facts li {
  padding: 6px 0 6px 18px;
  position: relative;
  border-top: 1px solid #edf2f8;
}
.maqua-deliv__facts li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1fa855;
}
.maqua-deliv__facts b { color: #0b2a4a; }

.maqua-deliv__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}
.maqua-deliv__order,
.maqua-deliv__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none !important;
}
.maqua-deliv__order {
  background: #004da1;
  color: #fff !important;
}
.maqua-deliv__order:hover { background: #00387a; color: #fff !important; }
.maqua-deliv__phone {
  background: #e8f8ee;
  color: #147a3d !important;
}
.maqua-deliv__phone:hover { background: #d5f3e0; }

/* ---- Breadcrumb внутренних страниц ---- */
.breadcrumb-area {
  padding: 70px 0 60px !important;
  margin-top: 0;
  min-height: 180px;
  display: flex;
  align-items: center;
}
.breadcrumb-area .bread-crumbs,
.breadcrumb-area .bread-crumbs a,
.breadcrumb-area [itemprop] {
  color: #fff !important;
}
.cat-desc-text table,
.maqua-page-content table {
  max-width: 100%;
}
.cat-desc-text img,
.maqua-page-content iframe {
  max-width: 100%;
  height: auto;
}

/* ---- Контент ---- */
.maqua-page-content { padding: 40px 0 70px; }
.maqua-page-content.is-index { padding: 0; }
.maqua-page-content.is-inner > .container {
  max-width: 1200px;
}
.maqua-page-content.is-inner > .container > .container,
.maqua-page-content.is-inner > .container .login-register-area .container,
.maqua-shop-wrap .auto-container,
.maqua-shop-wrap .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}
.maqua-shop-wrap {
  max-width: 1400px;
  padding-top: 10px;
}

.maqua-page-content .container.catalog-with-sidebar {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  max-width: 1400px;
}
.maqua-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.maqua-main-col { flex: 1; min-width: 0; }
.maqua-sidebar .cat-title { font-weight: 700; margin-bottom: 12px; font-size: 18px; }
.maqua-sidebar .mg-menu,
.maqua-sidebar ul { list-style: none; margin: 0; padding: 0; }
.maqua-sidebar .close-item { display: none; }
.maqua-sidebar li a {
  display: block;
  padding: 8px 0;
  color: #1d2b4a;
  text-decoration: none;
  border-bottom: 1px solid #eef2f7;
}
.maqua-sidebar li a:hover { color: #004da1; }
.maqua-sidebar .submenu {
  padding-left: 12px;
  margin-top: 4px;
}

/* ---- Карточки товаров ---- */
.shop-style1-area { padding: 20px 0 20px; }
.maqua-recommend-home {
  padding: 28px 0 12px;
  scroll-margin-top: 110px;
}
.maqua-recommend-home + .service-style1-area {
  padding-top: 36px;
}
.shop-style1-area .auto-container {
  max-width: 1400px !important;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px !important;
}
.shop-style1-area .sec-title {
  padding-top: 24px !important;
  padding-bottom: 28px !important;
}
.shop-style1_content,
.maqua-products-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  overflow: visible !important;
  margin: 0 !important;
  float: none !important;
}
.catalog-with-sidebar .maqua-products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.single-shop-item,
.product-wrapper.maqua-card {
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  height: auto !important;
  max-width: none !important;
  width: auto !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.single-shop-item_inner {
  padding: 16px 16px 20px !important;
  height: 100%;
  box-shadow: 0 10px 30px rgba(20,40,80,.08);
}
.single-shop-item_inner,
.maqua-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.single-shop-item .img-holder,
.maqua-card .product-image {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: #f5f8fb;
}
.single-shop-item .img-holder .overlay {
  z-index: 2;
}
.single-shop-item .img-holder img,
.maqua-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.maqua-card .title-holder,
.single-shop-item .title-holder {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.maqua-card .product-name a,
.single-shop-item .title-holder h3 a {
  color: #15233b;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
}
.maqua-card .product-description {
  color: #6b7a90;
  font-size: 14px;
  line-height: 1.5;
  margin: 8px 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.maqua-card .product-price,
.rate-box h3 {
  color: #004da1;
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0;
}
.maqua-card .product-quantity-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px 0;
  flex-wrap: nowrap;
}
.maqua-card .product-quantity-box .amount_change a {
  width: 28px;
  height: 28px;
  border: 1px solid #d7e0ea;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #004da1;
  background: #fff;
}
.maqua-card .product-quantity-box .amount_input {
  width: 40px !important;
  height: 28px;
  text-align: center;
  margin: 0 !important;
  padding: 0 !important;
}
.maqua-card .product-quantity-box .amount_change {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.maqua-card .product-quantity-box .amount_change span {
  font-size: 12px;
  color: #6b7a90;
  margin-right: 4px;
}
.maqua-card .product-quantity-box .rate-box { margin: 0; }
.maqua-card .product-quantity-box .rate-box h3 { margin: 0; font-size: 20px; }
.maqua-card .title-holder h6 {
  color: #00b4ff;
  font-size: 13px;
  font-weight: 600;
  margin: 6px 0 0;
}
.maqua-card .sticker-new {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: #00b4ff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}
.maqua-card .btn-box,
.maqua-card .product-buttons { margin-top: auto; }
.shop-page-one { padding-top: 20px !important; }
.shop-page-top-info { padding-bottom: 24px !important; }
.shop-page-top-info_inner {
  background: #f4f8fc;
  border-radius: 12px;
  padding: 16px 22px;
  gap: 16px;
}
.maqua-empty-cat,
.maqua-search-result { margin: 12px 0 24px; color: #334; }
.maqua-cat-seo { margin-top: 40px; }

/* ---- Категории каталога ---- */
.maqua-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 36px;
}
.maqua-cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(20,40,80,.08);
  color: #15233b;
  min-height: 100%;
  transition: transform .15s ease;
}
.maqua-cat-card:hover { transform: translateY(-3px); color: #004da1; }
.maqua-cat-card__img {
  display: block;
  height: 180px;
  background: #eef5fb;
  overflow: hidden;
  position: relative;
}
.maqua-cat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 12px;
}
.maqua-cat-card__body {
  padding: 14px 16px 18px;
  background: linear-gradient(180deg, #004da1 0%, #003776 100%);
}
.maqua-cat-card__title {
  display: block;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: #fff;
}
.maqua-cat-card__count {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.8);
}

/* ---- Главная: CTA и отзывы ---- */
.maqua-cta-messengers {
  padding: 40px 0;
}
.maqua-cta-messengers__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #004da1;
  color: #fff;
  border-radius: 16px;
  padding: 32px 40px;
  flex-wrap: wrap;
}
.maqua-cta-messengers h2 { color: #fff; margin: 0 0 8px; font-size: 28px; }
.maqua-cta-messengers p { margin: 0; opacity: .9; }
.maqua-cta-messengers__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.maqua-review {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(20,40,80,.08);
  height: 100%;
  margin-bottom: 24px;
}
.maqua-review__date { color: #6b7a90; font-size: 13px; margin-bottom: 6px; }
.maqua-review h4 { margin: 0 0 10px; color: #15233b; }
.maqua-review p { margin: 0; color: #445; line-height: 1.55; }
.about-style1_tab .tab-buttons {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
}
.about-style1_tab .tab-buttons li {
  float: none !important;
  width: auto !important;
  flex: 1 1 220px;
  min-width: 0;
}
.maqua-news-home { padding: 40px 0 20px; }
.maqua-news-home .mg-news-title,
.maqua-news-home .mg-main-news-block > a,
.maqua-news-home .mg-category-desc,
.maqua-news-home .mg-cat-news-img,
.maqua-news-home .mg-blog-categories,
.maqua-news-home .blog-categories,
.maqua-news-home .pager { display: none !important; }
.maqua-news-home .mg-main-news-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.maqua-news-home .mg-main-news-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(20,40,80,.08);
}
.maqua-news-home .mg-main-news-item:nth-of-type(n+4) { display: none; }
.maqua-news-home .mg-news-info h3 { font-size: 18px; margin: 8px 0; }
.maqua-news-home .mg-news-info h3 a { color: #15233b; text-decoration: none; }
.maqua-news-home .mg-news-date { color: #6b7a90; font-size: 13px; }
.maqua-news-home .mg-list-news-img img { max-width: 100%; height: auto; border-radius: 8px; }

/* ---- Регистрация ---- */
.maqua-reg-aside p { color: #6b7a90; margin-bottom: 18px; }
.maqua-reg-benefits { list-style: none; padding: 20px 0 0; margin: 0; color: #334; }
.maqua-reg-benefits li { padding: 8px 0 8px 22px; position: relative; }
.maqua-reg-benefits li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00b4ff;
}
.maqua-reg-lead { color: #6b7a90; margin-bottom: 20px; }
.maqua-reg-form .row { margin-left: -8px; margin-right: -8px; }
.maqua-reg-form [class*="col-"] { padding-left: 8px; padding-right: 8px; margin-bottom: 14px; }
.maqua-phone-row {
  display: flex;
  gap: 8px;
}
.maqua-phone-row select { width: 130px; flex: 0 0 130px; margin-bottom: 0 !important; }
.maqua-phone-row input { flex: 1; margin-bottom: 0 !important; }
.maqua-reg-form .register-btn { margin-top: 8px; }
.maqua-reg-form .field-label {
  display: block;
  width: 100%;
  margin-bottom: 6px;
}
.maqua-reg-form .nice-select {
  width: 100% !important;
  float: none !important;
  display: block !important;
  height: 52px;
  line-height: 50px;
  margin-bottom: 0 !important;
  border: 1px solid #d7e0ea !important;
  border-radius: 8px;
  padding-left: 14px;
}
.maqua-phone-row .nice-select {
  width: 140px !important;
  flex: 0 0 140px;
}
.maqua-catalog-cta {
  margin: 28px 0 10px;
  padding-top: 8px;
}
.maqua-news-preview {
  padding: 40px 0 20px;
}

/* старые кнопки Moguta внутри новой темы */
a.addToCart,
a.product-buy,
.product-buttons a {
  display: inline-block;
  background: #00b4ff;
  color: #fff !important;
  border-radius: 30px;
  padding: 10px 20px;
  text-decoration: none !important;
  font-weight: 600;
}
a.addToCart:hover,
a.product-buy:hover { background: #004da1; color: #fff !important; }

/* ---- Auth / account ---- */
.login-register-area { padding: 10px 0 40px; }
.login-form-box,
.register-form-box,
.person-page,
.checkout-form-wrapper,
.product-details-content-box,
.cart-table-box {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(20,40,80,.08);
}
.login-form-box h2,
.register-form-box h2 { margin-bottom: 18px; }
.login-form-box input[type=text],
.login-form-box input[type=password],
.login-form-box input[type=email],
.register-form-box input[type=text],
.register-form-box input[type=password],
.register-form-box input[type=email],
.register-form-box select,
.register-form-box textarea,
.checkout-form-wrapper input[type=text],
.checkout-form-wrapper input[type=password],
.checkout-form-wrapper input[type=email],
.checkout-form-wrapper select,
.checkout-form-wrapper textarea,
.person-page input[type=text],
.person-page input[type=password],
.person-page select,
.person-page textarea {
  width: 100%;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  box-sizing: border-box;
}
.field-label { font-size: 13px; color: #5a6a80; margin-bottom: 4px; }
.auth-msg, .msgError, .mg-error { color: #c0392b; margin-bottom: 12px; }
.auth-ok, .mg-success { color: #1e7e34; margin-bottom: 12px; }
.feedback-form-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 30px;
  align-items: start;
}
.feedback-form-wrapper .form,
.empty-cart-block {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(20,40,80,.08);
}
.empty-cart-block { text-align: center; font-size: 18px; }
.feedback-form-wrapper input[type=text],
.feedback-form-wrapper textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  box-sizing: border-box;
}
.feedback-form-wrapper textarea { min-height: 140px; }
@media (max-width: 991px) {
  .feedback-form-wrapper { grid-template-columns: 1fr; }
}

/* ---- Cart / order / product ---- */
.cart-area, .checkout-area, .product-details-area { padding: 10px 0 30px; }
.cart-table { width: 100%; background: #fff; border-radius: 12px; overflow: hidden; }
.cart-table th, .cart-table td { padding: 14px; border-bottom: 1px solid #eef2f7; vertical-align: middle; }
.cart-table img { max-width: 70px; height: auto; }
.default-btn.main-cart-btn,
button.default-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00b4ff;
  color: #fff;
  border-radius: 30px;
  padding: 12px 24px;
  font-weight: 700;
  cursor: pointer;
}
.covid-image-cart img { max-width: 100%; height: auto; margin-top: 20px; }
.title-panel { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.product-details-block img,
.product-details-image-box img { max-width: 100%; height: auto; }
.product-details-image-box {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(20,40,80,.08);
  min-height: 360px;
}
.product-details-image-box .mg-product-slides,
.product-details-image-box .bx-wrapper,
.product-details-image-box .bx-viewport {
  width: 100% !important;
  max-width: 100% !important;
  height: 380px !important;
  background: #f7fafc !important;
  box-shadow: none !important;
  border: 0 !important;
}
.product-details-image-box ul.main-product-slide {
  height: 380px !important;
}
.product-details-image-box li.product-details-image {
  position: relative !important;
  height: 380px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.product-details-image-box .mg-product-image {
  position: static !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: 360px !important;
  height: auto !important;
  margin: 0 auto;
  display: block;
}
.product-details-image-box .zoom { display: none; }
.amount_change {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.amount_change a.down,
.amount_change a.up {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #fff;
  color: #004da1;
  text-decoration: none;
  font-size: 20px;
  line-height: 1;
}
.amount_change .amount_input {
  width: 64px !important;
  text-align: center;
  height: 36px;
  margin: 0 !important;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
}
.buy-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.mg-recent-products {
  margin-top: 40px;
}
.mg-recent-products .title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #15233b;
}
.mg-recent-products .product-wrapper {
  display: inline-block;
  vertical-align: top;
  width: 220px;
  margin: 0 12px 16px 0;
}

/* ---- Blog plugin / page HTML ---- */
.blog-style1-area img,
.cat-desc-text img,
.about-style1-area img { max-width: 100%; height: auto; }
.cat-desc-text { line-height: 1.7; color: #334; }

/* ---- Footer ---- */
.maqua-foot.footer-area {
  margin-top: 0;
  position: relative;
  background: #fff;
  color: #d5e4f5;
}
.maqua-foot__wave {
  color: #002a5c;
  line-height: 0;
  margin-top: -1px;
  background: #fff;
}
.maqua-foot__wave svg {
  display: block;
  width: 100%;
  height: 56px;
}
.maqua-page-content { padding-bottom: 0; }
.maqua-foot__cta-wrap {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 48px 0 36px;
  background: #002a5c;
}
.maqua-foot__main {
  padding: 10px 0 48px;
  background: #002a5c;
}
.maqua-foot__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
  border-radius: 20px;
  padding: 28px 36px;
  box-shadow: 0 18px 50px rgba(0, 30, 80, .28);
}
.maqua-foot__cta-text span {
  display: block;
  color: #00a0e4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.maqua-foot__cta-text strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  line-height: 1.2;
  color: #003776;
  font-weight: 700;
}
.maqua-foot__cta-text p {
  margin: 8px 0 0;
  color: #5a6d84;
  max-width: 520px;
}
.maqua-foot__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.maqua-foot__cta-actions .maqua-msg {
  height: 42px;
  padding: 0 16px;
}
.maqua-foot__order {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 22px;
  border-radius: 21px;
  background: #003776;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}
.maqua-foot__order:hover { background: #002a5c; color: #fff !important; }

.maqua-foot__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 36px 28px;
}
.maqua-foot__logo {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none !important;
  line-height: 1;
}
.maqua-foot__logo img {
  display: block;
  height: 88px;
  width: auto;
  object-fit: contain;
}
.maqua-foot__brand p {
  color: #bcd2ea;
  line-height: 1.65;
  margin: 0 0 16px;
}
.maqua-foot h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: .02em;
}
.maqua-foot__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.maqua-foot__benefits li {
  position: relative;
  padding: 5px 0 5px 22px;
  color: #d5e4f5;
}
.maqua-foot__benefits li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00b4ff;
  box-shadow: 0 0 0 4px rgba(0,180,255,.18);
}
.maqua-foot__social { display: flex; gap: 8px; }
.maqua-foot__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
}
.maqua-foot__social a.is-tg { background: #229ed9; }
.maqua-foot__social a.is-vb { background: #7360f2; }
.maqua-foot__social a.is-ig { background: #e4405f; }
.maqua-foot__social a.is-vk { background: #0077ff; }
.maqua-foot__social a svg {
  width: 16px;
  height: 16px;
  display: block;
}

.maqua-foot__links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.maqua-foot__links li { margin: 0; }
.maqua-foot__links a {
  display: block;
  color: #c5d8ee !important;
  text-decoration: none !important;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.maqua-foot__links a:hover { color: #fff !important; padding-left: 6px; }

.maqua-foot__phone-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.maqua-foot__phone-card span {
  display: block;
  font-size: 12px;
  color: #8fb4d8;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.maqua-foot__phone-card a,
.maqua-foot__mail {
  display: block;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  font-size: 16px;
}
.maqua-foot__mail { margin: 8px 0 14px; color: #7fd4ff !important; }
.maqua-foot__hours {
  color: #c5d8ee;
  line-height: 1.55;
}
.maqua-foot__hours strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.maqua-foot__cities {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.maqua-foot__cities-label {
  color: #8fb4d8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.maqua-foot__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.maqua-foot__chips span {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  font-size: 13px;
}

.maqua-foot__find {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-top: 32px;
  background: rgba(0,0,0,.18);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.maqua-foot__map { min-height: 220px; background: #01244f; }
.maqua-foot__map ymaps,
.maqua-foot__map iframe { display: block; }
.maqua-foot__find-side { padding: 28px 28px 24px; }
.maqua-foot__find-side p { color: #c5d8ee; line-height: 1.6; }
.maqua-foot__reviews { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 16px; }
.maqua-foot__reviews a {
  color: #7fd4ff !important;
  text-decoration: none !important;
  font-weight: 600;
}
.maqua-foot__reviews a:hover { text-decoration: underline !important; }
.maqua-foot__badge { border: 0; background: transparent; }

.maqua-foot__pay {
  background: #fff;
  border-top: 1px solid rgba(1, 36, 79, .08);
  padding: 14px 0;
}
.maqua-foot__pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}
.maqua-payicon {
  display: block;
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  background: none !important;
}

.maqua-foot__legal {
  background: #001e44;
  color: #8aa6c4;
  font-size: 12px;
  line-height: 1.6;
  padding: 16px 0;
}
.maqua-foot__bottom {
  background: #001632;
  padding: 16px 0;
  font-size: 13px;
}
.maqua-foot__bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.maqua-foot__bottom p { margin: 0; color: #9bb4ce; }
.maqua-foot__bottom ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.maqua-foot__bottom a { color: #d5e4f5 !important; text-decoration: none !important; }
.maqua-foot__bottom a:hover { color: #fff !important; }

@media (max-width: 1199px) {
  .maqua-foot__grid { grid-template-columns: 1fr 1fr; }
  .maqua-foot__find { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .maqua-foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .maqua-foot__pay-row { justify-content: center; gap: 10px 16px; }
  .maqua-payicon { height: 26px; }
  .maqua-foot__cta { padding: 22px; }
  .maqua-foot__cta-text strong { font-size: 22px; }
  .maqua-foot__find-side { padding: 20px; }
}

/* ---- Pager ---- */
.pager, .pager a, .styled-pagination {
  text-align: center;
  margin: 24px 0;
}
.pager a, .pager span {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 3px;
  border-radius: 6px;
  background: #eef4fb;
  color: #004da1;
  text-decoration: none;
}

/* ---- Sticky / responsive ---- */
@media (max-width: 1199px) {
  .maqua-header .main-menu .navigation > li > a {
    font-size: 12px !important;
    padding: 12px 4px !important;
  }
  .maqua-msg.is-ig,
  .maqua-msg.is-tt,
  .maqua-msg.is-vk { display: none; }
  .maqua-msg span { display: none; }
  .maqua-msg {
    width: 40px;
    padding: 0;
    justify-content: center;
  }
  .shop-style1_content,
  .maqua-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .maqua-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maqua-news-home .mg-main-news-block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .maqua-navrow { display: none; }
  .maqua-burger { display: block; }
  .maqua-cta { display: none; }
  .maqua-quick { display: none; }
  .maqua-hide-sm { display: none !important; }
  .maqua-logo img { height: 52px; }
  .maqua-page-content .container.catalog-with-sidebar { flex-direction: column; }
  .maqua-sidebar { width: 100%; }
  .maqua-hero { padding: 12px 16px 8px; }
  .maqua-hero__grid { grid-template-columns: 1fr; }
  .maqua-cms-slider .m-p-slide-unit img,
  .maqua-hero__slider img { height: 100% !important; }
  .maqua-hero__slider,
  .maqua-cms-slider.main-slider {
    aspect-ratio: 16 / 9;
  }
  .maqua-hero__aside { min-height: 0; }
  .maqua-deliv__num { font-size: 56px; }
  .breadcrumb-area { padding: 28px 0 24px !important; }
}
@media (max-width: 767px) {
  .shop-style1_content,
  .maqua-products-grid {
    grid-template-columns: 1fr !important;
  }
  .maqua-cats,
  .maqua-news-home .mg-main-news-block { grid-template-columns: 1fr; }
  .maqua-deliv__hours,
  .maqua-deliv__cta { grid-template-columns: 1fr; }
  .maqua-deliv__card { grid-template-columns: 1fr; }
  .maqua-wrap { padding: 0 16px; }
  .maqua-cta-messengers__inner { padding: 24px; }
  .maqua-phone-row { flex-direction: column; }
  .maqua-phone-row select { width: 100%; flex: none; }
}
