/* Jake's Fireworks components. Every color, size and radius comes from tokens.css. */

.jf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border: 3px solid var(--red);
  border-radius: var(--radius-none);
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.jf-button:hover { background: var(--blue); border-color: var(--blue); }
.jf-button:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }
.jf-button--accent { background: var(--yellow); border-color: var(--yellow); color: var(--blue); }
.jf-button--accent:hover { background: var(--white); border-color: var(--white); color: var(--blue); }
.jf-button--blue { background: var(--blue); border-color: var(--blue); }
.jf-button--blue:hover { background: var(--blue-bright); border-color: var(--blue-bright); }
.jf-button--outline { background: var(--white); color: var(--blue); border-color: var(--blue); }
.jf-button--outline:hover { background: var(--blue); color: var(--white); }
.jf-button[disabled] { background: var(--gray-light); border-color: var(--gray-light); color: var(--black); cursor: not-allowed; }
.jf-on-blue .jf-button:focus-visible { outline-color: var(--yellow); }

.jf-headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0.04em 0.05em 0 var(--blue);
}
.jf-headline__main { display: block; font-size: 96px; line-height: 0.95; color: var(--yellow); }
.jf-headline__support { display: block; font-size: 64px; line-height: 1; color: var(--white); }
.jf-headline--md .jf-headline__main { font-size: 64px; }
.jf-headline--md .jf-headline__support { font-size: 40px; line-height: 1.05; }

.jf-band { background: var(--blue); color: var(--white); padding: var(--space-5) var(--space-4); }
.jf-band--gradient { background: linear-gradient(180deg, var(--blue), var(--blue-bright)); }

.jf-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-2);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--blue);
}
.jf-tag--yellow { background: var(--yellow); color: var(--blue); }
.jf-tag--red { background: var(--red); color: var(--white); }

.jf-coupon {
  width: 432px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-text);
}
.jf-coupon__offer {
  background: linear-gradient(180deg, var(--blue-bright), var(--blue) 55%);
  color: var(--white);
  padding: var(--space-4) var(--space-3);
  text-align: center;
}
.jf-coupon__offer .jf-headline__main { font-size: 72px; }
.jf-coupon__offer .jf-headline__support { font-size: 48px; }
.jf-coupon__dates {
  margin: var(--space-3) 0 var(--space-2);
  padding: var(--space-2);
  background: var(--white);
  color: var(--red);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}
.jf-coupon__conditions {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 900;
  text-transform: uppercase;
}
.jf-coupon__foot { padding: var(--space-3); }
.jf-coupon__foot img { display: block; height: 96px; width: auto; }
.jf-coupon__terms { margin: var(--space-2) 0 0; font-size: 11px; line-height: 1.35; text-align: center; }

.jf-billboard {
  display: grid;
  grid-template-columns: 34% 1fr;
  align-items: center;
  gap: var(--space-4);
  width: 840px;
  aspect-ratio: 1400 / 408;
  overflow: hidden;
  padding-right: var(--space-4);
  background: repeating-conic-gradient(from 0deg at 62% 60%, var(--blue) 0deg 6deg, var(--blue-bright) 6deg 12deg);
  color: var(--white);
  font-family: var(--font-display);
  text-transform: uppercase;
  text-align: center;
  position: relative;
}
.jf-billboard::before { content: ""; position: absolute; inset: 0; background: var(--blue); opacity: 0.82; }
.jf-billboard > * { position: relative; }
.jf-billboard__logo { width: 124%; max-width: none; margin: -6% 0 -14% -14%; }
.jf-billboard__lead { font-size: 40px; line-height: 1.05; }
.jf-billboard__main { font-size: 96px; line-height: 0.95; color: var(--yellow); }
.jf-billboard__direction { display: flex; align-items: center; justify-content: center; gap: var(--space-3); margin-top: var(--space-2); }
.jf-billboard__arrow {
  padding: var(--space-1) var(--space-4) var(--space-1) var(--space-5);
  background: var(--yellow);
  color: var(--red);
  font-size: 40px;
  line-height: 1.05;
  clip-path: polygon(24px 0, 100% 0, 100% 100%, 24px 100%, 0 50%);
}
.jf-billboard__arrow--right { padding: var(--space-1) var(--space-5) var(--space-1) var(--space-4); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%); }
.jf-billboard__where { font-size: 24px; line-height: 1.1; letter-spacing: 0.02em; }

.jf-product {
  display: flex;
  flex-direction: column;
  width: 240px;
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--gray-light);
  font-family: var(--font-text);
}
.jf-product__image { background: var(--gray-light); padding: var(--space-3); aspect-ratio: 1; display: grid; place-items: center; }
.jf-product__image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.jf-product__body { padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); }
.jf-product__name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; }
.jf-product__meta { margin: 0; font-size: 14px; line-height: 1.45; color: var(--black); }
.jf-product__price { font-family: var(--font-display); font-size: 40px; line-height: 1.05; color: var(--red); }
.jf-product__flag { align-self: flex-start; }
