/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Site font: Inter Medium / SemiBold */
:root {
  --theme-font-family: "Inter", Arial, sans-serif;
  --theme-font-title-family: "Inter", Arial, sans-serif;
  --theme-font-title-weight: 600;
}

body,
.fancybox-title,
.gm-style,
.gm-style-iw-d,
body .ymaps-map .ymaps-b-balloon,
body div.bx-yandex-map,
button, input, select, textarea {
  font-family: "Inter", Arial, sans-serif !important;
  font-weight: 500;
}

.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6,
.switcher-title,
.popup-window,
.fw-500,
.fw-600,
.font_bold,
strong, b {
  font-family: "Inter", Arial, sans-serif !important;
  font-weight: 600;
}

/* CATALOG_TAB («Лучшие предложения») background + wave fill */
.drag-block.CATALOG_TAB .index-block,
.CATALOG_TAB .index-block,
.drag-block.CATALOG_TAB .index-block--fon {
  background: var(--light, #d8e6f4) var(--dark, #121212);
  overflow: visible;
}

/* Product cards (catalog_block): same look as «Лучшие предложения» */
.catalog-block .catalog-block__item,
.grey-bg-goods-y .catalog-block .block .catalog-block__item,
.catalog-block.catalog_block-template .catalog-block__item {
  padding: var(--catalog-block-padding, 16px) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Card box always visible (not only on hover) */
.catalog-block .catalog-block__underlay,
.grey-bg-goods-y .catalog-block .catalog-block__underlay,
.grey-bg-goods-y .catalog-block .grid-list .catalog-block__item .catalog-block__underlay,
.grey-bg-goods-y .catalog-block .catalog-block__wrapper .catalog-block__underlay {
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--light, #fff) var(--dark, #222228);
  border-radius: var(--catalog-block-radius, var(--theme-outer-border-radius, 12px));
  box-shadow: 0 2px 10px rgba(34, 34, 40, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.catalog-block .catalog-block__inner {
  position: relative;
  z-index: 1;
}

.catalog-block .catalog-block__wrapper:hover .catalog-block__underlay,
.grey-bg-goods-y .catalog-block .catalog-block__wrapper:hover .catalog-block__underlay,
.grey-bg-goods-y .catalog-block .grid-list .catalog-block__item:hover .catalog-block__underlay {
  inset: 0 !important;
  box-shadow: 0 4px 16px rgba(34, 34, 40, 0.1);
  background: var(--light, #fff) var(--dark, #222228);
}

.catalog-block .catalog-block__item.shadow-hovered,
.catalog-block .catalog-block__item.shadow-no-border-hovered {
  transition: none;
}

.catalog-block .catalog-block__item.shadow-hovered:hover,
.catalog-block .catalog-block__item.shadow-no-border-hovered:hover,
.CATALOG_TAB .index-block--fon .shadow-no-border-hovered:hover {
  transform: none;
  box-shadow: none !important;
  border-color: transparent !important;
  background: transparent !important;
}

/* Novinki: 40px gap after title (padding — no margin collapse) */
.drag-block.CUSTOM_CATALOG .vv-novinki-head {
  padding-bottom: 40px !important;
  margin-bottom: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

.drag-block.CUSTOM_CATALOG .vv-novinki-title {
  margin: 0 !important;
  min-height: 0 !important;
}

.drag-block.CUSTOM_CATALOG .vv-novinki-title .index-block__title {
  margin: 0;
  line-height: 1.25;
}

@media (min-width: 769px) {
  .catalog-block .catalog-block__wrapper:hover {
    z-index: auto;
  }

  .catalog-block .catalog-block__wrapper[data-hovered="true"] .catalog-block__item {
    height: 100% !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: auto !important;
  }

  .catalog-block .catalog-block__wrapper[data-hovered="true"] .catalog-block__offers .sku-props {
    display: none !important;
  }
}

/* Banner hero text (desktop + mobile) */
.vv-hero .banners-big .banners-big__title,
.vv-hero .banners-big .banners-big__title h1 {
  color: #fff !important;
}

.banners-big .banners-big__title,
.banners-big .banners-big__title.white_text_black_reverse,
.banners-big .banners-big__title h1 {
  color: #fff !important;
  font-size: clamp(32px, 4.2vw, 56px) !important;
  line-height: 1.15 !important;
}
.banners-big .banners-big__text-block,
.banners-big .banners-big__text-block.white_text_black_reverse {
  color: #fff !important;
  font-size: clamp(15px, 1.4vw, 20px) !important;
  line-height: 1.45 !important;
  max-width: 34em;
}

@media (min-width: 768px) {
  .banners-big .banners-big__text {
    justify-content: center !important;
    padding-top: 4%;
    padding-bottom: 2%;
  }
  .banners-big .banners-big__text-wrapper {
    flex: 0 0 auto !important;
  }
  .banners-big .banners-big__buttons {
    margin-top: 20px !important;
  }
}

@media (max-width: 767px) {
  .banners-big .banners-big__title,
  .banners-big .banners-big__title h1 {
    color: #fff !important;
    font-size: 26px !important;
    line-height: 1.2 !important;
  }
  .banners-big .banners-big__text-block {
    color: #fff !important;
    font-size: 14px !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
  }
  .banners-big .banners-big__text {
    justify-content: center !important;
    padding: 24px 16px !important;
  }
  .banners-big .banners-big__buttons {
    display: block !important;
    margin-top: 16px !important;
  }
}

/* Footer: calm water at bottom, splash on hover */
.footer.footer--water {
  --footer-water-level: 74px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.footer.footer--water > *:not(.footer-water) {
  position: relative;
  z-index: 1;
}

.footer-water {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.footer-water__fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--footer-water-level);
  background:
    linear-gradient(
      180deg,
      rgba(245, 252, 255, 0.92) 0%,
      rgba(220, 240, 250, 0.88) 45%,
      rgba(195, 225, 245, 0.9) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -4px 10px rgba(160, 200, 230, 0.22);
  transition: height 0.7s cubic-bezier(0.34, 1.05, 0.64, 1);
}

.footer-water__waves {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 18px;
  bottom: calc(var(--footer-water-level) - 2px);
  overflow: hidden;
  transition: bottom 0.7s cubic-bezier(0.34, 1.05, 0.64, 1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.footer-water__wave {
  transform-origin: center bottom;
  animation: footer-water-wave 8s linear infinite;
  animation-play-state: paused;
}

.footer-water__wave--back {
  fill: rgba(255, 255, 255, 0.95);
  animation-duration: 10s;
  animation-direction: reverse;
}

.footer-water__wave--front {
  fill: rgba(235, 246, 252, 0.98);
  animation-duration: 7s;
}

.footer-water__shine {
  position: absolute;
  left: 8%;
  bottom: calc(var(--footer-water-level) * 0.35);
  width: 22%;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0) 72%
  );
  opacity: 0.55;
  transition: opacity 0.5s ease, transform 0.7s ease, bottom 0.7s ease;
}

@keyframes footer-water-wave {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(-3%) translateY(-1px);
  }
  50% {
    transform: translateX(-6%) translateY(0);
  }
  75% {
    transform: translateX(-9%) translateY(1px);
  }
  100% {
    transform: translateX(-12%) translateY(0);
  }
}

@keyframes footer-water-splash {
  0%,
  100% {
    transform: translateX(0) translateY(0) scaleY(1);
  }
  25% {
    transform: translateX(-3%) translateY(-2px) scaleY(1.06);
  }
  50% {
    transform: translateX(-6%) translateY(1.5px) scaleY(0.95);
  }
  75% {
    transform: translateX(-9%) translateY(-1.5px) scaleY(1.05);
  }
}

@keyframes vv-chips {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (any-hover: hover) {
  .footer.footer--water:hover {
    --footer-water-level: 100px;
  }

  .footer.footer--water:hover .footer-water__wave {
    animation-name: footer-water-splash;
    animation-duration: 2.6s;
    animation-timing-function: ease-in-out;
    animation-play-state: running;
  }

  .footer.footer--water:hover .footer-water__wave--back {
    animation-duration: 3.4s;
  }

  .footer.footer--water:hover .footer-water__wave--front {
    animation-duration: 2.6s;
  }

  .footer.footer--water:hover .footer-water__shine {
    opacity: 0.75;
    transform: translate(10px, -2px) scale(1.08);
  }
}

@media (max-width: 767px) {
  .footer.footer--water {
    --footer-water-level: 62px;
  }

  @media (any-hover: hover) {
    .footer.footer--water:hover {
      --footer-water-level: 80px;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-water__wave {
    animation: none !important;
  }

  .footer-water__fill,
  .footer-water__waves,
  .footer-water__shine {
    transition: none;
  }

  .vv-find__chips-track {
    animation: none;
  }
}

/* Hide empty Aspro developer slot */
.footer__developer:empty {
  display: none !important;
}

/* Show product properties on mobile in CATALOG_TAB */
@media (max-width: 600px) {
  .CATALOG_TAB .catalog-block__offers.hide-600,
  .drag-block.CATALOG_TAB .catalog-block__offers.hide-600 {
    display: block !important;
  }
}


/* ===== vam-voda homepage blocks ===== */
.vv-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.drag-block.VV_STATS,
.drag-block.VV_POPULAR,
.drag-block.VV_BOTTOM {
  padding: 0 !important;
}

.vv-section {
  position: relative;
  z-index: 1;
}

.vv-wave {
  position: absolute;
  left: 0;
  right: 0;
  height: 72px;
  pointer-events: none;
  line-height: 0;
  z-index: 2;
}

.vv-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.vv-wave--top {
  top: 0;
  transform: translateY(-98%);
}

.vv-wave--bottom {
  bottom: 0;
  transform: translateY(98%) scaleY(-1);
}

.vv-section--wave {
  background: #d8e6f4;
  padding: 56px 0 72px;
}

.drag-block.CATALOG_TAB,
.drag-block.CUSTOM_CATALOG,
.drag-block.VV_POPULAR,
.drag-block.VV_BOTTOM {
  overflow: visible;
}

.drag-block.CATALOG_TAB,
.drag-block.CUSTOM_CATALOG {
  position: relative;
}

/* Stats */
.vv-stats {
  padding: 28px 0 12px;
  background: #fff;
}

.vv-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 32px;
}

.vv-stats__item {
  min-width: 0;
}

.vv-stats__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.vv-stats__label {
  font-size: 14px;
  font-weight: 500;
  color: #6b7a8d;
}

.vv-stats__icon {
  width: 28px;
  height: 28px;
  color: #2e87fb;
  flex: 0 0 auto;
}

.vv-stats__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.vv-stats__value {
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  color: #1b2430;
  margin-bottom: 8px;
}

.vv-stats__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #5c6b7c;
  max-width: 22em;
}

.vv-popular {
  padding: 48px 0 16px;
  background: #fff;
}

.vv-popular__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  grid-template-areas:
    "water19 food food"
    "water19 baby coffee"
    "water-small water-small kits";
  gap: 16px;
}

.vv-popular__card {
  position: relative;
  min-height: 150px;
  padding: 22px 22px 20px;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(46, 90, 130, 0.08);
}

.vv-popular__card--water19 { grid-area: water19; min-height: 320px; }
.vv-popular__card--food { grid-area: food; min-height: 168px; }
.vv-popular__card--baby { grid-area: baby; }
.vv-popular__card--coffee { grid-area: coffee; }
.vv-popular__card--water-small { grid-area: water-small; min-height: 168px; }
.vv-popular__card--kits { grid-area: kits; min-height: 168px; }

.vv-popular__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.vv-popular__count {
  position: relative;
  z-index: 2;
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(46, 135, 251, 0.12);
  color: #1f6fd6;
  font-size: 13px;
  font-weight: 600;
}

.vv-popular__body {
  position: relative;
  z-index: 2;
}

.vv-popular__title {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
  color: #1b2430;
}

.vv-popular__card--baby .vv-popular__title,
.vv-popular__card--coffee .vv-popular__title {
  font-size: 20px;
}

.vv-popular__text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #5c6b7c;
  max-width: 36em;
}

.vv-popular__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 4px;
}

.vv-popular__tag {
  position: relative;
  z-index: 3;
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef5fb;
  color: #1b2430;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.vv-popular__tag:hover {
  background: #fff;
  color: #2e87fb;
}

.vv-popular__card:hover {
  box-shadow: 0 12px 28px rgba(46, 90, 130, 0.14);
}

/* Subscribe */
.vv-subscribe {
  padding: 24px 0 8px;
  background: #fff;
}

.vv-subscribe__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.vv-subscribe__sales,
.vv-subscribe__form {
  border-radius: 20px;
  padding: 36px 32px;
  min-height: 250px;
}

.vv-subscribe__sales {
  background: linear-gradient(135deg, #59e7ff 0%, #2e87fb 100%);
  color: #12324d;
}

.vv-subscribe__form {
  background: #d8e6f4;
}

.vv-subscribe__title,
.vv-subscribe__form-title {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 600;
  color: #1b2430;
}

.vv-subscribe__text {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.45;
  color: #33485c;
}

.vv-subscribe__btn,
.vv-subscribe__submit {
  min-width: 180px;
}

.vv-subscribe__fields {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 12px;
}

.vv-subscribe__input-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.vv-subscribe__input {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
}

.vv-subscribe__note {
  font-size: 12px;
  line-height: 1.4;
  color: #5c6b7c;
}

.vv-subscribe__note a {
  color: inherit;
  text-decoration: underline;
}

/* FAQ */
.vv-faq {
  padding: 56px 0 32px;
  background: #fff;
}

.vv-faq__grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 32px 48px;
  align-items: start;
}

.vv-faq__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  font-weight: 600;
  color: #1b2430;
}

.vv-faq__item {
  border-bottom: 1px solid #e3ebf3;
}

.vv-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 600;
  color: #1b2430;
}

.vv-faq__question::-webkit-details-marker {
  display: none;
}

.vv-faq__plus {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.vv-faq__plus::before,
.vv-faq__plus::after {
  content: "";
  position: absolute;
  background: #2e87fb;
  border-radius: 2px;
}

.vv-faq__plus::before {
  left: 50%;
  top: 3px;
  width: 2px;
  height: 16px;
  transform: translateX(-50%);
}

.vv-faq__plus::after {
  top: 50%;
  left: 3px;
  height: 2px;
  width: 16px;
  transform: translateY(-50%);
}

.vv-faq__item[open] .vv-faq__plus::before {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.vv-faq__answer {
  padding: 0 36px 18px 0;
  font-size: 15px;
  line-height: 1.55;
  color: #5c6b7c;
}

/* Find / search */
.vv-find {
  overflow: hidden;
}

.vv-find__inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.vv-find__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: #1b2430;
}

.vv-find__text {
  margin: 0 0 24px;
  font-size: 16px;
  color: #4d5f72;
}

.vv-find__search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 640px;
  margin: 0 auto 28px;
}

.vv-find__search-wrap {
  flex: 1 1 auto;
}

.vv-find__input {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 16px;
  padding: 0 56px 0 20px;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(46, 90, 130, 0.1);
}

.vv-find__search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #2e87fb;
  color: #fff;
  cursor: pointer;
}

.vv-find__search-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  margin: 0 auto;
}

.vv-find__chips {
  display: block;
  overflow: hidden;
  margin: 0 auto 28px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.vv-find__chips-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: vv-chips 32s linear infinite;
}

.vv-find__chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #1b2430;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.vv-find__help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.vv-find__help-text {
  font-size: 16px;
  color: #1b2430;
}

@media (max-width: 1199px) {
  .vv-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vv-popular__title {
    font-size: 22px;
  }
}

@media (max-width: 991px) {
  .vv-popular__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "water19 water19"
      "food food"
      "baby coffee"
      "water-small kits";
  }
  .vv-subscribe__grid,
  .vv-faq__grid {
    grid-template-columns: 1fr;
  }
  .vv-faq__title {
    margin-bottom: 8px;
  }
}

@media (max-width: 767px) {
  .vv-stats {
    padding: 16px 0 8px;
  }
  .vv-stats__grid,
  .vv-popular__grid,
  .vv-subscribe__grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 12px;
  }
  .vv-popular__card,
  .vv-popular__card--water19,
  .vv-popular__card--food,
  .vv-popular__card--water-small,
  .vv-popular__card--kits {
    grid-area: auto;
    min-height: 0;
  }
  .vv-section--wave {
    padding: 40px 0 48px;
  }
  .vv-subscribe__sales,
  .vv-subscribe__form {
    padding: 24px 18px;
    min-height: 0;
  }
  .vv-subscribe__fields {
    flex-direction: column;
  }
  .vv-subscribe__title,
  .vv-subscribe__form-title {
    font-size: 22px;
  }
  .vv-faq {
    padding: 36px 0 16px;
  }
  .vv-faq__question {
    font-size: 16px;
  }
  .vv-find__input {
    height: 50px;
    font-size: 14px;
  }
}
