/* Aside banner "design_bf26" (Black Friday 2026, Figma 1271:1367). Base card: _aside-banner.scss */

.post__buy-block--bf26 {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #2e008a;
  background: #02021a;
  color: #fff;
}

/* The card has its own border; the shared gradient frame is not needed. */
.post__buy-block--bf26::after {
  display: none;
}

/* Keeps the collage area of the background free: 236px at 280px content width. */
.post__buy-block--bf26::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 280 / 236;
}

/* Module styles are loaded per layout, so the background positioning lives here too. */
.post__buy-block--bf26 .post__buy-block-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* Background is scaled by width so the collage stays above the text at any card width. */
.post__buy-block--bf26 .post__buy-block-bg img {
  display: block;
  width: 100%;
  height: auto;
}

.post__buy-block--bf26 .post__buy-block-label {
  position: absolute;
  top: 19px;
  left: 19px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  background-color: #ffa800;
  color: #1a1a1a;
  font-family: Roobert, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.post__buy-block--bf26 .post__buy-block-label::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
}

.post__buy-block--bf26 .post__buy-block-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.post__buy-block--bf26 .post__buy-block-title {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.post__buy-block--bf26 .post__buy-block-title p {
  margin: 0;
}

.post__buy-block--bf26 .post__buy-block-title span,
.post__buy-block--bf26 .post__buy-block-title strong {
  display: block;
  color: #ffa800;
  font-weight: inherit;
}

.post__buy-block--bf26 .post__buy-block-hint {
  margin: 0;
  color: #bfbfbf;
  font-family: Roobert, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.post__buy-block--bf26 .post__buy-block-btn {
  height: 44px;
  padding: 12px 16px;
}

.post__buy-block--bf26 .post__buy-block-btn--coupon {
  align-items: center;
  border: 1px dashed #ffa800;
  background-color: rgba(255, 168, 0, 0.1);
}

.post__buy-block--bf26 .post__buy-block-btn--coupon .icon {
  opacity: 1;
}

.post__buy-block--bf26 .post__buy-block-btn--coupon:hover {
  border-color: #ffa800;
  background-color: rgba(255, 168, 0, 0.2);
  opacity: 1;
}

@media screen and (min-width: 1800px) {
  .post__buy-block--bf26 .post__buy-block-title {
    font-size: 20px;
  }
}
