/*
 * PROMOBILE premium purchase block for Aspro Max catalog.element.
 * Owner: /bitrix/templates/aspro_max/css/promobile-purchase-block.css
 * Load after /bitrix/templates/aspro_max/css/custom.css.
 */

@property --pm-purchase-glint-x {
  syntax: "<percentage>";
  inherits: false;
  initial-value: -145%;
}

html body .catalog_detail .pm-purchase-root {
  --pm-lime: #caff35;
  --pm-lime-dark: #a7df2c;
  --pm-yellow: #ffdd2d;
  --pm-ink: #171915;
  --pm-muted: #747970;
  --pm-line: #e7e9e3;
  --pm-white: #fff;
  position: relative;
  color: var(--pm-ink);
  font-family: "GT Walsheim Pro", Arial, sans-serif;
}

html body .catalog_detail .pm-purchase-root *,
html body .catalog_detail .pm-purchase-root *::before,
html body .catalog_detail .pm-purchase-root *::after {
  box-sizing: border-box;
}

html body .catalog_detail .pm-purchase-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 22px 22px 0 !important;
  border: 1px solid #e6e8e1;
  border-radius: 28px 28px 0 0 !important;
  background: #fff !important;
  box-shadow: 0 18px 46px rgba(27, 32, 22, .08);
}

html body .catalog_detail .pm-purchase-shell::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 330px;
  background:
    radial-gradient(ellipse 72% 32% at 100% 0%, rgba(181, 255, 24, .92) 0%, rgba(205, 255, 77, .64) 29%, rgba(229, 255, 166, .32) 56%, rgba(244, 255, 221, 0) 88%),
    linear-gradient(180deg, rgba(248, 255, 235, .55), rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

html body .catalog_detail .pm-purchase-identity {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

html body .catalog_detail .pm-purchase-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
}

html body .catalog_detail .pm-purchase-brand__image {
  display: block;
  width: auto;
  max-width: 28px;
  height: 25px;
  object-fit: contain;
  filter: brightness(.96) drop-shadow(0 2px 4px rgba(0, 0, 0, .08));
  animation: pm-brand-reflection 5.2s ease-in-out infinite;
}

html body .catalog_detail .pm-purchase-brand__name {
  font-size: 13px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

html body .catalog_detail .pm-purchase-status {
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}

html body .catalog_detail .pm-purchase-article {
  color: #858980;
  font-size: 10px;
  line-height: 14px;
}

html body .catalog_detail .pm-purchase-stock.item-stock {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  margin: 0 !important;
  padding: 0 11px !important;
  border: 1px solid rgba(142, 184, 38, .42);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  color: #46571e;
}

html body .catalog_detail .pm-purchase-stock .icon.stock {
  width: 7px;
  height: 7px;
  margin: 0;
  border-radius: 50%;
  background: var(--pm-lime);
  box-shadow: 0 0 0 4px rgba(202, 255, 53, .2);
  animation: pm-stock-pulse 2.2s ease-in-out infinite;
}

html body .catalog_detail .pm-purchase-stock .value {
  color: inherit !important;
  font-size: 10px !important;
  font-weight: 700;
}

html body .catalog_detail .pm-purchase-product {
  margin: -3px 0 18px;
}

html body .catalog_detail .pm-purchase-product h2 {
  margin: 0;
  color: var(--pm-ink);
  font-size: clamp(19px, 2.1vw, 25px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.035em;
}

html body .catalog_detail .pm-purchase-payment-heading,
html body .catalog_detail .pm-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
}

html body .catalog_detail .pm-purchase-payment-heading h3,
html body .catalog_detail .pm-section-heading h3 {
  margin: 0;
  color: var(--pm-ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
}

html body .catalog_detail .pm-section-heading {
  display: block;
}

html body .catalog_detail .pm-section-heading p {
  margin: 4px 0 0;
  color: #777e73;
  font-size: 10px;
}

html body .catalog_detail .pm-purchase-tradein {
  max-width: 165px;
  color: #56634a !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.25;
  text-align: right;
  text-decoration: none;
}

html body .catalog_detail .pm-purchase-prices.prices_block {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

html body .catalog_detail .pm-purchase-prices > .pm-payment-card {
  position: relative;
  float: none !important;
  width: auto !important;
  min-height: 108px;
  padding: 13px 14px !important;
  border: 1px solid #e1e4dc;
  border-radius: 17px !important;
  background: #fff !important;
}

html body .catalog_detail .pm-purchase-prices > .pm-payment-card.is-selected {
  border-color: #a9c868;
  box-shadow: inset -1px 1px 0 rgba(202, 255, 53, .5);
}

html body .catalog_detail .pm-purchase-prices > .pm-payment-card.is-selected::after {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pm-lime);
  color: var(--pm-ink);
  content: "✓";
  font-size: 10px;
  font-weight: 900;
}

html body .catalog_detail .pm-purchase-prices .cost.prices.detail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 8px;
  height: 100%;
  color: #73786e !important;
  font-size: 11px !important;
  text-align: left;
}

html body .catalog_detail .pm-payment-icon {
  grid-row: 1 / 3;
  width: 30px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(132, 168, 54, .34);
  border-radius: 9px;
  background: linear-gradient(145deg, #f8fff0, #edf8e2);
  color: #26320f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

html body .catalog_detail .pm-payment-icon--tpay {
  position: relative;
  isolation: isolate;
  width: 38px;
  gap: 1px;
  overflow: hidden;
  border-color: rgba(0, 0, 0, .09);
  background: linear-gradient(145deg, #ffe94d, #ffcf18);
  color: var(--pm-ink);
}

html body .catalog_detail .pm-payment-icon--tpay::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -45%;
  left: -70%;
  width: 42%;
  height: 190%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .84), transparent);
  filter: blur(2px);
  transform: rotate(18deg);
  animation: pm-tpay-wave 4.8s ease-in-out infinite;
  pointer-events: none;
}

html body .catalog_detail .pm-payment-icon--tpay b {
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 1;
}

html body .catalog_detail .pm-payment-icon--tpay small {
  position: relative;
  z-index: 1;
  font-size: 7px;
  font-weight: 700;
  line-height: 1;
}

html body .catalog_detail .pm-payment-label {
  align-self: center;
  color: #73786e;
  font-size: 11px;
}

html body .catalog_detail .pm-purchase-prices .mark_percent {
  position: absolute;
  left: 14px;
  bottom: 11px;
  padding: 0 !important;
  background: none !important;
  color: #5f7439 !important;
  font-size: 9px !important;
}

html body .catalog_detail .pm-purchase-prices .price_matrix_wrapper {
  grid-column: 2;
  align-self: center;
  margin: 7px 0 0 !important;
}

html body .catalog_detail .pm-purchase-prices .price,
html body .catalog_detail .pm-purchase-prices .price_value,
html body .catalog_detail .pm-purchase-prices .price_currency {
  color: var(--pm-ink) !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  letter-spacing: -.035em;
  white-space: nowrap;
}

html body .catalog_detail .pm-purchase-prices > [itemprop="offers"],
html body .catalog_detail .pm-purchase-prices > .text-center {
  grid-column: 1 / -1;
}

html body .catalog_detail .pm-purchase-prices > .text-center {
  min-height: 0;
}

html body .catalog_detail .pm-purchase-controls.counter_wrapp.big {
  display: flex !important;
  align-items: stretch !important;
  gap: 9px !important;
  width: 100% !important;
  margin: 11px 0 0 !important;
  padding: 0 !important;
}

html body .catalog_detail .pm-purchase-controls > .counter_block_inner {
  display: block !important;
  flex: 0 0 88px;
  width: 88px;
  margin: 0 !important;
}

html body .catalog_detail .pm-purchase-controls .counter_block {
  display: grid !important;
  grid-template-columns: 32px 22px 32px;
  align-items: center;
  width: 88px !important;
  height: 50px !important;
  overflow: hidden;
  border: 1px solid #dde0d8;
  border-radius: 15px;
  background: #fff;
}

html body .catalog_detail .pm-purchase-controls .counter_block > .minus,
html body .catalog_detail .pm-purchase-controls .counter_block > .plus,
html body .catalog_detail .pm-purchase-controls .counter_block > input.text {
  position: static !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--pm-ink) !important;
  text-align: center;
}

html body .catalog_detail .pm-purchase-controls > .button_block {
  flex: 1 1 auto !important;
  float: none !important;
  width: auto !important;
  min-width: 0;
  height: 50px !important;
  margin: 0 !important;
}

html body .catalog_detail .pm-purchase-controls .button_block > :is(.to-cart.btn, .to-order.btn, .in-cart.btn) {
  --pm-purchase-glint-x: -145%;
  position: relative;
  isolation: isolate;
  width: 100% !important;
  height: 50px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(133, 185, 16, .26) !important;
  border-radius: 15px !important;
  background:
    linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, .72) 50%, transparent 82%) var(--pm-purchase-glint-x) 0 / 48% 170% no-repeat,
    linear-gradient(180deg, #d9ff59 0%, #caff35 54%, #b9ee22 100%) !important;
  color: var(--pm-ink) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .72), inset 0 -3px 0 rgba(105, 153, 0, .15), 0 3px 0 rgba(137, 187, 21, .2), 0 11px 24px rgba(172, 223, 40, .24) !important;
  animation: pm-purchase-glint 3.8s linear infinite;
  transition: transform .14s ease, box-shadow .14s ease;
}

html body .catalog_detail .pm-purchase-controls .button_block > :is(.to-cart.btn, .to-order.btn, .in-cart.btn) .svg {
  display: none !important;
}

html body .catalog_detail .pm-purchase-controls .button_block > :is(.to-cart.btn, .to-order.btn, .in-cart.btn):active {
  transform: translateY(2px);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), 0 1px 0 rgba(137, 187, 21, .18), 0 6px 14px rgba(172, 223, 40, .18) !important;
}

html body .catalog_detail .pm-credit-row {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 7px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--pm-line);
}

html body .catalog_detail .pm-credit-provider {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

html body .catalog_detail .pm-credit-provider > span:last-child {
  display: grid;
  gap: 2px;
}

html body .catalog_detail .pm-credit-provider strong {
  font-size: 11px;
  font-weight: 700;
}

html body .catalog_detail .pm-credit-provider small {
  color: var(--pm-muted);
  font-size: 9px;
  white-space: nowrap;
}

html body .catalog_detail .pm-tbank-square {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 11px;
  background: linear-gradient(145deg, #ffe94d, #ffcf18);
  color: var(--pm-ink);
  font: 800 17px/1 Arial, sans-serif;
}

html body .catalog_detail .pm-credit-action.button_tbank {
  --pm-purchase-glint-x: -145%;
  position: relative;
  isolation: isolate;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 160px;
  height: 50px !important;
  min-height: 50px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 !important;
  padding: 0 14px !important;
  overflow: hidden;
  border: 1px solid rgba(205, 158, 0, .2) !important;
  border-radius: 15px !important;
  background:
    linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, .72) 50%, transparent 82%) var(--pm-purchase-glint-x) 0 / 48% 170% no-repeat,
    linear-gradient(180deg, #fff078 0%, #ffdf35 55%, #ffcc14 100%) !important;
  color: var(--pm-ink) !important;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .72), inset 0 -3px 0 rgba(180, 126, 0, .13), 0 3px 0 rgba(210, 161, 0, .18), 0 9px 18px rgba(209, 168, 0, .19) !important;
  animation: pm-purchase-glint 4.3s linear infinite;
}

html body .catalog_detail .pm-credit-action .button__logo {
  display: none !important;
}

html body .catalog_detail .pm-credit-action .button__content {
  display: block;
}

html body .catalog_detail .pm-credit-action .button__text {
  color: var(--pm-ink) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .015em;
  text-transform: uppercase;
  white-space: nowrap;
}

html body .catalog_detail .pm-purchase-section {
  position: relative;
  isolation: isolate;
  margin: 0 -22px !important;
  padding: 22px 22px 18px !important;
  overflow: hidden;
  border: 0 !important;
  background: transparent !important;
}

html body .catalog_detail .pm-purchase-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse 78% 34% at 100% 0%, rgba(181, 255, 24, .9) 0%, rgba(205, 255, 77, .66) 28%, rgba(229, 255, 166, .34) 55%, rgba(243, 255, 218, 0) 88%),
    linear-gradient(180deg, rgba(247, 255, 232, .46) 0%, rgba(249, 255, 239, .24) 54%, rgba(255, 255, 255, 0) 100%);
  content: "";
  filter: blur(5px);
  pointer-events: none;
}

html body .catalog_detail .pm-purchase-services .services-items {
  display: grid;
}

html body .catalog_detail .pm-purchase-services .services-item {
  min-height: 47px;
  margin: 0 !important;
  padding: 8px 0 !important;
  border: 0 !important;
  border-top: 1px solid #edefe9 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .catalog_detail .pm-purchase-services .services-item:first-child {
  border-top: 0 !important;
}

html body .catalog_detail .pm-purchase-services .services-item__inner,
html body .catalog_detail .pm-purchase-services .services-item__info {
  align-items: center !important;
}

html body .catalog_detail .pm-purchase-services .services-item__title {
  font-size: 12px;
  line-height: 1.3;
}

html body .catalog_detail .pm-purchase-services .services-item__price {
  font-size: 11px;
  white-space: nowrap;
}

html body .catalog_detail .pm-purchase-warranty.product-detail__warranty {
  float: none !important;
  min-height: 64px;
  display: flex !important;
  align-items: center;
  gap: 11px;
  margin: 0 !important;
  padding: 12px 2px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--pm-line) !important;
  background: transparent !important;
}

html body .catalog_detail .pm-warranty-mark,
html body .catalog_detail .pm-reserve-mark {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #dce6d4;
  border-radius: 13px;
  background: #f5f9f1;
  color: #26340d;
  font-size: 17px;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 rgba(202, 255, 53, .7);
}

html body .catalog_detail .pm-purchase-warranty .warranty__content {
  flex: 1;
  display: grid;
  color: var(--pm-muted);
  font-size: 10px;
}

html body .catalog_detail .pm-purchase-warranty .warranty__value {
  color: #294624;
  font-size: 12px;
  font-weight: 700;
}

html body .catalog_detail .pm-warranty-link {
  color: #45633d !important;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-align: right;
  text-decoration: none;
  white-space: nowrap;
}

html body .catalog_detail .pm-warranty-link:hover {
  color: #2f4c29 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html body .catalog_detail .pm-purchase-reserve {
  min-height: 64px;
  display: flex !important;
  align-items: center;
  gap: 11px;
  width: auto !important;
  margin: 0 !important;
  padding: 12px 24px !important;
  border: 0 !important;
  border-right: 1px solid #e6e8e1 !important;
  border-left: 1px solid #e6e8e1 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--pm-muted);
  text-align: left !important;
}

html body .catalog_detail .pm-purchase-reserve > span:nth-child(2) {
  flex: 1;
  display: grid;
}

html body .catalog_detail .pm-purchase-reserve strong {
  color: #334216;
  font-size: 11px;
  line-height: 1.35;
}

html body .catalog_detail .pm-purchase-reserve small {
  color: var(--pm-muted);
  font-size: 9px;
}

html body .catalog_detail .pm-purchase-reserve > b {
  position: relative;
  min-width: 43px;
  height: 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(213, 217, 207, .96);
  border-radius: 10px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .98), rgba(247, 249, 244, .82));
  color: var(--pm-ink);
  font-size: 10px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .98), inset 0 -2px 0 rgba(199, 204, 193, .2), 0 6px 14px rgba(32, 38, 26, .11);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
}

html body .catalog_detail .pm-purchase-reserve > b::after {
  content: "";
  position: absolute;
  inset: 1px 2px auto;
  height: 45%;
  border-radius: 8px 8px 50% 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0));
  pointer-events: none;
}

html body .catalog_detail .pm-purchase-delivery.detail-delivery {
  margin: 0 !important;
  padding-bottom: 9px !important;
  border: 1px solid #e6e8e1 !important;
  border-top: 0 !important;
  border-radius: 0 0 28px 28px !important;
  background: #fff !important;
  box-shadow: 0 18px 46px rgba(27, 32, 22, .08);
}

html body .catalog_detail .pm-purchase-delivery .detail-delivery__location {
  display: none !important;
}

html body .catalog_detail .pm-region-switch {
  display: grid;
  grid-template-columns: 1.25fr .72fr 1fr;
  gap: 7px;
  margin: 3px 0 13px;
}

html body .catalog_detail .pm-region-card {
  position: relative;
  min-height: 52px;
  padding: 8px 25px 8px 10px;
  border: 1px solid #e1e4dc;
  border-radius: 15px;
  background: #fff;
  color: #5d6459;
  cursor: pointer;
  font: 700 9px/1.2 "GT Walsheim Pro", Arial, sans-serif;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .98), 0 6px 15px rgba(29, 36, 22, .07);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

html body .catalog_detail .pm-region-card[aria-checked="true"] {
  border-color: #a9c868;
  color: #23291d;
  transform: translateY(-1px);
  box-shadow: inset -1px 1px 0 rgba(202, 255, 53, .48), 0 7px 18px rgba(108, 140, 28, .13);
}

html body .catalog_detail .pm-region-card[aria-checked="true"]::after {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pm-lime);
  color: var(--pm-ink);
  content: "✓";
  font-size: 9px;
  font-weight: 900;
}

html body .catalog_detail .pm-purchase-delivery .detail-delivery__items {
  display: grid !important;
}

html body .catalog_detail .pm-purchase-delivery .detail-delivery__item {
  min-height: 57px;
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px !important;
  border: 0 !important;
  border-top: 1px solid #d8e8ef !important;
  background: transparent !important;
}

html body .catalog_detail .pm-purchase-delivery .detail-delivery__item:first-child {
  border-top: 0 !important;
}

html body .catalog_detail .pm-purchase-delivery .detail-delivery__item-icon {
  width: 39px !important;
  height: 39px !important;
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  border: 1px solid #dfe4da;
  border-radius: 13px;
  background: #f6f8f3;
}

html body .catalog_detail .pm-purchase-delivery .detail-delivery__item-middle {
  flex: 1;
}

html body .catalog_detail .pm-purchase-delivery .detail-delivery__item-text,
html body .catalog_detail .pm-purchase-delivery .detail-delivery__item-end {
  font-size: 11px !important;
}

html body .catalog_detail .pm-regional-delivery {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 8px;
}

html body .catalog_detail .pm-regional-delivery__icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe4da;
  border-radius: 13px;
  background: #f6f8f3;
  color: #26340d;
  font-size: 19px;
}

html body .catalog_detail .pm-regional-delivery > span:last-child {
  display: grid;
  gap: 2px;
}

html body .catalog_detail .pm-regional-delivery strong {
  font-size: 11px;
}

html body .catalog_detail .pm-regional-delivery small {
  color: var(--pm-muted);
  font-size: 9px;
}

html body .catalog_detail .pm-purchase-delivery.pm-other-region .detail-delivery__items {
  display: none !important;
}

html body .catalog_detail .pm-purchase-delivery.pm-other-region .pm-regional-delivery {
  display: flex;
}

@keyframes pm-purchase-glint {
  from { --pm-purchase-glint-x: -145%; }
  to { --pm-purchase-glint-x: 245%; }
}

@keyframes pm-brand-reflection {
  0%, 68%, 100% { filter: brightness(.96) drop-shadow(0 2px 4px rgba(0, 0, 0, .08)); }
  80% { filter: brightness(1.18) drop-shadow(0 2px 5px rgba(0, 0, 0, .1)); }
}

@keyframes pm-tpay-wave {
  0%, 62% { left: -70%; opacity: 0; }
  69% { opacity: .9; }
  84% { left: 128%; opacity: .62; }
  100% { left: 128%; opacity: 0; }
}

@keyframes pm-stock-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}

@media (max-width: 767px) {
  html body .catalog_detail .pm-purchase-shell {
    padding: 18px 18px 0 !important;
    border-radius: 25px 25px 0 0 !important;
  }

  html body .catalog_detail .pm-purchase-section {
    margin-inline: -18px !important;
    padding-inline: 18px !important;
  }

  html body .catalog_detail .pm-purchase-product h2 {
    font-size: 19px;
  }

  html body .catalog_detail .pm-purchase-prices .price,
  html body .catalog_detail .pm-purchase-prices .price_value,
  html body .catalog_detail .pm-purchase-prices .price_currency {
    font-size: 18px !important;
  }

  html body .catalog_detail .pm-purchase-controls > .counter_block_inner {
    display: block !important;
  }

  html body .catalog_detail .pm-purchase-controls > .button_block {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
  }

  html body .catalog_detail .pm-purchase-controls > .button_tbank {
    max-width: none !important;
  }

  html body .catalog_detail .pm-credit-action.button_tbank {
    min-height: 50px !important;
    height: 50px !important;
  }

  html body .catalog_detail .pm-warranty-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  html body .catalog_detail .pm-purchase-reserve {
    padding-inline: 20px !important;
  }
}

@media (max-width: 350px) {
  html body .catalog_detail .pm-region-switch {
    grid-template-columns: 1fr 1fr;
  }

  html body .catalog_detail .pm-region-card[data-region="regions"] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 390px) {
  html body .catalog_detail .pm-credit-provider small {
    max-width: 88px;
    white-space: normal;
  }

  html body .catalog_detail .pm-credit-action.button_tbank {
    min-width: 150px;
    padding-inline: 10px !important;
  }

  html body .catalog_detail .pm-region-card {
    padding-inline: 7px 20px;
    font-size: 8px;
  }

  html body .catalog_detail .pm-region-card[aria-checked="true"]::after {
    right: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .catalog_detail .pm-purchase-root *,
  html body .catalog_detail .pm-purchase-root *::before,
  html body .catalog_detail .pm-purchase-root *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
