@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

#bo-page {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

#bo-page {
--bg: #1e1e1e;
      --panel: #333333;
      --panel-2: #2b2b2b;
      --mint: #6dcab3;
      --mint-dark: #27876d;
      --yellow: #f0ef17;
      --white: #ffffff;
      --muted: #c9c9c9;
      --orange: #ffb000;
      --radius: 30px;
      --page-width: 1440px;
}

#bo-page * {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body, #bo-page {
margin: 0;
      min-width: 320px;
      background: var(--bg);
      color: var(--white);
      font-family: Poppins, Montserrat, Arial, sans-serif;
      font-weight: 600;
}

#bo-page button,
#bo-page input {
font: inherit;
}

#bo-page button {
color: inherit;
}

#bo-page .site-shell {
width: min(100% - 40px, var(--page-width));
      margin: 0 auto;
}

/* HEADER */

#bo-page .site-header {
padding: 48px 0 28px;
}

#bo-page .header-row {
display: grid;
      grid-template-columns: 320px minmax(250px, 1fr) auto;
      align-items: center;
      gap: 52px;
}

#bo-page .brand {
display: flex;
      align-items: center;
      gap: 18px;
      text-decoration: none;
      color: var(--white);
      line-height: 1;
}

#bo-page .brand-mark {
width: 74px;
      height: 74px;
      color: var(--mint);
      font-size: 78px;
      font-weight: 900;
      line-height: .9;
      letter-spacing: -10px;
      transform: translateY(-2px);
      user-select: none;
}

#bo-page .brand-name {
display: flex;
      flex-direction: column;
      font-size: 27px;
      font-weight: 900;
      letter-spacing: -1.2px;
      white-space: nowrap;
}

#bo-page .brand-name small {
width: max-content;
      margin: 4px 0 0 24px;
      padding-top: 3px;
      border-top: 5px solid var(--mint);
      color: var(--mint);
      font-size: 12px;
      letter-spacing: 0;
}


#bo-page .brand-logo-image {
  display: block;
  width: min(340px, 100%);
  height: auto;
  max-height: 86px;
  object-fit: contain;
}

#bo-page .percent-disc-image {
  width: 43px;
  height: 43px;
  display: block;
  object-fit: contain;
  background: transparent;
  transform: rotate(-8deg);
}

#bo-page.bo-offer-page .bo-percent-disc-image {
  position: absolute;
  right: -28px;
  bottom: -42px;
  z-index: 8;
  width: 168px;
  height: 168px;
  display: block;
  object-fit: contain;
  transform: rotate(-8deg);
}

#bo-page .search-box {
position: relative;
      max-width: 410px;
}

#bo-page .search-box input {
width: 100%;
      height: 44px;
      border: 2px solid var(--mint);
      border-radius: 0;
      outline: 0;
      background: transparent;
      color: var(--white);
      padding: 0 54px 0 14px;
}

#bo-page .search-box input:focus {
box-shadow: 0 0 0 3px rgba(109, 202, 179, .18);
}

#bo-page .search-box button {
position: absolute;
      right: 0;
      top: 0;
      width: 48px;
      height: 44px;
      border: 0;
      background: transparent;
      cursor: pointer;
}

#bo-page .search-box button::before {
content: "";
      position: absolute;
      width: 12px;
      height: 12px;
      border: 4px solid var(--white);
      border-radius: 50%;
      left: 14px;
      top: 10px;
}

#bo-page .search-box button::after {
content: "";
      position: absolute;
      width: 12px;
      height: 4px;
      background: var(--white);
      transform: rotate(45deg);
      left: 27px;
      top: 27px;
      border-radius: 2px;
}

#bo-page .header-actions {
display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 44px;
      white-space: nowrap;
}

#bo-page .header-actions a {
color: var(--mint);
      text-decoration: none;
      font-size: 17px;
      font-weight: 800;
}

#bo-page .header-actions a:hover {
color: var(--white);
}

#bo-page .header-actions .how-to {
min-width: 164px;
      padding: 10px 20px;
      background: var(--yellow);
      color: #111;
      text-align: center;
      font-size: 18px;
      font-weight: 900;
}

/* CITY TABS */

#bo-page .city-tabs {
display: flex;
      gap: 16px;
      margin-top: 54px;
}

#bo-page .city-tab {
min-width: 122px;
      padding: 7px 24px;
      border: 0;
      border-radius: 8px 8px 0 0;
      background: #3b3b3b;
      color: var(--white);
      cursor: pointer;
      font-size: 13px;
      font-weight: 800;
}

#bo-page .city-tab.active,
#bo-page .city-tab:hover {
background: var(--mint);
      color: #12352d;
}

/* CATEGORY BAR */

#bo-page .category-bar {
margin-top: 22px;
      padding: 20px 26px;
      display: grid;
      grid-template-columns: repeat(6, minmax(140px, 1fr));
      gap: 12px;
      border-radius: 0 40px 0 0;
      background: var(--panel);
}

#bo-page .category-button {
display: flex;
      align-items: center;
      gap: 18px;
      border: 0;
      background: transparent;
      color: var(--white);
      cursor: pointer;
      text-align: left;
      font-size: 14px;
      font-weight: 500;
      white-space: nowrap;
}

#bo-page .category-dot {
flex: 0 0 22px;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: var(--white);
      border: 6px solid var(--white);
      box-shadow: 0 0 0 2px rgba(255,255,255,.15);
}

#bo-page .category-button.active .category-dot {
background: var(--mint);
}

/* CONTENT */

#bo-page .content-layout {
display: grid;
      grid-template-columns: minmax(0, 1fr) 240px;
      gap: 24px;
      padding: 36px 0 24px;
      align-items: start;
}

#bo-page .offers-grid {
display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
}

#bo-page .offer-card {
position: relative;
      min-height: 184px;
      display: grid;
      grid-template-columns: 44% 56%;
      overflow: visible;
      border-radius: var(--radius);
      background: var(--panel);
}

#bo-page .offer-card.sponsored {
border: 4px solid var(--yellow);
}

#bo-page .sponsor-label {
position: absolute;
      left: 26px;
      top: -20px;
      color: var(--yellow);
      font-size: 8px;
      text-transform: lowercase;
      letter-spacing: .2px;
}

/*
      MIEJSCA NA ZDJĘCIA:
      1. Na razie wyświetla się placeholder.
      2. Po wrzuceniu zdjęcia do biblioteki WordPress skopiuj jego adres URL.
      3. W konkretnym divie .image-slot ustaw:
         style="--image: url('ADRES-ZDJECIA-Z-WORDPRESSA');"
    */

#bo-page .image-slot {
min-height: 184px;
      border-radius: 26px;
      overflow: hidden;
      display: grid;
      place-items: center;
      text-align: center;
      padding: 18px;
      color: #bdbdbd;
      background-color: #252525;
      background-image:
        linear-gradient(135deg, rgba(255,255,255,.06) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255,255,255,.06) 25%, transparent 25%),
        linear-gradient(45deg, rgba(255,255,255,.06) 25%, transparent 25%),
        linear-gradient(315deg, rgba(255,255,255,.06) 25%, #252525 25%);
      background-position: 12px 0, 12px 0, 0 0, 0 0;
      background-size: 24px 24px;
      background-repeat: repeat;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}

#bo-page .image-slot[style*="--image"] {
background-image: var(--image);
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
      color: transparent;
}

#bo-page .image-slot span {
max-width: 170px;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.35;
}

#bo-page .offer-content {
min-width: 0;
      min-height: 184px;
      padding: 14px 16px 14px 18px;
      display: flex;
      flex-direction: column;
}

#bo-page .rating-row {
display: flex;
      align-items: center;
      min-height: 24px;
      margin-bottom: 7px;
}

#bo-page .stars {
display: inline-flex;
      gap: 2px;
      color: var(--orange);
      font-size: 19px;
      letter-spacing: -1px;
      line-height: 1;
}

#bo-page .stars .dim {
color: #a8a8a8;
}

#bo-page .deal-badge {
position: absolute;
      right: 9px;
      top: 4px;
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--mint);
      font-size: 25px;
      font-weight: 900;
      letter-spacing: -.8px;
}

#bo-page .deal-badge.yellow {
color: var(--yellow);
}

#bo-page .percent-disc {
width: 43px;
      height: 43px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: var(--mint);
      color: var(--white);
      font-size: 26px;
      line-height: 1;
      transform: rotate(-8deg);
}

#bo-page .offer-title {
margin: 0 0 8px;
      padding-right: 60px;
      color: var(--white);
      font-size: clamp(17px, 1.55vw, 24px);
      line-height: 1.1;
      font-weight: 900;
      letter-spacing: -.5px;
}

#bo-page .offer-description {
margin: 0;
      color: #d9d9d9;
      font-size: 10px;
      line-height: 1.25;
      font-weight: 600;
}

#bo-page .price-row {
margin-top: auto;
      padding-top: 12px;
      display: flex;
      align-items: end;
      justify-content: flex-end;
      gap: 10px;
}

#bo-page .old-price,
#bo-page .order-text {
color: var(--white);
      font-size: 14px;
      font-weight: 800;
      white-space: nowrap;
}

#bo-page .old-price {
text-decoration: line-through;
}

#bo-page .price-pill {
min-width: 135px;
      padding: 8px 13px;
      border-radius: 8px;
      background: var(--mint-dark);
      color: var(--white);
      text-align: center;
      font-size: 25px;
      font-weight: 900;
      line-height: 1;
      white-space: nowrap;
}

#bo-page .price-pill.yellow {
background: var(--yellow);
      color: #111;
}

#bo-page .price-pill.word {
min-width: 132px;
      letter-spacing: 1px;
}

/* ADS */

#bo-page .ads-column {
display: grid;
      gap: 24px;
}

#bo-page .ad-block {
position: relative;
}

#bo-page .ad-label {
position: absolute;
      right: 2px;
      top: -15px;
      color: #999;
      font-size: 7px;
      font-weight: 500;
}

#bo-page .ad-slot {
width: 100%;
      min-height: 386px;
      display: grid;
      place-items: center;
      padding: 20px;
      text-align: center;
      color: #bdbdbd;
      background-color: #272727;
      background-image:
        linear-gradient(45deg, rgba(255,255,255,.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.05) 75%);
      background-size: 28px 28px;
      background-position: 0 0, 0 14px, 14px -14px, -14px 0;
      border: 1px solid rgba(255,255,255,.05);
}

#bo-page .ad-slot[style*="--image"] {
background-image: var(--image);
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
      color: transparent;
}

#bo-page .ad-slot span {
max-width: 150px;
      font-size: 13px;
      line-height: 1.4;
}

#bo-page .empty-state {
grid-column: 1 / -1;
      padding: 50px 20px;
      text-align: center;
      color: #bdbdbd;
      background: var(--panel);
      border-radius: 24px;
}

/* RESPONSIVE */

@media (max-width: 1220px) {
#bo-page .header-row {
grid-template-columns: 280px 1fr;
        gap: 30px;
}

#bo-page .header-actions {
grid-column: 1 / -1;
        justify-content: flex-start;
}

#bo-page .category-bar {
grid-template-columns: repeat(3, minmax(160px, 1fr));
}

#bo-page .content-layout {
grid-template-columns: 1fr;
}

#bo-page .ads-column {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

#bo-page .ad-slot {
min-height: 260px;
}
}

@media (max-width: 940px) {
#bo-page .offers-grid {
grid-template-columns: 1fr;
}

#bo-page .offer-title {
font-size: 23px;
}
}

@media (max-width: 720px) {
#bo-page .site-shell {
width: min(100% - 24px, var(--page-width));
}

#bo-page .site-header {
padding-top: 24px;
}

#bo-page .header-row {
grid-template-columns: 1fr;
}

#bo-page .search-box {
max-width: none;
}

#bo-page .header-actions {
grid-column: auto; gap: 18px; flex-wrap: wrap;
}

#bo-page .city-tabs {
margin-top: 34px; overflow-x: auto; padding-bottom: 4px;
}

#bo-page .city-tab {
min-width: 110px;
}

#bo-page .category-bar {
grid-template-columns: repeat(2, minmax(130px, 1fr));
        border-radius: 0 24px 0 0;
}

#bo-page .category-button {
white-space: normal; gap: 10px;
}

#bo-page .offer-card,
#bo-page .offer-card.sponsored {
grid-template-columns: 1fr;
}

#bo-page .image-slot {
min-height: 230px;
        border-radius: 26px 26px 0 0;
}

#bo-page .offer-content {
min-height: 190px;
}

#bo-page .deal-badge {
top: 241px;
}

#bo-page .sponsor-label {
top: -18px;
}

#bo-page .ads-column {
grid-template-columns: 1fr;
}

#bo-page .ad-slot {
min-height: 360px;
}
}

@media (max-width: 440px) {
#bo-page .brand-mark {
width: 58px; height: 58px; font-size: 62px;
}

#bo-page .brand-name {
font-size: 22px;
}

#bo-page .header-actions .how-to {
width: 100%;
}

#bo-page .category-bar {
grid-template-columns: 1fr;
}

#bo-page .price-row {
flex-wrap: wrap;
}

#bo-page .price-pill {
min-width: 122px; font-size: 22px;
}

#bo-page .deal-badge {
font-size: 21px;
}
}

/* Powiekszenie etykiety promocji po najechaniu na kafelek */
#bo-page .deal-badge {
  transition: transform 180ms ease;
  transform-origin: center;
}

#bo-page .offer-card:hover .deal-badge,
#bo-page .offer-card:focus-within .deal-badge {
  transform: scale(1.05);
}

/* =========================================================
   PODSTRONA OFERT — LISTA KAFELKÓW Z ODBIOREM KODU
   ========================================================= */

#bo-page .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.single-oferta {
  background: #1e1e1e;
}

#bo-page.bo-offer-page {
  --offer-main-radius: 66px;
  --offer-panel-green: #278f75;
  --offer-code-green: #69c9ae;
  --offer-card-width: 1280px;
  min-height: 100vh;
  overflow: visible;
}

#bo-page.bo-offer-page .bo-sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 26px 0 18px;
  background: rgba(30, 30, 30, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.admin-bar #bo-page.bo-offer-page .bo-sticky-header {
  top: 32px;
}

#bo-page.bo-offer-page .header-row {
  grid-template-columns: 300px minmax(240px, 390px) 1fr;
  gap: 42px;
}

#bo-page.bo-offer-page .site-header .brand-mark {
  width: 62px;
  height: 62px;
  font-size: 66px;
}

#bo-page.bo-offer-page .site-header .brand-name {
  font-size: 24px;
}

#bo-page.bo-offer-page .site-header .brand-name small {
  font-size: 10px;
  border-top-width: 4px;
}

#bo-page.bo-offer-page .city-tabs {
  margin-top: 30px;
}

#bo-page.bo-offer-page .category-bar {
  margin-top: 14px;
  padding: 16px 22px;
  border-radius: 0 30px 0 0;
}

#bo-page.bo-offer-page .category-button {
  color: var(--white);
  text-decoration: none;
}

#bo-page.bo-offer-page .bo-offers-main {
  width: min(100% - 40px, var(--offer-card-width));
  padding: 44px 0 110px;
}

#bo-page.bo-offer-page .bo-offer-list {
  display: grid;
  gap: 52px;
}

#bo-page.bo-offer-page .bo-redemption-card {
  position: relative;
  width: 100%;
  scroll-margin-top: 230px;
}

#bo-page.bo-offer-page .bo-redemption-card[hidden] {
  display: none !important;
}

#bo-page.bo-offer-page .bo-offer-card-main {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  min-height: 560px;
  border-radius: var(--offer-main-radius);
  background: var(--panel);
  overflow: visible;
}

#bo-page.bo-offer-page .bo-offer-visual {
  position: relative;
  min-width: 0;
  min-height: 560px;
}

#bo-page.bo-offer-page .bo-offer-visual > img,
#bo-page.bo-offer-page .bo-offer-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: block;
  border-radius: var(--offer-main-radius) 48px 48px var(--offer-main-radius);
  object-fit: cover;
  background: #272727;
}

#bo-page.bo-offer-page .bo-offer-image-placeholder {
  display: grid;
  place-items: center;
  padding: 30px;
  color: #aaa;
  text-align: center;
}

#bo-page.bo-offer-page .bo-offer-tags {
  position: absolute;
  left: 88px;
  right: 54px;
  bottom: -34px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 28px;
  pointer-events: none;
}

#bo-page.bo-offer-page .bo-offer-tags span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 10px 20px;
  border-radius: 0 0 22px 22px;
  background: #333333;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

#bo-page.bo-offer-page .bo-offer-details {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 30px 48px 0;
}

#bo-page.bo-offer-page .bo-offer-rating {
  width: max-content;
  min-width: 230px;
  margin: -14px 0 22px -12px;
  padding: 10px 24px 9px;
  border-radius: 0 0 18px 18px;
  background: #2b2b2b;
  color: var(--orange);
  font-size: 33px;
  line-height: 1;
  letter-spacing: 2px;
}

#bo-page.bo-offer-page .bo-offer-rating .is-dim {
  color: #777;
}

#bo-page.bo-offer-page .bo-offer-heading {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -2px;
}

#bo-page.bo-offer-page .bo-offer-copy {
  margin: 0;
  color: #dedede;
  font-size: 17px;
  line-height: 1.12;
  font-weight: 500;
  text-align: justify;
}

#bo-page.bo-offer-page .bo-offer-addresses {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#bo-page.bo-offer-page .bo-address-pill {
  max-width: 100%;
  padding: 9px 16px;
  border-radius: 8px;
  background: #202020;
  color: #cfcfcf;
  font-size: 11px;
  font-weight: 500;
}

#bo-page.bo-offer-page .bo-offer-pricing {
  margin: auto -48px 0;
  min-height: 116px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(250px, 1.25fr);
  align-items: end;
  gap: 18px;
  padding-left: 48px;
}

#bo-page.bo-offer-page .bo-old-price {
  margin-bottom: 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-decoration: line-through;
}

#bo-page.bo-offer-page .bo-new-price {
  width: max-content;
  max-width: 100%;
  padding: 12px 20px;
  border-radius: 9px;
  background: var(--mint-dark);
  color: #fff;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

#bo-page.bo-offer-page .bo-claim-trigger {
  align-self: end;
  min-height: 84px;
  padding: 18px 84px 18px 28px;
  border: 0;
  border-radius: 0 0 0 28px;
  background: var(--offer-panel-green);
  color: #fff;
  cursor: pointer;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
  transition: background-color 180ms ease, transform 180ms ease;
}

#bo-page.bo-offer-page .bo-claim-trigger:hover,
#bo-page.bo-offer-page .bo-claim-trigger:focus-visible {
  background: #2ca184;
  transform: translateY(-2px);
}

#bo-page.bo-offer-page .bo-percent-disc {
  position: absolute;
  right: -28px;
  bottom: -42px;
  z-index: 8;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: #fff;
  font-size: 92px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-8deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}

#bo-page.bo-offer-page .bo-claim-wrap,
#bo-page.bo-offer-page .bo-code-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 0fr;
  margin-top: -54px;
  opacity: 0;
  transition:
    grid-template-rows 520ms cubic-bezier(.4, 0, .2, 1),
    opacity 260ms ease,
    margin-top 520ms cubic-bezier(.4, 0, .2, 1);
}

#bo-page.bo-offer-page .bo-collapsible-inner {
  min-height: 0;
  overflow: hidden;
}

#bo-page.bo-offer-page .bo-redemption-card.is-claim-open .bo-claim-wrap {
  grid-template-rows: 1fr;
  /* Panel wchodzi pod zaokraglony kafelek, wiec nie widac czarnych wyciec. */
  margin-top: -98px;
  opacity: 1;
}

#bo-page.bo-offer-page .bo-claim-panel {
  min-height: 260px;
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(300px, 1.1fr);
  align-items: center;
  gap: 72px;
  /* Dodatkowy padding kompensuje glebsze nalozenie panelu pod kafelek. */
  padding: 166px 84px 44px;
  border-radius: 0 0 66px 66px;
  background: var(--offer-panel-green);
}

#bo-page.bo-offer-page .bo-claim-form-column {
  display: grid;
  gap: 10px;
}

#bo-page.bo-offer-page .bo-claim-form-column label {
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}

#bo-page.bo-offer-page .bo-customer-name {
  width: 100%;
  min-height: 106px;
  padding: 20px 24px;
  border: 0;
  border-radius: 23px;
  outline: 0;
  background: #333;
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: none;
}

#bo-page.bo-offer-page .bo-customer-name:focus {
  box-shadow: 0 0 0 4px rgba(240, 239, 23, .32);
}

#bo-page.bo-offer-page .bo-name-error {
  min-height: 20px;
  margin: 0;
  color: #fff2a4;
  font-size: 13px;
}

#bo-page.bo-offer-page .bo-realize-trigger {
  min-height: 104px;
  padding: 20px 34px;
  border: 0;
  border-radius: 24px;
  background: var(--yellow);
  color: #171717;
  cursor: pointer;
  font-size: 25px;
  font-weight: 500;
  transition: transform 180ms ease, filter 180ms ease;
}

#bo-page.bo-offer-page .bo-realize-trigger:hover,
#bo-page.bo-offer-page .bo-realize-trigger:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.04);
}

#bo-page.bo-offer-page .bo-code-wrap {
  z-index: 1;
  margin-top: -42px;
}

#bo-page.bo-offer-page .bo-redemption-card.is-code-open .bo-code-wrap {
  grid-template-rows: 1fr;
  /* Jasny panel zachodzi pod zaokraglenie zielonego panelu. */
  margin-top: -84px;
  opacity: 1;
}

#bo-page.bo-offer-page .bo-code-panel {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Zachowuje pozycje tresci mimo nalozenia paneli. */
  padding: 152px 64px 54px;
  border-radius: 0 0 66px 66px;
  background: var(--offer-code-green);
  text-align: center;
}

#bo-page.bo-offer-page .bo-generated-code {
  width: min(100%, 1040px);
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 22px 34px;
  border-radius: 30px;
  background: #fff;
  color: #1b1b1b;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  overflow-wrap: anywhere;
}

#bo-page.bo-offer-page .bo-qr-code {
  width: min(280px, 70vw);
  height: auto;
  margin: 28px auto 0;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
}

#bo-page.bo-offer-page .bo-code-instruction {
  width: min(100%, 900px);
  margin: 28px auto 0;
  color: #22856f;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
}

#bo-page.bo-offer-page .bo-validity {
  margin: 40px auto 0;
  color: #164f43;
  font-size: 13px;
  font-weight: 700;
}

#bo-page.bo-offer-page .bo-external-link {
  margin-top: 28px;
  padding: 14px 24px;
  border-radius: 14px;
  background: #1d715f;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
}

#bo-page.bo-offer-page .bo-external-link:hover,
#bo-page.bo-offer-page .bo-external-link:focus-visible {
  background: #155b4c;
}

#bo-page.bo-offer-page .empty-state {
  padding: 70px 24px;
}

@media (max-width: 1220px) {
  #bo-page.bo-offer-page .header-row {
    grid-template-columns: 270px 1fr;
  }

  #bo-page.bo-offer-page .header-actions {
    grid-column: 1 / -1;
  }

  #bo-page.bo-offer-page .bo-offer-card-main {
    grid-template-columns: minmax(0, 53%) minmax(0, 47%);
  }

  #bo-page.bo-offer-page .bo-offer-details {
    padding-left: 36px;
    padding-right: 36px;
  }

  #bo-page.bo-offer-page .bo-offer-pricing {
    margin-left: -36px;
    margin-right: -36px;
    padding-left: 36px;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    right: -8px;
    width: 142px;
    height: 142px;
    font-size: 76px;
  }
}

@media (max-width: 920px) {
  #bo-page.bo-offer-page .bo-sticky-header {
    position: relative;
    top: auto;
  }

  body.admin-bar #bo-page.bo-offer-page .bo-sticky-header {
    top: auto;
  }

  #bo-page.bo-offer-page .bo-offer-card-main {
    grid-template-columns: 1fr;
    min-height: auto;
    overflow: hidden;
  }

  #bo-page.bo-offer-page .bo-offer-visual,
  #bo-page.bo-offer-page .bo-offer-visual > img,
  #bo-page.bo-offer-page .bo-offer-image-placeholder {
    min-height: 520px;
  }

  #bo-page.bo-offer-page .bo-offer-visual > img,
  #bo-page.bo-offer-page .bo-offer-image-placeholder {
    border-radius: 54px 54px 34px 34px;
  }

  #bo-page.bo-offer-page .bo-offer-details {
    min-height: 500px;
    padding: 30px 34px 0;
  }

  #bo-page.bo-offer-page .bo-offer-tags {
    left: 40px;
    right: 40px;
  }

  #bo-page.bo-offer-page .bo-offer-pricing {
    margin: auto -34px 0;
    padding-left: 34px;
  }

  #bo-page.bo-offer-page .bo-claim-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 158px 46px 46px;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    right: 18px;
    bottom: -48px;
  }
}

@media (max-width: 720px) {
  #bo-page.bo-offer-page .bo-offers-main {
    width: min(100% - 24px, var(--offer-card-width));
    padding-top: 28px;
  }

  #bo-page.bo-offer-page .bo-offer-list {
    gap: 34px;
  }

  #bo-page.bo-offer-page .bo-offer-visual,
  #bo-page.bo-offer-page .bo-offer-visual > img,
  #bo-page.bo-offer-page .bo-offer-image-placeholder {
    min-height: 390px;
  }

  #bo-page.bo-offer-page .bo-offer-details {
    min-height: 480px;
    padding: 28px 24px 0;
  }

  #bo-page.bo-offer-page .bo-offer-rating {
    min-width: 190px;
    font-size: 26px;
  }

  #bo-page.bo-offer-page .bo-offer-heading {
    font-size: 38px;
  }

  #bo-page.bo-offer-page .bo-offer-copy {
    font-size: 15px;
    text-align: left;
  }

  #bo-page.bo-offer-page .bo-offer-tags {
    left: 24px;
    right: 24px;
    bottom: -28px;
    gap: 12px;
  }

  #bo-page.bo-offer-page .bo-offer-tags span {
    min-height: 50px;
    font-size: 15px;
  }

  #bo-page.bo-offer-page .bo-offer-pricing {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: auto -24px 0;
    padding: 24px 24px 0;
  }

  #bo-page.bo-offer-page .bo-claim-trigger {
    width: calc(100% + 48px);
    margin-left: -24px;
    padding-right: 100px;
    border-radius: 0;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    width: 116px;
    height: 116px;
    right: 8px;
    bottom: -34px;
    font-size: 62px;
  }

  #bo-page.bo-offer-page .bo-claim-panel {
    padding: 150px 24px 34px;
  }

  #bo-page.bo-offer-page .bo-customer-name {
    min-height: 86px;
  }

  #bo-page.bo-offer-page .bo-realize-trigger {
    min-height: 86px;
    font-size: 20px;
  }

  #bo-page.bo-offer-page .bo-code-panel {
    min-height: 360px;
    padding: 140px 22px 40px;
  }

  #bo-page.bo-offer-page .bo-generated-code {
    min-height: 112px;
    border-radius: 22px;
    font-size: 40px;
  }

  #bo-page.bo-offer-page .bo-code-instruction {
    font-size: 16px;
  }
}

@media (max-width: 440px) {
  #bo-page.bo-offer-page .bo-offer-visual,
  #bo-page.bo-offer-page .bo-offer-visual > img,
  #bo-page.bo-offer-page .bo-offer-image-placeholder {
    min-height: 320px;
  }

  #bo-page.bo-offer-page .bo-offer-details {
    min-height: 460px;
  }

  #bo-page.bo-offer-page .bo-offer-heading {
    font-size: 32px;
  }

  #bo-page.bo-offer-page .bo-new-price {
    font-size: 32px;
  }

  #bo-page.bo-offer-page .bo-offer-tags {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  #bo-page.bo-offer-page .bo-claim-wrap,
  #bo-page.bo-offer-page .bo-code-wrap,
  #bo-page.bo-offer-page .bo-claim-trigger,
  #bo-page.bo-offer-page .bo-realize-trigger {
    transition: none !important;
  }
}

#bo-page.bo-offer-page .bo-offer-copy {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
  overflow: hidden;
}

/* =========================================================
   PODSTRONA OFERTY — poprawka v2.2
   Stabilne pozycjonowanie ceny/przycisku + zgodność z makietą
   ========================================================= */

@media (min-width: 721px) {
  #bo-page.bo-offer-page .bo-offer-details {
    /* Rezerwuje stałą przestrzeń na dolny moduł ceny i CTA. */
    padding-bottom: 150px;
  }

  #bo-page.bo-offer-page .bo-offer-pricing {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 150px;
    min-height: 0;
    display: block;
    margin: 0;
    padding: 0;
  }

  #bo-page.bo-offer-page .bo-offer-pricing > div {
    position: absolute;
    left: 48px;
    bottom: 100px;
    z-index: 4;
  }

  #bo-page.bo-offer-page .bo-claim-trigger {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    width: 72%;
    min-height: 84px;
    margin: 0;
    padding: 18px 126px 18px 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 0 28px;
    white-space: nowrap;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    z-index: 9;
  }
}

@media (min-width: 721px) and (max-width: 1220px) {
  #bo-page.bo-offer-page .bo-offer-pricing > div {
    left: 36px;
  }

  #bo-page.bo-offer-page .bo-claim-trigger {
    width: 74%;
    padding-right: 112px;
    font-size: 21px;
  }
}


/* =========================================================
   PODSTRONA OFERTY — poprawka v2.3
   CTA, metadane i cena zgodne z makieta; panele bez szczelin.
   ========================================================= */

#bo-page.bo-offer-page .bo-offer-list {
  gap: 104px;
}

#bo-page.bo-offer-page .bo-offer-card-main {
  overflow: visible;
}

#bo-page.bo-offer-page .bo-offer-details {
  padding-bottom: 30px;
}

#bo-page.bo-offer-page .bo-offer-pricing,
#bo-page.bo-offer-page .bo-offer-pricing > div {
  position: static;
  width: auto;
  height: auto;
}

#bo-page.bo-offer-page .bo-offer-pricing {
  min-height: 0;
  margin: auto 0 0;
  padding: 24px 0 0;
  display: block;
}

#bo-page.bo-offer-page .bo-claim-trigger {
  position: absolute;
  left: 56%;
  right: 104px;
  bottom: -70px;
  z-index: 7;
  width: auto;
  min-height: 70px;
  margin: 0;
  padding: 15px 92px 15px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 28px 28px;
  white-space: nowrap;
  text-align: center;
  line-height: 1.05;
}

#bo-page.bo-offer-page .bo-percent-disc {
  right: -24px;
  bottom: -72px;
  z-index: 9;
  width: 166px;
  height: 166px;
  font-size: 90px;
}

#bo-page.bo-offer-page .bo-offer-tags {
  left: 86px;
  right: 54px;
  bottom: -34px;
  z-index: 8;
}

#bo-page.bo-offer-page .bo-claim-wrap,
#bo-page.bo-offer-page .bo-code-wrap {
  margin-top: -66px;
  transition:
    grid-template-rows 380ms cubic-bezier(.4, 0, .2, 1),
    opacity 180ms ease,
    margin-top 380ms cubic-bezier(.4, 0, .2, 1);
}

#bo-page.bo-offer-page .bo-redemption-card.is-claim-open .bo-claim-wrap {
  margin-top: -66px;
}

#bo-page.bo-offer-page .bo-claim-panel {
  min-height: 292px;
  padding: 150px 84px 46px;
  border-radius: 0 0 66px 66px;
}

#bo-page.bo-offer-page .bo-code-wrap {
  margin-top: -66px;
}

#bo-page.bo-offer-page .bo-redemption-card.is-code-open .bo-code-wrap {
  margin-top: -66px;
}

#bo-page.bo-offer-page .bo-code-panel {
  padding-top: 148px;
}

@media (min-width: 921px) and (max-width: 1220px) {
  #bo-page.bo-offer-page .bo-claim-trigger {
    left: 53%;
    right: 92px;
    padding-right: 82px;
    font-size: 20px;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    right: -8px;
    width: 146px;
    height: 146px;
    font-size: 78px;
  }
}

@media (max-width: 920px) {
  #bo-page.bo-offer-page .bo-offer-card-main {
    overflow: visible;
  }

  #bo-page.bo-offer-page .bo-offer-details {
    margin-top: 38px;
    padding-bottom: 30px;
  }

  #bo-page.bo-offer-page .bo-offer-pricing {
    margin: auto 0 0;
    padding: 24px 0 0;
  }

  #bo-page.bo-offer-page .bo-claim-trigger {
    left: 24px;
    right: 92px;
    bottom: -66px;
    width: auto;
    min-height: 66px;
    margin: 0;
    padding: 14px 76px 14px 24px;
    border-radius: 0 0 24px 24px;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    right: 12px;
    bottom: -60px;
  }

  #bo-page.bo-offer-page .bo-claim-panel {
    padding-top: 144px;
  }
}

@media (max-width: 720px) {
  #bo-page.bo-offer-page .bo-offer-list {
    gap: 82px;
  }

  #bo-page.bo-offer-page .bo-offer-details {
    margin-top: 34px;
  }

  #bo-page.bo-offer-page .bo-offer-pricing {
    margin: auto 0 0;
    padding: 18px 0 0;
  }

  #bo-page.bo-offer-page .bo-claim-trigger {
    left: 0;
    right: 72px;
    bottom: -62px;
    width: auto;
    min-height: 62px;
    padding: 12px 66px 12px 18px;
    border-radius: 0 0 22px 22px;
    font-size: 18px;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    right: -4px;
    bottom: -48px;
    width: 112px;
    height: 112px;
    font-size: 60px;
  }

  #bo-page.bo-offer-page .bo-claim-wrap,
  #bo-page.bo-offer-page .bo-code-wrap,
  #bo-page.bo-offer-page .bo-redemption-card.is-claim-open .bo-claim-wrap,
  #bo-page.bo-offer-page .bo-redemption-card.is-code-open .bo-code-wrap {
    margin-top: -54px;
  }

  #bo-page.bo-offer-page .bo-claim-panel {
    padding-top: 128px;
  }

  #bo-page.bo-offer-page .bo-code-panel {
    padding-top: 128px;
  }
}

/* =========================================================
   PODSTRONA OFERTY — poprawka v2.4
   Uklad zgodny z makieta: tagi pod obrazem, CTA pod modulem,
   brak nachodzenia kolejnych ofert i lepsze rozpychanie listy.
   ========================================================= */

#bo-page.bo-offer-page .bo-offer-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

#bo-page.bo-offer-page .bo-redemption-card {
  padding-bottom: 94px;
  overflow: visible;
}

#bo-page.bo-offer-page .bo-offer-card-main {
  min-height: 0;
  overflow: visible;
}

#bo-page.bo-offer-page .bo-offer-visual {
  min-height: 0;
}

#bo-page.bo-offer-page .bo-offer-visual > img,
#bo-page.bo-offer-page .bo-offer-image-placeholder {
  min-height: 540px;
}

#bo-page.bo-offer-page .bo-offer-tags {
  left: 28px;
  right: 28px;
  bottom: -24px;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#bo-page.bo-offer-page .bo-offer-tags span {
  min-height: 56px;
  padding: 12px 20px;
  border-radius: 0 0 22px 22px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.2px;
}

#bo-page.bo-offer-page .bo-offer-details {
  padding: 30px 36px 20px;
}

#bo-page.bo-offer-page .bo-offer-pricing {
  display: block;
  min-height: 0;
  margin: auto 0 0;
  padding: 22px 0 0;
}

#bo-page.bo-offer-page .bo-offer-pricing > div {
  position: static;
}

#bo-page.bo-offer-page .bo-old-price {
  margin-bottom: 10px;
}

#bo-page.bo-offer-page .bo-new-price {
  position: relative;
  z-index: 8;
}

#bo-page.bo-offer-page .bo-claim-trigger {
  position: absolute;
  left: calc(56% + 16px);
  right: 112px;
  bottom: -56px;
  z-index: 8;
  width: auto;
  min-height: 70px;
  margin: 0;
  padding: 16px 28px 16px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 24px 24px;
  white-space: normal;
  text-align: center;
  line-height: 1.1;
}

#bo-page.bo-offer-page .bo-percent-disc {
  right: -18px;
  bottom: -64px;
  z-index: 9;
  width: 156px;
  height: 156px;
  font-size: 84px;
}

#bo-page.bo-offer-page .bo-claim-wrap,
#bo-page.bo-offer-page .bo-code-wrap {
  margin-top: -44px;
  transition:
    grid-template-rows 260ms ease-in-out,
    opacity 140ms ease,
    margin-top 260ms ease-in-out;
}

#bo-page.bo-offer-page .bo-redemption-card.is-claim-open .bo-claim-wrap,
#bo-page.bo-offer-page .bo-redemption-card.is-code-open .bo-code-wrap {
  margin-top: -44px;
}

#bo-page.bo-offer-page .bo-claim-panel {
  min-height: 246px;
  padding: 116px 72px 44px;
  gap: 56px;
  border-radius: 0 0 54px 54px;
}

#bo-page.bo-offer-page .bo-code-panel {
  min-height: 320px;
  padding: 116px 56px 48px;
  border-radius: 0 0 54px 54px;
}

#bo-page.bo-offer-page .bo-redemption-card.is-claim-open {
  padding-bottom: 28px;
}

#bo-page.bo-offer-page .bo-redemption-card.is-code-open {
  padding-bottom: 18px;
}

@media (max-width: 1220px) {
  #bo-page.bo-offer-page .bo-claim-trigger {
    left: calc(54% + 12px);
    right: 98px;
    padding-left: 22px;
    padding-right: 22px;
    font-size: 21px;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    width: 144px;
    height: 144px;
    font-size: 76px;
    right: -10px;
  }
}

@media (max-width: 920px) {
  #bo-page.bo-offer-page .bo-redemption-card {
    padding-bottom: 92px;
  }

  #bo-page.bo-offer-page .bo-offer-card-main {
    grid-template-columns: 1fr;
  }

  #bo-page.bo-offer-page .bo-offer-visual > img,
  #bo-page.bo-offer-page .bo-offer-image-placeholder {
    min-height: 470px;
    border-radius: 54px 54px 34px 34px;
  }

  #bo-page.bo-offer-page .bo-offer-details {
    margin-top: 28px;
    padding: 28px 28px 18px;
    min-height: 0;
  }

  #bo-page.bo-offer-page .bo-offer-tags {
    left: 24px;
    right: 24px;
    bottom: -22px;
  }

  #bo-page.bo-offer-page .bo-claim-trigger {
    left: 24px;
    right: 92px;
    bottom: -52px;
    min-height: 64px;
    padding: 14px 22px;
    border-radius: 0 0 22px 22px;
    font-size: 20px;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    right: 10px;
    bottom: -54px;
    width: 126px;
    height: 126px;
    font-size: 68px;
  }

  #bo-page.bo-offer-page .bo-claim-wrap,
  #bo-page.bo-offer-page .bo-code-wrap,
  #bo-page.bo-offer-page .bo-redemption-card.is-claim-open .bo-claim-wrap,
  #bo-page.bo-offer-page .bo-redemption-card.is-code-open .bo-code-wrap {
    margin-top: -38px;
  }

  #bo-page.bo-offer-page .bo-claim-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 96px 30px 34px;
  }

  #bo-page.bo-offer-page .bo-code-panel {
    padding: 96px 30px 38px;
  }
}

@media (max-width: 720px) {
  #bo-page.bo-offer-page .bo-offers-main {
    width: min(100% - 24px, var(--offer-card-width));
  }

  #bo-page.bo-offer-page .bo-offer-list {
    gap: 24px;
  }

  #bo-page.bo-offer-page .bo-redemption-card {
    padding-bottom: 86px;
  }

  #bo-page.bo-offer-page .bo-offer-visual > img,
  #bo-page.bo-offer-page .bo-offer-image-placeholder {
    min-height: 350px;
  }

  #bo-page.bo-offer-page .bo-offer-tags {
    left: 18px;
    right: 18px;
    gap: 10px;
  }

  #bo-page.bo-offer-page .bo-offer-tags span {
    min-height: 48px;
    font-size: 15px;
    padding: 10px 12px;
  }

  #bo-page.bo-offer-page .bo-offer-details {
    margin-top: 22px;
    padding: 24px 20px 14px;
  }

  #bo-page.bo-offer-page .bo-offer-rating {
    min-width: 180px;
    margin-bottom: 18px;
    font-size: 24px;
  }

  #bo-page.bo-offer-page .bo-offer-heading {
    font-size: 36px;
  }

  #bo-page.bo-offer-page .bo-offer-pricing {
    padding-top: 18px;
  }

  #bo-page.bo-offer-page .bo-claim-trigger {
    left: 0;
    right: 70px;
    bottom: -48px;
    min-height: 58px;
    padding: 12px 16px;
    font-size: 18px;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    right: -2px;
    bottom: -44px;
    width: 108px;
    height: 108px;
    font-size: 58px;
  }

  #bo-page.bo-offer-page .bo-claim-panel {
    padding: 86px 22px 28px;
  }

  #bo-page.bo-offer-page .bo-code-panel {
    min-height: 290px;
    padding: 86px 22px 34px;
  }
}

@media (max-width: 480px) {
  #bo-page.bo-offer-page .bo-offer-tags {
    grid-template-columns: 1fr 1fr;
  }

  #bo-page.bo-offer-page .bo-claim-trigger {
    right: 58px;
    font-size: 17px;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    width: 96px;
    height: 96px;
    font-size: 52px;
  }
}

/* =========================================================
   PODSTRONA OFERTY — poprawka v2.5
   Przywrócone pozycje tagów i CTA z makiety oraz poprawione
   naturalne rozpychanie kolejnych ofert po rozwinięciu.
   ========================================================= */

#bo-page.bo-offer-page .bo-offer-list {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

#bo-page.bo-offer-page .bo-redemption-card,
#bo-page.bo-offer-page .bo-redemption-card.is-claim-open,
#bo-page.bo-offer-page .bo-redemption-card.is-code-open {
  padding-bottom: 104px;
}

/* Zamknięte panele nie podciągają następnej oferty do góry. */
#bo-page.bo-offer-page .bo-claim-wrap,
#bo-page.bo-offer-page .bo-code-wrap {
  margin-top: 0;
}

/* Dopiero otwarty panel zachodzi pod moduł główny. */
#bo-page.bo-offer-page .bo-redemption-card.is-claim-open .bo-claim-wrap {
  margin-top: -66px;
}

#bo-page.bo-offer-page .bo-redemption-card.is-code-open .bo-code-wrap {
  margin-top: -66px;
}

/* Tagi lokalizacji i kategorii — pozycja jak w zaakceptowanej wersji. */
#bo-page.bo-offer-page .bo-offer-tags {
  left: 86px;
  right: 54px;
  bottom: -34px;
  z-index: 8;
  gap: 28px;
}

#bo-page.bo-offer-page .bo-offer-tags span {
  min-height: 58px;
  padding: 10px 20px;
  border-radius: 0 0 22px 22px;
  font-size: 18px;
}

/* Przycisk odbioru wychodzi spod prawego modułu, a nie tworzy pełnej belki. */
#bo-page.bo-offer-page .bo-claim-trigger {
  position: absolute;
  left: 56%;
  right: 104px;
  bottom: -70px;
  z-index: 8;
  width: auto;
  min-height: 70px;
  margin: 0;
  padding: 15px 92px 15px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 28px 28px;
  white-space: nowrap;
  text-align: center;
  line-height: 1.05;
}

#bo-page.bo-offer-page .bo-percent-disc {
  right: -24px;
  bottom: -72px;
  z-index: 9;
  width: 166px;
  height: 166px;
  font-size: 90px;
}

/* Otwarcie formularza i kodu ma powiększać wysokość całego artykułu. */
#bo-page.bo-offer-page .bo-claim-panel {
  min-height: 292px;
  padding: 150px 84px 46px;
  border-radius: 0 0 66px 66px;
}

#bo-page.bo-offer-page .bo-code-panel {
  min-height: 430px;
  padding: 148px 64px 54px;
  border-radius: 0 0 66px 66px;
}

@media (min-width: 921px) and (max-width: 1220px) {
  #bo-page.bo-offer-page .bo-redemption-card,
  #bo-page.bo-offer-page .bo-redemption-card.is-claim-open,
  #bo-page.bo-offer-page .bo-redemption-card.is-code-open {
    padding-bottom: 100px;
  }

  #bo-page.bo-offer-page .bo-claim-trigger {
    left: 53%;
    right: 92px;
    padding-right: 82px;
    font-size: 20px;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    right: -8px;
    width: 146px;
    height: 146px;
    font-size: 78px;
  }
}

@media (max-width: 920px) {
  #bo-page.bo-offer-page .bo-offer-list {
    gap: 34px;
  }

  #bo-page.bo-offer-page .bo-redemption-card,
  #bo-page.bo-offer-page .bo-redemption-card.is-claim-open,
  #bo-page.bo-offer-page .bo-redemption-card.is-code-open {
    padding-bottom: 92px;
  }

  #bo-page.bo-offer-page .bo-offer-tags {
    left: 40px;
    right: 40px;
    bottom: -30px;
    gap: 18px;
  }

  #bo-page.bo-offer-page .bo-claim-trigger {
    left: 24px;
    right: 92px;
    bottom: -66px;
    min-height: 66px;
    padding: 14px 76px 14px 24px;
    border-radius: 0 0 24px 24px;
    white-space: normal;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    right: 12px;
    bottom: -60px;
  }

  #bo-page.bo-offer-page .bo-redemption-card.is-claim-open .bo-claim-wrap,
  #bo-page.bo-offer-page .bo-redemption-card.is-code-open .bo-code-wrap {
    margin-top: -54px;
  }
}

@media (max-width: 720px) {
  #bo-page.bo-offer-page .bo-offer-list {
    gap: 28px;
  }

  #bo-page.bo-offer-page .bo-redemption-card,
  #bo-page.bo-offer-page .bo-redemption-card.is-claim-open,
  #bo-page.bo-offer-page .bo-redemption-card.is-code-open {
    padding-bottom: 82px;
  }

  #bo-page.bo-offer-page .bo-offer-tags {
    left: 24px;
    right: 24px;
    bottom: -28px;
    gap: 12px;
  }

  #bo-page.bo-offer-page .bo-offer-tags span {
    min-height: 50px;
    font-size: 15px;
  }

  #bo-page.bo-offer-page .bo-claim-trigger {
    left: 0;
    right: 72px;
    bottom: -62px;
    min-height: 62px;
    padding: 12px 66px 12px 18px;
    border-radius: 0 0 22px 22px;
    font-size: 18px;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    right: -4px;
    bottom: -48px;
    width: 112px;
    height: 112px;
    font-size: 60px;
  }

  #bo-page.bo-offer-page .bo-redemption-card.is-claim-open .bo-claim-wrap,
  #bo-page.bo-offer-page .bo-redemption-card.is-code-open .bo-code-wrap {
    margin-top: -48px;
  }

  #bo-page.bo-offer-page .bo-claim-panel {
    padding: 128px 24px 34px;
  }

  #bo-page.bo-offer-page .bo-code-panel {
    min-height: 360px;
    padding: 128px 22px 40px;
  }
}

/* =========================================================
   PODSTRONA OFERTY — poprawka v2.6
   Tagi miasta/kategorii schowane pod zdjęciem i wyrównane
   do linii dolnej przycisku „Odbierz ofertę”.
   ========================================================= */

/* Zdjęcie ma przykrywać górną część tagów, żeby nie wchodziły na fotografię. */
#bo-page.bo-offer-page .bo-offer-visual > img,
#bo-page.bo-offer-page .bo-offer-image-placeholder {
  position: relative;
  z-index: 3;
}

#bo-page.bo-offer-page .bo-offer-tags {
  left: 86px;
  right: 58px;
  bottom: -72px;
  z-index: 2;
  align-items: end;
}

#bo-page.bo-offer-page .bo-offer-tags span {
  min-height: 56px;
  border-radius: 0 0 22px 22px;
}

/* Lekka korekta CTA, żeby dolna linia była wspólna z tagami. */
#bo-page.bo-offer-page .bo-claim-trigger {
  bottom: -72px;
}

#bo-page.bo-offer-page .bo-percent-disc {
  bottom: -74px;
}

/* Więcej miejsca pod modułem na desktopie. */
#bo-page.bo-offer-page .bo-redemption-card,
#bo-page.bo-offer-page .bo-redemption-card.is-claim-open,
#bo-page.bo-offer-page .bo-redemption-card.is-code-open {
  padding-bottom: 112px;
}

@media (min-width: 921px) and (max-width: 1220px) {
  #bo-page.bo-offer-page .bo-offer-tags {
    left: 58px;
    right: 42px;
    bottom: -68px;
  }

  #bo-page.bo-offer-page .bo-claim-trigger {
    bottom: -68px;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    bottom: -70px;
  }
}

@media (max-width: 920px) {
  #bo-page.bo-offer-page .bo-offer-tags {
    left: 36px;
    right: 36px;
    bottom: -58px;
    gap: 16px;
  }

  #bo-page.bo-offer-page .bo-claim-trigger {
    bottom: -60px;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    bottom: -62px;
  }

  #bo-page.bo-offer-page .bo-redemption-card,
  #bo-page.bo-offer-page .bo-redemption-card.is-claim-open,
  #bo-page.bo-offer-page .bo-redemption-card.is-code-open {
    padding-bottom: 96px;
  }
}

@media (max-width: 720px) {
  #bo-page.bo-offer-page .bo-offer-tags {
    left: 22px;
    right: 22px;
    bottom: -52px;
    gap: 12px;
  }

  #bo-page.bo-offer-page .bo-claim-trigger {
    bottom: -56px;
  }

  #bo-page.bo-offer-page .bo-percent-disc {
    bottom: -52px;
  }

  #bo-page.bo-offer-page .bo-redemption-card,
  #bo-page.bo-offer-page .bo-redemption-card.is-claim-open,
  #bo-page.bo-offer-page .bo-redemption-card.is-code-open {
    padding-bottom: 86px;
  }
}

/* =========================================================
   PODSTRONA OFERTY — poprawka v2.7 MOBILE
   Większe odstępy między ofertami i stabilny układ po
   rozwinięciu formularza oraz kodu.
   ========================================================= */

@media (max-width: 920px) {
  #bo-page.bo-offer-page .bo-offer-list {
    gap: 64px;
  }

  #bo-page.bo-offer-page .bo-redemption-card,
  #bo-page.bo-offer-page .bo-redemption-card.is-claim-open,
  #bo-page.bo-offer-page .bo-redemption-card.is-code-open {
    padding-bottom: 122px;
  }

  /* Rozwinięte sekcje pozostają w normalnym przepływie i rozpychają listę. */
  #bo-page.bo-offer-page .bo-claim-wrap,
  #bo-page.bo-offer-page .bo-code-wrap {
    width: 100%;
  }

  #bo-page.bo-offer-page .bo-redemption-card.is-claim-open .bo-claim-wrap,
  #bo-page.bo-offer-page .bo-redemption-card.is-code-open .bo-code-wrap {
    margin-bottom: 18px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-behavior: auto;
  }

  #bo-page.bo-offer-page .bo-offers-main {
    width: min(100% - 20px, var(--offer-card-width));
    padding-bottom: 90px;
  }

  #bo-page.bo-offer-page .bo-offer-list {
    gap: 76px;
  }

  #bo-page.bo-offer-page .bo-redemption-card,
  #bo-page.bo-offer-page .bo-redemption-card.is-claim-open,
  #bo-page.bo-offer-page .bo-redemption-card.is-code-open {
    padding-bottom: 126px;
  }

  #bo-page.bo-offer-page .bo-redemption-card.is-claim-open .bo-claim-wrap,
  #bo-page.bo-offer-page .bo-redemption-card.is-code-open .bo-code-wrap {
    margin-bottom: 24px;
  }

  #bo-page.bo-offer-page .bo-claim-panel,
  #bo-page.bo-offer-page .bo-code-panel {
    width: 100%;
  }
}

@media (max-width: 480px) {
  #bo-page.bo-offer-page .bo-offer-list {
    gap: 84px;
  }

  #bo-page.bo-offer-page .bo-redemption-card,
  #bo-page.bo-offer-page .bo-redemption-card.is-claim-open,
  #bo-page.bo-offer-page .bo-redemption-card.is-code-open {
    padding-bottom: 132px;
  }
}


@media (max-width: 767px) {
  #bo-page .brand-logo-image {
    width: min(260px, 100%);
    max-height: 64px;
  }

  #bo-page.bo-offer-page .bo-percent-disc-image {
    width: 140px;
    height: 140px;
  }
}
