/*!
Theme Name: Tchr
Theme URI:
Author: Ola Kowalska
Author URI: https://olakowalska.com
Description:
Version: 1.0.0.
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tchr
Tags:
*/

/* BEM: promo-card */
.promo-card {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  padding: 12px;
}

.promo-card__inner {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border: 2px solid #111111;
  border-radius: 22px;
  padding: 22px 26px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.promo-card__top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.promo-card__logo {
  width: 92px;
  height: 92px;
  background: #f1f1f1;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
}

.promo-card__logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card__content {
  flex: 1;
  min-width: 0;
}

.promo-card__title {
  margin: 2px 0 6px;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #111111;
}

.promo-card__subtitle {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  color: #6b6b6b;
  font-weight: 500;
}

.promo-card__price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.promo-card__price-now {
  font-size: 30px;
  font-weight: 800;
  color: #ff2a7b; /* hot pink */
  letter-spacing: -0.02em;
}

.promo-card__price-was {
  font-size: 30px;
  font-weight: 700;
  color: #ff9dbd;
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: #ff9dbd;
}

/* Button link */
.promo-card__button {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 96px;
  padding: 18px 22px;

  border-radius: 20px;
  background: #ff1977;
  color: #ffffff;
  text-decoration: none;

  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.01em;

  box-shadow: 0 10px 22px rgba(255, 25, 119, 0.28);
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

.promo-card__button:hover {
  filter: brightness(1.02);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(255, 25, 119, 0.34);
}

.promo-card__button:active {
  transform: translateY(0px);
  box-shadow: 0 10px 20px rgba(255, 25, 119, 0.28);
}

.promo-card__button:focus-visible {
  outline: 3px solid #111111;
  outline-offset: 4px;
}

/* Screen-reader-only utility (still BEM-friendly since it's scoped) */
.promo-card__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive tweaks */
@media (max-width: 520px) {
  .promo-card__inner {
    padding: 18px 18px;
  }

  .promo-card__title {
    font-size: 28px;
  }

  .promo-card__subtitle {
    font-size: 16px;
  }

  .promo-card__price-now,
  .promo-card__price-was {
    font-size: 24px;
  }

  .promo-card__button {
    font-size: 26px;
    min-height: 78px;
  }
}
