/* SavaLeo | кнопки MAX и Telegram */
#allrecords a:is([href="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY?"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY/"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY#"]) {
  --sl-messenger-bg: linear-gradient(120deg, #471aff, #6e1aff);
  --sl-messenger-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22white%22%20fill-rule%3D%22evenodd%22%20d%3D%22M12.2%202.1a9.9%209.9%200%200%200-9.9%209.9c0%202%20.6%203.8%201.7%205.4l-1.1%203.3c-.2.6.4%201.2%201%201l3.7-1.1a9.9%209.9%200%201%200%204.6-18.5Zm.1%204.4a5.5%205.5%200%200%201%200%2011c-.9%200-1.8-.2-2.6-.7l-2.4.8.7-2.4a5.5%205.5%200%200%201%204.3-8.7Z%22%2F%3E%3C%2Fsvg%3E");
}
#allrecords a:is([href="https://t.me/savaleo"], [href^="https://t.me/savaleo?"], [href^="https://t.me/savaleo/"], [href^="https://t.me/savaleo#"]) {
  --sl-messenger-bg: #0879aa;
  --sl-messenger-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M21.8%203.5%202.4%2011c-.9.4-.9.9-.2%201.1l5%201.6L18.9%206.4c.6-.4.9-.2.5.2l-9.5%208.6-.4%204.9c.5%200%20.7-.2%201-.5l2.4-2.3%205%203.7c.9.5%201.5.3%201.7-.8l3.2-15.5c.2-1-.4-1.5-1-1.2z%22%2F%3E%3C%2Fsvg%3E");
}
#allrecords a:is([href="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY?"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY/"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY#"], [href="https://t.me/savaleo"], [href^="https://t.me/savaleo?"], [href^="https://t.me/savaleo/"], [href^="https://t.me/savaleo#"]) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 9px 14px;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: var(--sl-messenger-bg) !important;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  vertical-align: middle;
}
#allrecords a:is([href="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY?"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY/"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY#"], [href="https://t.me/savaleo"], [href^="https://t.me/savaleo?"], [href^="https://t.me/savaleo/"], [href^="https://t.me/savaleo#"]):not(:has(img, svg))::before,
#allrecords .t-sociallinks__item a:is([href="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY?"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY/"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY#"], [href="https://t.me/savaleo"], [href^="https://t.me/savaleo?"], [href^="https://t.me/savaleo/"], [href^="https://t.me/savaleo#"])::before {
  content: "";
  display: block;
  flex: 0 0 18px;
  height: 18px;
  background: #fff;
  -webkit-mask: var(--sl-messenger-icon) center / contain no-repeat;
  mask: var(--sl-messenger-icon) center / contain no-repeat;
}
#allrecords a:is([href="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY?"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY/"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY#"], [href="https://t.me/savaleo"], [href^="https://t.me/savaleo?"], [href^="https://t.me/savaleo/"], [href^="https://t.me/savaleo#"]):hover { filter: brightness(.92); }
#allrecords a:is([href="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY?"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY/"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY#"], [href="https://t.me/savaleo"], [href^="https://t.me/savaleo?"], [href^="https://t.me/savaleo/"], [href^="https://t.me/savaleo#"]):focus-visible { outline: 2px solid #1583b7; outline-offset: 3px; }
#allrecords .t-sociallinks__item a:is([href="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY?"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY/"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY#"], [href="https://t.me/savaleo"], [href^="https://t.me/savaleo?"], [href^="https://t.me/savaleo/"], [href^="https://t.me/savaleo#"]) {
  width: 44px;
  height: 44px;
  padding: 0;
  gap: 0;
}
#allrecords .t-sociallinks__item a:is([href="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY?"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY/"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY#"], [href="https://t.me/savaleo"], [href^="https://t.me/savaleo?"], [href^="https://t.me/savaleo/"], [href^="https://t.me/savaleo#"]) svg { display: none; }
#allrecords #sl-messenger-dialog a:is([href="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY?"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY/"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY#"], [href="https://t.me/savaleo"], [href^="https://t.me/savaleo?"], [href^="https://t.me/savaleo/"], [href^="https://t.me/savaleo#"]) {
  color: #fff !important;
  width: 100%;
  display: flex !important;
  margin-block: 8px;
}
.js-store-prod-all-text a:is([href="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY?"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY/"], [href^="https://max.ru/u/f9LHodD0cOL596I7o_nRxYsSnMnZQdP7sgyEYMHTce1tooD2KuXESvqxsyY#"], [href="https://t.me/savaleo"], [href^="https://t.me/savaleo?"], [href^="https://t.me/savaleo/"], [href^="https://t.me/savaleo#"]) { margin-block: 4px; }

/* Jetinno JL36: показываем фотографии целиком. */
.js-store-product[data-product-uid="878244726943"] .js-store-prod-slider .t-slds__bgimg {
  background-size: contain !important;
  background-position: center;
  background-repeat: no-repeat;
}

/* Jetinno JL36: фото в плитке каталога. */
.t-store__card[data-product-uid="878244726943"] .t-store__card__bgimg {
  background-size: contain !important;
  background-position: center;
  background-repeat: no-repeat;
}

/* Jetinno JL36: белый фон и поля как у соседних плиток. */
#rec826322488 .t-store__card[data-product-uid="878244726943"] .t-store__card__imgwrapper {
  background-color: #fff !important;
}
.t-store__card[data-product-uid="878244726943"] .t-store__card__bgimg {
  box-sizing: border-box;
  padding: 4%;
  background-origin: content-box;
}

/* Главная: кнопка «Все кофейни». */
#sl-home .section-title a.textlink[href="/coffee-self-service"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: #c9ef69;
  color: #19211b !important;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
#sl-home .section-title a.textlink[href="/coffee-self-service"]:hover { background: #b5dc58; }
#sl-home .section-title a.textlink[href="/coffee-self-service"]:focus-visible { outline: 2px solid #374e23; outline-offset: 3px; }
