.tpl .tpl-blur {
  pointer-events: none;
}

.tpl .tpl-product-custom-blocks > .tpl-black-friday {
  order: var(--product-order-black_friday);
}

.tpl .tpl-black-friday {
  min-width: 0;
  padding-top: clamp(24px, 3vw, 40px);
}

.tpl .tpl-black-friday[hidden] {
  display: none;
}

.tpl .tpl-black-friday__card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px 40px;
  padding: 40px;
  border: 1px solid #8ad545;
  border-radius: 24px;
  background: linear-gradient(120deg, #17221e, #10141b);
  color: #fff;
  overflow-wrap: anywhere;
}

.tpl .tpl-black-friday h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
}

.tpl .tpl-black-friday__description {
  margin: 18px 0 0;
  color: #e2e8e3;
  font-size: 18px;
  line-height: 1.5;
}

.tpl .tpl-black-friday__action {
  min-width: 0;
  text-align: center;
}

.tpl .tpl-black-friday__caption {
  margin: 0 0 10px;
  color: #e2e8e3;
}

.tpl .tpl-black-friday__timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto 24px;
}

.tpl .tpl-black-friday__time-part {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 16px 4px 12px;
  border: 1px solid rgba(177, 237, 126, 0.2);
  border-radius: 12px;
  background: rgba(177, 237, 126, 0.06);
}

.tpl .tpl-black-friday__number {
  color: #b1ed7e;
  font-size: clamp(22px, 3vw, 34px);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.tpl .tpl-black-friday__unit {
  color: #c5cec7;
  font-size: 11px;
  line-height: 1.3;
}

.tpl .tpl-black-friday__button {
  display: inline-flex;
  justify-content: center;
  max-width: 100%;
  height: auto;
  min-height: 48px;
  padding: 14px 24px;
  background: #8ad545;
  color: #15200e;
  white-space: normal;
  line-height: 1.4;
}

.tpl .tpl-black-friday__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.tpl .tpl-black-friday__conditions {
  grid-column: 1 / -1;
  margin: 0;
  color: #c5cec7;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .tpl .tpl-black-friday__card {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 24px 18px;
    border-radius: 18px;
  }

  .tpl .tpl-black-friday__button {
    width: 100%;
  }
}
