.soccer-offer {
  --sc-brand: #38b6ff;
  --sc-brand-dark: #1483c7;
  --sc-sel-bg: #f2faff;
  --sc-line: #cfe9f7;
  --sc-ink: #1c2b36;
  --sc-ink-strong: #20323c;
  --sc-muted: #485760;
  --sc-green: #15803d;
  --sc-red: #b42318;
  --sc-red-soft: #e8a99f;
  --sc-red-bg: #fff5f3;
  --sc-font: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sc-font-display: 'Fredoka', 'Nunito', system-ui, sans-serif;

  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  overflow: visible;
  font-family: var(--sc-font);
  font-size: 14px;
  color: var(--sc-ink);
  text-align: left;
}

/* --- resets, so theme margins and button styles cannot leak in ----------- */

.soccer-offer *,
.soccer-offer *::before,
.soccer-offer *::after {
  box-sizing: border-box;
}

.soccer-offer div,
.soccer-offer span,
.soccer-offer p,
.soccer-offer button {
  margin: 0;
  letter-spacing: normal;
  text-transform: none;
}

.soccer-offer b,
.soccer-offer strong {
  display: inline;
  width: auto;
  margin: 0;
  padding: 0;
  font-weight: 800;
  line-height: inherit;
}

.soccer-offer img {
  max-width: 100%;
}

/* --- base card ----------------------------------------------------------- */

.soccer-offer .soccer-base {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px 12px;
  border: 2px solid var(--sc-brand);
  border-radius: 16px;
  background: var(--sc-sel-bg);
  overflow: visible;
}

.soccer-offer .soccer-base__main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.soccer-offer .soccer-base__dot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid var(--sc-brand);
  border-radius: 50%;
  background: #fff;
}

.soccer-offer .soccer-base__dot::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sc-brand);
}

.soccer-offer .soccer-base__thumb {
  flex: none;
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
}

.soccer-offer .soccer-base__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.soccer-offer .soccer-base__info {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.soccer-offer .soccer-base__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.soccer-offer .soccer-base__headline {
  display: block;
  font-family: var(--sc-font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  color: var(--sc-ink);
}

.soccer-offer .soccer-base__descriptor {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--sc-muted);
}

.soccer-offer .soccer-base__price {
  flex: 0 0 auto;
  font-family: var(--sc-font);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--sc-ink-strong);
  white-space: nowrap;
}

/* --- chips (3 across) ---------------------------------------------------- */

.soccer-offer .soccer-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.soccer-offer .soccer-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 7px 2px;
  border: 1px solid var(--sc-line);
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.soccer-offer .soccer-chip__icon {
  display: block;
  flex: none;
  width: 24px;
  height: 32px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(11, 31, 75, 0.25);
}

/* first chip is the ball photo: square, slightly rounder */
.soccer-offer .soccer-chip:first-child .soccer-chip__icon {
  width: 32px;
  height: 32px;
  border-radius: 5px;
}

.soccer-offer .soccer-chip__label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--sc-ink);
}

.soccer-offer .soccer-chip__label b {
  font-size: 13px;
  font-weight: 800;
}

/* --- gift toggle --------------------------------------------------------- */

.soccer-offer .soccer-gift {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 14px 12px 12px;
  border: 2px dashed var(--sc-red-soft);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  overflow: visible;
  font-family: var(--sc-font);
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--sc-ink);
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.soccer-offer .soccer-gift:hover,
.soccer-offer .soccer-gift:focus {
  background: #fff;
  color: var(--sc-ink);
}

.soccer-offer .soccer-gift--on,
.soccer-offer .soccer-gift--on:hover,
.soccer-offer .soccer-gift--on:focus {
  border: 2px solid var(--sc-red);
  background: var(--sc-red-bg);
}

.soccer-offer .soccer-gift:focus-visible {
  outline: 3px solid var(--sc-red);
  outline-offset: 2px;
}

.soccer-offer .soccer-gift__badge {
  position: absolute;
  top: -10px;
  left: 12px;
  z-index: 5;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sc-red);
  color: #fff;
  font-family: var(--sc-font);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.soccer-offer .soccer-gift__box {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 2px solid var(--sc-red);
  border-radius: 6px;
  background: #fff;
  pointer-events: none;
}

.soccer-offer .soccer-gift--on .soccer-gift__box {
  background: var(--sc-red);
}

.soccer-offer .soccer-gift__tick {
  display: none;
  width: 14px;
  height: 14px;
}

.soccer-offer .soccer-gift--on .soccer-gift__tick {
  display: block;
}

.soccer-offer .soccer-gift__icon {
  flex: none;
  width: 34px;
  height: 34px;
  pointer-events: none;
}

.soccer-offer .soccer-gift__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}

.soccer-offer .soccer-gift__headline {
  display: block;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--sc-ink);
}

.soccer-offer .soccer-gift__save {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--sc-green);
}

.soccer-offer .soccer-gift__note {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--sc-muted);
}

/* --- warning ------------------------------------------------------------- */

.soccer-offer .soccer-offer__warning {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff4f1;
  color: var(--sc-red);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.soccer-offer .soccer-offer__warning[hidden] {
  display: none;
}

/* --- tablet -------------------------------------------------------------- */

@media (min-width: 600px) {
  .soccer-offer .soccer-base {
    padding: 18px 14px 14px;
  }

  .soccer-offer .soccer-base__headline {
    font-size: 17px;
  }

  .soccer-offer .soccer-base__price {
    font-size: 19px;
  }

  .soccer-offer .soccer-base__descriptor,
  .soccer-offer .soccer-gift__save,
  .soccer-offer .soccer-gift__note {
    font-size: 12px;
  }

  .soccer-offer .soccer-chip__label {
    font-size: 11.5px;
  }

  .soccer-offer .soccer-gift {
    padding: 15px 14px 13px;
  }

  .soccer-offer .soccer-gift__headline {
    font-size: 14px;
  }
}

/* --- desktop ------------------------------------------------------------- */

@media (min-width: 1024px) {
  .soccer-offer .soccer-base__headline {
    font-size: 18px;
  }

  .soccer-offer .soccer-base__price {
    font-size: 20px;
  }

  .soccer-offer .soccer-gift__headline {
    font-size: 14.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .soccer-offer .soccer-gift {
    transition: none;
  }
}

/* Keep soccer offer cards fully opaque after tapping */
.soccer-offer .soccer-gift,
.soccer-offer .soccer-gift:hover,
.soccer-offer .soccer-gift:active,
.soccer-offer .soccer-gift:focus,
.soccer-offer .soccer-gift:focus-within,
.soccer-offer .soccer-base,
.soccer-offer .soccer-base:hover,
.soccer-offer .soccer-base:active,
.soccer-offer .soccer-base:focus,
.soccer-offer .soccer-base:focus-within,
.soccer-offer .soccer-chip,
.soccer-offer .soccer-chip:hover,
.soccer-offer .soccer-chip:active,
.soccer-offer .soccer-chip:focus,
.soccer-offer .soccer-chip:focus-within,
.soccer-offer button,
.soccer-offer button:hover,
.soccer-offer button:active,
.soccer-offer button:focus,
.soccer-offer button:focus-within,
.soccer-offer label,
.soccer-offer label:hover,
.soccer-offer label:active,
.soccer-offer label:focus,
.soccer-offer label:focus-within {
  opacity: 1 !important;
}
