:root {
  --wysokosc-naglowka-nawigacyjnego-mobilka: 92px;
  --sp-shared-header-height: 92px;
}

body {
  margin: 0;
}

header > nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: var(--wysokosc-naglowka-nawigacyjnego-mobilka);
  align-items: center;
  transition: 0.5s;
}

header > nav > a > img {
  margin-right: 20px;
}

header .navbar-toggler .icon-bar {
  border-radius: 1px;
}

/* Nagłówek strony głównej. */
header .navbar {
  display: flex !important;
  min-height: 82px;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 11px max(22px, calc(50% - 620px)) !important;
  border-bottom: 1px solid rgba(214, 180, 119, 0.32) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 8px 28px rgba(16, 25, 39, 0.1) !important;
  backdrop-filter: blur(15px);
}

header .navbar > a {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

header .navbar > a img {
  display: block !important;
  width: auto !important;
  max-width: 220px !important;
  height: 56px !important;
  object-fit: contain !important;
}

.menu-menu-glowne-gorne-container {
  display: none !important;
}

.premium-main-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.premium-main-nav__link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #28364a !important;
  font: 800 10px/1 Arial, sans-serif;
  letter-spacing: 0.065em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease;
}

.premium-main-nav__link:hover {
  color: #111b2b !important;
  background: #f3eee7;
}

.premium-main-nav__cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-left: 9px;
  padding: 0 19px;
  border-radius: 5px;
  color: #fff !important;
  background: #e83e62;
  font: 900 10px/1 Arial, sans-serif;
  letter-spacing: 0.075em;
  text-decoration: none !important;
  box-shadow: 0 9px 22px rgba(232, 62, 98, 0.27);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.premium-main-nav__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

header .navbar-toggler {
  display: none;
}

@media (max-width: 1050px) {
  header .navbar {
    min-height: 74px;
    padding: 9px 18px !important;
  }

  header .navbar > a img {
    max-width: 185px !important;
    height: 50px !important;
  }

  header .navbar-toggler {
    position: relative;
    z-index: 32;
    display: flex !important;
    width: 46px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    border: 1px solid #d9d1c5 !important;
    border-radius: 6px;
    background: #fff !important;
  }

  header .navbar-toggler .icon-bar {
    display: block !important;
    width: 21px !important;
    height: 2px !important;
    margin: 0 !important;
    background: #17253a !important;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .navbar.menu-open .navbar-toggler .icon-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .navbar.menu-open .navbar-toggler .icon-bar:nth-child(2) {
    opacity: 0;
  }

  .navbar.menu-open .navbar-toggler .icon-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .premium-main-nav {
    position: absolute;
    z-index: 31;
    top: calc(100% + 1px);
    right: 12px;
    left: 12px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 15px;
    border: 1px solid rgba(214, 180, 119, 0.38);
    border-radius: 0 0 12px 12px;
    background: #111b2b;
    box-shadow: 0 22px 48px rgba(9, 16, 27, 0.28);
  }

  .navbar.menu-open .premium-main-nav {
    display: flex;
  }

  .premium-main-nav__link {
    min-height: 46px;
    padding: 0 15px;
    border-radius: 5px;
    color: #fff !important;
  }

  .premium-main-nav__link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
  }

  .premium-main-nav__cta {
    min-height: 51px;
    margin: 7px 0 0;
  }
}

@media (max-width: 420px) {
  header .navbar > a img {
    max-width: 155px !important;
    height: 45px !important;
  }
}

/* Stopka strony. */
body > footer:not(.sp-footer) {
  display: none !important;
}

.sp-footer {
  position: relative !important;
  display: block !important;
  flex: none !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin-top: auto;
  overflow: visible !important;
  padding: 0 !important;
  border-top: 2px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  background: #090f19;
  font-family: Arial, sans-serif;
  font-size: initial !important;
}

.sp-footer__contact {
  box-sizing: border-box;
  width: 100%;
  padding: 13px 28px;
  border-top: 1px solid rgba(214, 180, 119, 0.32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #182b44;
}

.sp-footer__contact-inner {
  display: flex;
  width: 100%;
  max-width: 1600px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: auto;
}

.sp-footer__contact p {
  margin: 0;
  color: #bfc9d5;
  font-size: 10px;
  font-weight: 700;
}

.sp-footer__contact a {
  color: #f0d396;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.sp-footer__main {
  display: grid;
  width: calc(100% - 56px);
  max-width: 1600px;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: clamp(38px, 7vw, 130px);
  margin: auto;
  padding: 29px 0 25px;
}

.sp-footer__brand img {
  display: block;
  width: 165px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
}

.sp-footer__brand p {
  max-width: 360px;
  margin: 10px 0 0;
  color: #8f9aaa;
  font-size: 9px;
  line-height: 1.55;
}

.sp-footer h2 {
  margin: 3px 0 11px;
  color: #d6b477;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sp-footer nav {
  display: grid;
  gap: 6px;
}

.sp-footer nav a,
.sp-footer__social a {
  color: #bcc5d1;
  font-size: 9px;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sp-footer nav a:hover,
.sp-footer__social a:hover {
  color: #fff;
}

.sp-footer__social {
  display: grid;
  gap: 7px;
}

.sp-footer__social a strong {
  display: inline-grid;
  width: 21px;
  height: 21px;
  margin-right: 6px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1877f2;
  font-size: 8px;
}

.sp-footer__bottom {
  box-sizing: border-box;
  width: 100%;
  padding: 11px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #748091;
  background: #070b12;
  font-size: 8px;
}

.sp-footer__bottom-inner {
  display: flex;
  width: 100%;
  max-width: 1600px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: auto;
}

.sp-footer__bottom a {
  color: #9ba6b4;
  text-decoration: none;
}

.sp-footer nav.sp-footer__legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 13px;
}

@media (max-width: 900px) {
  .sp-footer__contact-inner,
  .sp-footer__bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .sp-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 27px;
    padding: 31px 22px;
  }

  .sp-footer__brand {
    grid-column: 1 / -1;
  }

  .sp-footer__brand img {
    width: 160px;
    height: 70px;
  }

  .sp-footer__contact {
    padding: 14px 22px;
  }
}

@media (max-width: 540px) {
  .sp-footer__main {
    grid-template-columns: 1fr;
  }

  .sp-footer__brand {
    grid-column: auto;
  }

  .sp-footer__legal {
    display: grid;
  }
}

/* Szybkie udostępnianie. */
.sp-share-dock {
  position: fixed;
  z-index: 80;
  top: 50%;
  right: 0;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
  font-family: Arial, sans-serif;
}

.sp-share-dock__toggle {
  display: flex;
  width: 43px;
  height: 112px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 180, 119, 0.55);
  border-right: 0;
  border-radius: 13px 0 0 13px;
  color: #fff;
  background: #13243a;
  box-shadow: -8px 10px 26px rgba(8, 14, 24, 0.18);
  cursor: pointer;
}

.sp-share-dock__toggle span {
  display: flex;
  align-items: center;
  gap: 9px;
  transform: rotate(-90deg);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sp-share-dock__toggle i {
  color: #d6b477;
  font-size: 13px;
}

.sp-share-dock__panel {
  display: grid;
  width: 0;
  gap: 7px;
  overflow: hidden;
  padding: 0;
  background: #101d30;
  box-shadow: -12px 14px 32px rgba(8, 14, 24, 0.22);
  transition: width 0.25s ease, padding 0.25s ease;
}

.sp-share-dock.is-open .sp-share-dock__panel {
  width: 67px;
  padding: 12px;
}

.sp-share-dock__action {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.sp-share-dock__action:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.sp-share-dock__action--facebook {
  background: #1877f2;
}

.sp-share-dock__action--whatsapp {
  background: #168f55;
}

.sp-share-dock__action--messenger {
  background: linear-gradient(135deg, #00b2ff, #6b4cff);
}

.sp-share-dock__action--copy {
  background: #9a7441;
}

.sp-share-dock__status {
  position: absolute;
  right: 75px;
  bottom: 0;
  width: max-content;
  max-width: 230px;
  padding: 8px 11px;
  border-radius: 7px;
  color: #182133;
  background: #f1d59c;
  font-size: 9px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sp-share-dock__status.is-visible {
  opacity: 1;
  transform: none;
}

/* Przycisk powrotu na górę. */
.sp-to-top {
  position: fixed;
  z-index: 79;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 48px;
  height: 48px;
  appearance: none;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 226, 174, 0.8);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #ff5375 0%, #e83e62 52%, #be2346 100%);
  box-shadow: 0 10px 26px rgba(232, 62, 98, 0.38), 0 0 0 4px rgba(214, 180, 119, 0.13);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.sp-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.sp-to-top:hover {
  filter: brightness(1.09);
  box-shadow: 0 13px 30px rgba(232, 62, 98, 0.5), 0 0 0 5px rgba(214, 180, 119, 0.2);
}

.sp-to-top i {
  color: #fff;
  font-size: 16px;
  text-shadow: 0 1px 3px rgba(70, 8, 25, 0.35);
}

@media (max-width: 1050px) {
  .sp-share-dock {
    display: none !important;
  }

  .sp-to-top {
    right: 15px;
    bottom: 76px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-share-dock__panel,
  .sp-share-dock__status,
  .sp-share-dock__action,
  .sp-to-top {
    transition: none;
  }
}

/* Minimalistyczny nagłówek podstrony wydarzenia. */
.event-page .event-topbar {
  position: absolute;
  z-index: 1001;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.event-page .event-topbar__brand,
.event-page .event-topbar__back {
  color: inherit;
  font-family: Arial, sans-serif;
  text-decoration: none;
}

.event-page .event-topbar__brand {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.event-page .event-topbar__back {
  display: inline-flex;
  box-sizing: border-box;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(214, 180, 119, 0.45);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.055em;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.event-page .event-topbar__back::before {
  content: "←";
  margin-right: 7px;
  color: #d6b477;
}

.event-page .event-topbar__back:hover {
  color: #101724;
  background: #d6b477;
}

.event-page .event-topbar__brand:hover {
  color: #f1d59c;
}

.event-page #container,
.event-page #container main {
  width: 100%;
  min-width: 0;
}

.event-page #container main,
.event-page #container aside {
  flex-basis: auto;
}

.event-page #container aside {
  height: auto;
}

.event-page .event-mobile-buy {
  display: none;
}

@media (max-width: 767px) {
  .event-page .event-mobile-buy {
    position: fixed;
    z-index: 90;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    box-sizing: border-box;
    min-height: 55px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 5px;
    color: #fff;
    background: #e83e62;
    font: 900 12px/1 Arial, sans-serif;
    letter-spacing: 0.07em;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(10, 10, 15, 0.4);
  }

  .event-page .sp-footer__bottom {
    padding-bottom: 83px;
  }
}

@media (max-width: 380px) {
  .event-page .event-topbar {
    gap: 9px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .event-page .event-topbar__brand {
    font-size: 13px;
  }

  .event-page .event-topbar__back {
    padding: 0 8px;
    font-size: 8px;
    letter-spacing: 0.035em;
  }
}
