/*
 * Birthday pricing (birthday.php -> includes/birthday-pricing.php):
 * package cards FUN / VIP / SUPER VIP and the additional options table.
 *
 * Desktop geometry follows the XD artboard URODZINY (1920 px wide, revision of 23.10.2026):
 * a 1341 px content box with three 404 px columns, an options table 1176 px wide with
 * 61 px rows. Mobile has no design of its own: it is derived from the desktop content.
 */

.bday {
  --bday-red: #e2404e;
  --bday-yellow: #e9ac23;
  --bday-grey: #5c5c5a;
  --bday-line: rgba(112, 112, 112, 0.3);
  position: relative;
  overflow-x: clip;
  color: var(--bday-grey);
  font-style: italic;
}

.bday-tier--red { --tier: var(--bday-red); }
.bday-tier--yellow { --tier: var(--bday-yellow); }
.bday-tier--grey { --tier: var(--bday-grey); }

.bday__container {
  width: min(1341px, calc(100% - 40px));
  margin: 0 auto;
}

/* Skewed label with two stripes: PAKIET FUN / VIP / SUPER VIP. */
.bday-badge {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 54px;
  padding-right: 24px;
  font-size: 20px;
  font-weight: 800;
  line-height: 30px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
}

.bday-badge::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 34px 0 12px;
  background: var(--tier);
  transform: skewX(-22.2deg);
}

.bday-badge::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  right: 14px;
  width: 9px;
  background: var(--tier);
  box-shadow: -16px 0 0 var(--tier);
  transform: skewX(-22.2deg);
}

/* The hero wrapper (.banner-single__wrapper--xl) ends 58 px below the hero image at every width;
   the yellow bar sits right under the image, as in the design. */
.bday-packages {
  margin-top: -58px;
}

/* Yellow bar above the packages */
.bday-packages__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 12px 20px;
  background: var(--bday-yellow);
}

.bday-packages__bar p {
  margin: 0;
  font-size: 28px;
  font-weight: 300;
  line-height: 40px;
  letter-spacing: -0.7px;
  text-align: center;
  color: #fff;
}

.bday-packages__bar strong {
  font-weight: 800;
}

/* Party rooms line under the bar */
.bday-packages__rooms {
  width: min(1341px, calc(100% - 40px));
  margin: 30px auto 0;
  font-size: 20px;
  font-weight: 300;
  line-height: 30px;
  letter-spacing: -0.5px;
  text-align: center;
}

.bday-packages__rooms strong {
  font-weight: 800;
}

/* Cards: head (badge + price) above the bordered panel, lists and prices inside it. */
.bday-packages__panel {
  margin-top: 80px;
}

.bday-packages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 404px));
  justify-content: space-between;
}

.bday-package {
  display: flex;
  flex-direction: column;
}

.bday-package__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.bday-price {
  display: flex;
  align-items: flex-start;
  margin-top: 26px;
  font-style: normal;
  color: var(--bday-grey);
}

.bday-price__prefix {
  margin: 14px 10px 0 0;
  font-size: 24px;
  font-style: italic;
  font-weight: 800;
  line-height: 35px;
}

.bday-price__value {
  font-size: 100px;
  font-weight: 800;
  line-height: 100px;
  letter-spacing: -3px;
}

.bday-price__side {
  display: flex;
  flex-direction: column;
  margin: 10px 0 0 4px;
}

.bday-price__fraction {
  font-size: 36px;
  font-weight: 800;
  line-height: 40px;
}

.bday-price__unit {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 300;
  line-height: 30px;
  white-space: nowrap;
}

/* The panel border runs across the whole screen, behind the three columns. */
.bday-package__features {
  position: relative;
  margin: 0;
  padding: 12px 0 0;
  list-style: none;
}

.bday-package:first-child .bday-package__features::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100vw;
  width: 300vw;
  border-top: 1px solid rgba(112, 112, 112, 0.5);
}

.bday-package__features li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 61px;
  padding: 14px 0 14px 13px;
  border-bottom: 1px solid var(--bday-line);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: -0.2px;
}

.bday-package__features small {
  display: block;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0;
}

.bday-package__features svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  fill: var(--tier);
}

.bday-package__prices {
  padding: 22px 0 14px 13px;
  border-bottom: 1px solid var(--bday-line);
}

.bday-package__prices p {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 34px;
  text-transform: uppercase;
}

.bday-package__prices strong {
  font-weight: 800;
  text-transform: none;
}

.bday-package__prices small {
  font-size: 10px;
  text-transform: none;
}

.bday-packages__footnotes {
  position: relative;
  padding: 72px 0 40px;
  font-size: 12px;
  font-weight: 300;
  line-height: 19px;
}

.bday-packages__footnotes::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -100vw;
  width: 300vw;
  border-bottom: 1px solid rgba(112, 112, 112, 0.5);
}

/* Additional options */
.bday-extras {
  margin: 100px 0;
}

.bday-extras__title {
  margin: 0 0 40px;
  font-size: 36px;
  font-weight: 700;
  line-height: 50px;
  letter-spacing: -0.9px;
  text-align: center;
}

.bday-table {
  max-width: 1176px;
  margin: 0 auto;
}

.bday-table__head,
.bday-table__row {
  display: grid;
  grid-template-columns: 39.1% 13.4% 23.1% 22.6%;
  align-items: center;
}

.bday-table__head {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--bday-line);
}

.bday-table__column {
  position: relative;
  justify-self: end;
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  text-transform: uppercase;
}

.bday-new {
  position: absolute;
  top: -16px;
  left: calc(100% + 4px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--bday-yellow);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.bday-table__row {
  box-sizing: border-box;
  min-height: 61px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bday-line);
}

.bday-table__label {
  padding-left: 16px;
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  letter-spacing: -0.4px;
}

.bday-table__label span {
  display: block;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0;
}

.bday-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  color: var(--tier);
}

.bday-cell__bold {
  font-size: 24px;
  font-weight: 800;
  line-height: 30px;
  white-space: nowrap;
}

.bday-cell__plain {
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  color: var(--bday-grey);
}

.bday-cell__note {
  font-size: 12px;
  font-weight: 300;
  line-height: 16px;
  color: var(--bday-grey);
}

.bday-cell svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (max-width: 1199px) {
  .bday-packages__bar p {
    font-size: 22px;
    line-height: 32px;
  }

  .bday-price__value {
    font-size: 80px;
    line-height: 84px;
  }

  .bday-badge {
    width: 220px;
    font-size: 17px;
  }
}

@media (max-width: 991px) {
  .bday-packages__bar p {
    font-size: 18px;
    line-height: 27px;
  }

  .bday-packages__rooms {
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
  }

  .bday-packages__panel {
    margin-top: 48px;
  }

  .bday-packages__grid {
    grid-template-columns: minmax(0, 440px);
    justify-content: center;
    gap: 56px;
  }

  .bday-package:first-child .bday-package__features::before {
    display: none;
  }

  .bday-package__features {
    border-top: 1px solid rgba(112, 112, 112, 0.5);
  }

  .bday-packages__footnotes {
    padding-top: 40px;
  }

  .bday-extras {
    margin: 64px 0;
  }

  .bday-extras__title {
    font-size: 26px;
    line-height: 36px;
  }

  .bday-table__head,
  .bday-table__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 8px;
  }

  .bday-table__head > :first-child {
    display: none;
  }

  .bday-table__label {
    grid-column: 1 / -1;
    padding: 0 0 6px;
  }

  .bday-table__column,
  .bday-cell {
    justify-self: center;
    align-items: center;
    text-align: center;
  }

  .bday-table__column {
    font-size: 14px;
  }

  .bday-new {
    top: -30px;
    left: calc(100% - 10px);
    width: 34px;
    height: 34px;
    font-size: 10px;
  }

  .bday-table__row {
    padding: 12px 0;
  }

  .bday-cell__bold {
    font-size: 18px;
    line-height: 24px;
  }

  .bday-cell__plain {
    font-size: 13px;
    line-height: 18px;
  }

  .bday-cell__note {
    font-size: 11px;
    line-height: 14px;
  }
}

@media (max-width: 400px) {
  .bday-price__value {
    font-size: 64px;
    line-height: 70px;
  }

  .bday-cell__bold {
    font-size: 16px;
  }
}
