/**
 * Showroom listing and showroom pages (pixel_showrooms). BEM, prefix "pxs-", mobile first.
 */

/* Poppins (light/regular, OFL, self-hosted): display headings of the design – hero title,
   "Zobacz na żywo", "O nas". */
@font-face {
  font-family: "Pxs Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-300-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Pxs Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-300-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Pxs Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Pxs Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.pxs {
  --pxs-blue: #418dc0;
  --pxs-blue-dark: #2c78ad;
  --pxs-gradient: linear-gradient(90deg, #3f8ac0 0%, #5eb0e5 100%);
  --pxs-navy: #26324d;
  --pxs-orange: #f06d22;
  --pxs-dark: #1b1b1b;
  --pxs-text: #1f1f1f;
  --pxs-muted: #666;
  --pxs-border: #e5e7eb;
  --pxs-soft: #f5f5f5;
  --pxs-green: #1f9d3a;
  --pxs-green-bg: #e7f6eb;
  --pxs-info-bg: #e6f2fa;
  --pxs-radius: 12px;
  --pxs-radius-sm: 6px;
  --pxs-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  --pxs-gap: 16px;

  color: var(--pxs-text);
  font-size: 15px;
  line-height: 1.55;
}

body.pxs-page #wrapper {
  overflow-x: clip;
}

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

.pxs ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pxs img {
  display: block;
  max-width: 100%;
}

.pxs .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pxs-icon {
  flex: 0 0 auto;
  vertical-align: middle;
}

/* Layout ------------------------------------------------------------------ */

.pxs-section {
  margin: 0 0 56px;
}

.pxs-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.pxs-card {
  background: #fff;
  border: 1px solid var(--pxs-border);
  border-radius: var(--pxs-radius);
}

/* Heading ----------------------------------------------------------------- */

.pxs-heading {
  margin-bottom: 24px;
}

.pxs-heading__title {
  margin: 0;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.25;
  color: var(--pxs-text);
}

.pxs-heading__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin-top: 14px;
  background: var(--pxs-blue);
}

.pxs-heading__lead {
  max-width: 880px;
  margin: 14px 0 0;
  color: var(--pxs-muted);
  font-weight: 300;
}

.pxs-heading--light .pxs-heading__title,
.pxs-heading--light .pxs-heading__lead {
  color: #fff;
}

/* Buttons and links ------------------------------------------------------- */

.pxs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--pxs-radius-sm);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.pxs-btn:hover,
.pxs-btn:focus {
  text-decoration: none;
}

.pxs-btn--primary {
  color: #fff;
  background: var(--pxs-gradient);
}

.pxs-btn--primary:hover,
.pxs-btn--primary:focus {
  color: #fff;
  filter: brightness(0.95);
}

.pxs-btn--light {
  color: var(--pxs-text);
  background: #fff;
}

.pxs-btn--light:hover {
  color: var(--pxs-blue-dark);
}

.pxs-btn--light .pxs-icon {
  color: var(--pxs-blue);
}

.pxs-btn--outline {
  color: var(--pxs-text);
  background: #fff;
  border-color: var(--pxs-border);
}

.pxs-btn--outline:hover {
  color: var(--pxs-text);
  border-color: var(--pxs-blue);
}

.pxs-btn--block {
  width: 100%;
}

.pxs-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.pxs-link {
  color: var(--pxs-blue-dark);
  text-decoration: underline;
}

.pxs-link--strong {
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

/* Status badge ------------------------------------------------------------ */

.pxs-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.pxs-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.pxs-status--open {
  color: var(--pxs-green);
  background: var(--pxs-green-bg);
}

.pxs-status--closed {
  color: #8a5a00;
  background: #fdf3e1;
}

.pxs-status--coming_soon {
  color: var(--pxs-blue-dark);
  background: var(--pxs-info-bg);
}

.pxs-status--coming_soon .pxs-status__dot {
  display: none;
}

/* Info rows (icon + text) ------------------------------------------------- */

.pxs-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pxs-info__icon {
  color: var(--pxs-blue);
  line-height: 0;
  padding-top: 2px;
}

.pxs-info__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.pxs-info__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.pxs-info__title {
  font-weight: 500;
}

.pxs-info__link {
  color: var(--pxs-blue-dark);
  font-weight: 500;
  word-break: break-word;
}

.pxs-info__note {
  color: var(--pxs-muted);
  font-size: 13px;
}

/* Hours ------------------------------------------------------------------- */

.pxs-hours {
  margin: 0;
}

.pxs-hours__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.pxs-hours__label,
.pxs-hours__value {
  margin: 0;
  font-weight: 400;
  color: var(--pxs-muted);
}

.pxs-hours__row--today .pxs-hours__label,
.pxs-hours__row--today .pxs-hours__value {
  color: var(--pxs-text);
  font-weight: 500;
}

.pxs-hours__today {
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--pxs-blue-dark);
  background: var(--pxs-info-bg);
}

/* Carousel ---------------------------------------------------------------- */

.pxs-carousel {
  position: relative;
}

.pxs-carousel__track {
  display: flex;
  gap: var(--pxs-gap);
  overflow-x: auto;
  /* With overflow-x set, browsers make overflow-y "auto" too: a hovered (scaled) card would
     then scroll the row vertically. */
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pxs-carousel__track::-webkit-scrollbar {
  display: none;
}

.pxs-carousel__track > * {
  scroll-snap-align: start;
  flex: 0 0 auto;
}

.pxs-carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--pxs-text);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.pxs-carousel__btn[hidden],
.pxs-carousel__btn:disabled {
  display: none;
}

.pxs-carousel__btn--prev {
  left: -12px;
}

.pxs-carousel__btn--next {
  right: -12px;
}

.pxs-carousel__dots {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff;
}

.pxs-carousel__dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
}

.pxs-carousel__dots button {
  transition: width 0.2s ease, background-color 0.2s ease;
}

/* Active photo: a wider pill, easy to spot on top of a picture. */
.pxs-carousel__dots button.is-active {
  width: 16px;
  border-radius: 3px;
  background: var(--pxs-text);
}

/* Hero (showroom) --------------------------------------------------------- */

.pxs-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--pxs-radius);
  color: #fff;
  background: var(--pxs-dark);
}

.pxs-hero__media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.pxs-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.15) 100%);
}

.pxs-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 36px 22px;
}

.pxs-hero__title {
  margin: 0;
  font-size: 36px;
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
}

.pxs-hero__suffix {
  display: block;
  margin-top: 6px;
  font-size: 0.55em;
}

.pxs-hero__suffix::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 12px;
  background: var(--pxs-blue);
}

.pxs-hero__location {
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--pxs-blue);
  font-size: 18px;
  color: #fff;
}

.pxs-hero__text {
  max-width: 520px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.pxs-hero__text p:last-child {
  margin-bottom: 0;
}

.pxs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.pxs-hero__enter {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}

.pxs-hero__enter:hover {
  color: #fff;
}

.pxs-hero__enter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--pxs-blue);
  background: #fff;
}

.pxs-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.pxs-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-radius: var(--pxs-radius);
  color: #fff;
}

.pxs-stat__value {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
}

.pxs-stat__label {
  font-size: 14px;
  line-height: 1.3;
}

.pxs-stat--white {
  color: var(--pxs-navy);
  background: #fff;
}

.pxs-stat--blue {
  background: #1a8bc4;
}

.pxs-stat--orange {
  background: var(--pxs-orange);
}

.pxs-stat--navy {
  background: var(--pxs-navy);
}

/* Visit ------------------------------------------------------------------- */

.pxs-visit__grid {
  display: grid;
  gap: 24px;
}

.pxs-visit__info {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.pxs-visit__info > .pxs-info {
  padding: 18px 0;
  border-bottom: 1px solid var(--pxs-border);
}

.pxs-visit__info > .pxs-info:first-child {
  padding-top: 0;
}

.pxs-visit__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

/* Map loader: shimmer, spinner and label until the first tiles are drawn (.is-ready). Pure
   CSS on the map box, so it shows from the first paint, also while the map script loads. */
.pxs-map::before,
.pxs-map::after {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.pxs-map::before {
  content: "";
  inset: 0;
  background: linear-gradient(100deg, #eef0f2 30%, #f8f9fa 50%, #eef0f2 70%) 0 0 / 300% 100%;
  animation: pxs-shimmer 1.6s ease-in-out infinite;
}

.pxs-map::after {
  content: attr(data-pxs-loading);
  top: 50%;
  left: 50%;
  padding-top: 52px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--pxs-muted);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='16' fill='none' stroke='%23d4dbe2' stroke-width='4'/%3E%3Cpath d='M20 4a16 16 0 0 1 16 16' fill='none' stroke='%23418dc0' stroke-width='4' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 20 20' to='360 20 20' dur='0.9s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E") no-repeat 50% 0 / 40px 40px;
  transform: translate(-50%, -50%);
}

.pxs-map.is-ready::before,
.pxs-map.is-ready::after {
  opacity: 0;
  visibility: hidden;
  animation: none;
}

@keyframes pxs-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pxs-map::before { animation: none; }
}

/* The design uses a light grey map; OpenStreetMap tiles are toned down to match. The filter
   sits on each tile, not on the whole pane: a filtered pane is repainted on every frame of a
   zoom animation, which made the zoom stutter. */
.pxs-map .leaflet-tile {
  filter: grayscale(1) contrast(0.85) brightness(1.08);
}

.pxs-map .leaflet-zoom-anim .leaflet-zoom-animated {
  will-change: transform;
}

.pxs-map {
  position: relative;
  z-index: 0;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--pxs-radius);
  background: #eef0f2;
}

/* Benefits ---------------------------------------------------------------- */

.pxs-benefit {
  position: relative;
  width: 85%;
  overflow: hidden;
  border-radius: var(--pxs-radius-sm);
  background: var(--pxs-dark);
  aspect-ratio: 4 / 3;
}

.pxs-benefit__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pxs-benefit__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 60px 22px 22px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
}

.pxs-benefit__title {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 500;
}

.pxs-benefit__text p {
  margin: 0;
}

/* Reviews ----------------------------------------------------------------- */

.pxs-reviews__top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pxs-reviews__top .pxs-heading {
  margin-bottom: 0;
}

.pxs-google {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 30px;
  border: 1px solid var(--pxs-border);
  border-radius: var(--pxs-radius);
  color: var(--pxs-text);
  text-decoration: none;
}

.pxs-google:hover {
  color: var(--pxs-text);
  border-color: var(--pxs-blue);
}

.pxs-google__score {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 18px;
}

.pxs-google__logo {
  font-size: 22px;
  letter-spacing: -0.5px;
}

.pxs-google__logo b {
  font-weight: 500;
}

.pxs-google__logo b:nth-child(1),
.pxs-google__logo b:nth-child(4) { color: #4285f4; }
.pxs-google__logo b:nth-child(2),
.pxs-google__logo b:nth-child(6) { color: #ea4335; }
.pxs-google__logo b:nth-child(3) { color: #fbbc05; }
.pxs-google__logo b:nth-child(5) { color: #34a853; }

.pxs-google__count {
  font-size: 13px;
  color: var(--pxs-muted);
}

.pxs-review {
  display: flex;
  flex-direction: column;
  width: 85%;
  padding: 28px 30px;
}

.pxs-review__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pxs-review__stars {
  display: inline-flex;
  gap: 2px;
  color: #f5b301;
}

.pxs-review__tag {
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #fff;
  background: #16679a;
}

.pxs-review__body {
  flex: 1 1 auto;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
}

.pxs-review__body p {
  display: inline;
  margin: 0;
}

.pxs-review__title {
  margin-right: 4px;
  font-weight: 600;
}

.pxs-review__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.pxs-review__name {
  display: block;
}

.pxs-review__when {
  display: block;
  font-size: 13px;
  color: var(--pxs-muted);
}

.pxs-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-weight: 600;
  background: var(--pxs-soft);
}

/* Reviews from the htmlbox block of the home page: its heading is restyled to match the
   other section headings of these pages (size, weight, blue underline, no indent). */
.pxs-reviews--htmlbox .mexen-reviews .mexen-reviews__title {
  /* The theme makes it inline-flex (and centred on mobile), which put the underline next to
     the text instead of below it. */
  display: block;
  margin: 0 0 24px;
  padding: 0;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.25;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  color: var(--pxs-text);
}

.pxs-reviews--htmlbox .mexen-reviews .mexen-reviews__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin-top: 14px;
  background: var(--pxs-blue);
}

.pxs-reviews--htmlbox .mexen-reviews > .container {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

@media (min-width: 768px) {
  .pxs-reviews--htmlbox .mexen-reviews .mexen-reviews__title {
    font-size: 32px;
  }
}

/* Gallery ----------------------------------------------------------------- */

.pxs-gallery__intro {
  display: grid;
  gap: 24px;
  margin-bottom: 16px;
}

.pxs-gallery__feature {
  position: relative;
  overflow: hidden;
  border-radius: var(--pxs-radius-sm);
}

.pxs-gallery__feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.pxs-gallery__tour {
  white-space: nowrap;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-height: 40px;
  border-radius: 999px;
}

/* Fixed row height, so a photo stretched over two cells does not grow into a tall square.
   The last row is always filled: see the span rules per breakpoint below. */
.pxs-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 170px;
  gap: 10px;
}

.pxs-gallery__item a {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--pxs-radius-sm);
}

.pxs-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pxs-gallery__item a:hover img {
  transform: scale(1.04);
}

/* Mobile, 2 per row: an odd last photo takes the whole row (showroom page only). */
.pxs--showroom .pxs-gallery__item:last-child:nth-child(odd) {
  grid-column: span 2;
}

/* The listing gallery never stretches a photo, at any width. */
.pxs--listing .pxs-gallery__item {
  grid-column: auto !important;
}

/* Team -------------------------------------------------------------------- */

/* "ul." prefix: the generic `.pxs ul { padding: 0; margin: 0 }` reset would otherwise win
   and remove the room for the hover scale. */
.pxs ul.pxs-team__track {
  align-items: stretch;
  /* The row clips its overflow (horizontal scroller), so it gets room for the hover scale
     and shadow of a card, given back with a negative margin: the layout does not move. */
  padding: 40px 28px;
  margin: -40px -28px;
  scroll-padding-inline: 28px;
}

.pxs-member {
  display: flex;
  flex-direction: column;
  width: 70%;
  padding: 24px;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pxs-member__photo {
  width: 118px;
  height: 118px;
  margin-bottom: 18px;
  border: 3px solid #d9dde3;
  border-radius: 50%;
  object-fit: cover;
  transition: border-color 0.25s ease;
}

.pxs-member:hover .pxs-member__photo,
.pxs-member:focus-visible .pxs-member__photo {
  border-color: var(--pxs-blue);
}

.pxs-member__photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 600;
  color: var(--pxs-blue);
  background: var(--pxs-soft);
}

.pxs-member__name {
  font-size: 18px;
  font-weight: 600;
}

.pxs-member__job {
  margin-top: 4px;
  color: var(--pxs-muted);
  transition: color 0.25s ease;
}

.pxs-member__text {
  margin-top: 18px;
  color: var(--pxs-muted);
  transition: color 0.25s ease;
}

.pxs-member__text p:last-child {
  margin-bottom: 0;
}

/* Hover / keyboard focus: the dark, slightly larger card of the design. */
.pxs-member:hover,
.pxs-member:focus-visible {
  position: relative;
  z-index: 1;
  outline: 0;
  color: #fff;
  border-color: var(--pxs-navy);
  background: var(--pxs-navy);
  box-shadow: var(--pxs-shadow);
  transform: scale(1.06);
}

.pxs-member:hover .pxs-member__job,
.pxs-member:hover .pxs-member__text,
.pxs-member:focus-visible .pxs-member__job,
.pxs-member:focus-visible .pxs-member__text {
  color: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: reduce) {
  .pxs-member,
  .pxs-member:hover,
  .pxs-member:focus-visible {
    transition: none;
    transform: none;
  }
}

/* Awards ------------------------------------------------------------------ */

.pxs-award {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 45%;
  padding: 28px 16px;
  text-align: center;
}

.pxs-award__image {
  width: 110px;
  height: 100px;
  object-fit: contain;
}

.pxs-award__title,
.pxs-award__text {
  display: block;
  line-height: 1.4;
}

/* Contact ----------------------------------------------------------------- */

.pxs-contact__band {
  display: grid;
  gap: 24px;
}

.pxs-contact__intro {
  padding: 32px 0 0;
}

.pxs-contact__cards {
  display: grid;
  gap: 16px;
}

.pxs-contact__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.pxs-contact__card-title {
  font-size: 13px;
  color: var(--pxs-muted);
}

.pxs-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 22px;
  border-radius: var(--pxs-radius);
  color: #fff;
  background: var(--pxs-navy);
}

.pxs-form__title {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 300;
  color: #fff;
}

.pxs-form__field {
  display: block;
  margin: 0;
}

.pxs-form__field input,
.pxs-form__field textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--pxs-radius-sm);
  font: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.pxs-form__field textarea {
  min-height: 110px;
  resize: vertical;
}

.pxs-form__field input::placeholder,
.pxs-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.9);
}

.pxs-form__field input:focus,
.pxs-form__field textarea:focus {
  outline: 0;
  border-color: #5eb0e5;
}

.pxs-form .pxs-form__consent,
.pxs-form .pxs-form__consent span {
  color: #fff;
}

.pxs-form__consent {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 12px 0 0;
  font-weight: 400;
  cursor: pointer;
}

.pxs-form__consent input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  accent-color: var(--pxs-blue);
}

.pxs-form__legal {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.pxs-form__legal p {
  display: inline;
  margin: 0;
}

.pxs-form__legal a {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.pxs-form__hp {
  position: absolute !important;
  left: -9999px;
}

.pxs-form__message:empty {
  display: none;
}

.pxs-form__message {
  padding: 10px 14px;
  border-radius: var(--pxs-radius-sm);
  font-size: 14px;
}

.pxs-form__message.is-success {
  background: rgba(31, 157, 58, 0.25);
}

.pxs-form__message.is-error {
  background: rgba(220, 38, 38, 0.3);
}

/* Listing hero: map + finder ---------------------------------------------- */

.pxs-maphero {
  position: relative;
  display: flex;
  flex-direction: column;
}

.pxs-maphero__map {
  order: 2;
  height: 380px;
  min-height: 0;
}

.pxs-maphero__panel {
  order: 1;
  z-index: 1;
  margin-bottom: 16px;
  padding: 24px 20px;
  box-shadow: var(--pxs-shadow);
}

.pxs-maphero__panel .pxs-heading__title {
  font-size: 30px;
}

.pxs-finder__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: var(--pxs-radius-sm);
  background: var(--pxs-soft);
}

.pxs-finder__input {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--pxs-muted);
}

.pxs-finder__input input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  font: inherit;
  background: transparent;
}

.pxs-finder__input input:focus {
  outline: 0;
}

.pxs-finder__near {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border: 0;
  font-weight: 500;
  white-space: nowrap;
  color: var(--pxs-blue-dark);
  background: transparent;
  cursor: pointer;
}

.pxs-finder__near.is-loading {
  opacity: 0.5;
}

.pxs-finder__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pxs-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid var(--pxs-border);
  border-radius: var(--pxs-radius-sm);
  font-size: 14px;
  color: var(--pxs-text);
  background: #fff;
  cursor: pointer;
}

.pxs-chip .pxs-icon {
  display: none;
  color: var(--pxs-blue);
}

.pxs-chip.is-active {
  border-color: var(--pxs-blue);
  background: var(--pxs-info-bg);
}

.pxs-chip.is-active .pxs-icon {
  display: inline;
}

.pxs-finder__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 360px;
  margin-top: 18px !important;
  overflow-y: auto;
}

.pxs-finder__item[hidden] {
  display: none;
}

.pxs-finder__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--pxs-radius-sm);
  color: var(--pxs-text);
  text-decoration: none;
}

.pxs-finder__link:hover,
.pxs-finder__item.is-active .pxs-finder__link {
  color: var(--pxs-text);
  background: var(--pxs-info-bg);
}

.pxs-finder__pin {
  color: var(--pxs-blue);
}

.pxs-finder__item.is-soon .pxs-finder__pin {
  color: #999;
}

.pxs-finder__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pxs-finder__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pxs-finder__city {
  font-size: 17px;
  font-weight: 500;
}

.pxs-finder__head .pxs-status {
  padding: 0;
  background: transparent;
}

.pxs-finder__head .pxs-status--coming_soon {
  padding: 2px 8px;
  background: var(--pxs-info-bg);
}

.pxs-finder__address {
  font-size: 14px;
  color: var(--pxs-muted);
}

.pxs-finder__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 4px;
  font-size: 14px;
}

.pxs-finder__contact a {
  font-weight: 500;
  color: var(--pxs-blue-dark);
}

.pxs-finder__link--partner {
  cursor: default;
}

.pxs-finder__distance {
  margin-left: auto;
  font-size: 12px;
  color: var(--pxs-muted);
}

.pxs-finder__arrow {
  color: var(--pxs-muted);
}

.pxs-finder__empty {
  margin: 16px 0 0;
  color: var(--pxs-muted);
}

/* Map pins and popups ----------------------------------------------------- */

.pxs-pin {
  background: none;
  border: 0;
}

.pxs-pin svg {
  fill: #1a8bc4;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.25));
  transition: transform 0.15s ease;
  transform-origin: 50% 100%;
}

.pxs-pin--soon svg {
  fill: #8e8e8e;
}

.pxs-pin--partner svg {
  fill: var(--pxs-orange);
}

.pxs-pin.is-active svg {
  transform: scale(1.2);
}

.pxs-popup-wrap .leaflet-popup-content-wrapper {
  border-radius: var(--pxs-radius-sm);
  box-shadow: var(--pxs-shadow);
}

.pxs-popup-wrap .leaflet-popup-content {
  margin: 14px 18px;
}

.pxs-popup {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.pxs-popup strong {
  font-size: 15px;
  font-weight: 500;
}

.pxs-popup span {
  color: var(--pxs-muted);
}

.pxs-popup a {
  margin-top: 4px;
  font-weight: 500;
  color: var(--pxs-blue-dark);
}

/* Showroom cards ---------------------------------------------------------- */

.pxs-cards__grid {
  display: grid;
  gap: 12px;
}

.pxs-showroom-card {
  overflow: hidden;
}

.pxs-showroom-card__media {
  background: var(--pxs-soft);
}

.pxs-showroom-card__media .pxs-carousel__track {
  gap: 0;
}

.pxs-showroom-card__slide {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.pxs-showroom-card__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pxs-showroom-card__media .pxs-carousel__btn {
  top: auto;
  bottom: 16px;
  width: 32px;
  height: 32px;
  margin: 0;
}

.pxs-showroom-card__media .pxs-carousel__btn--prev {
  left: auto;
  right: 56px;
}

.pxs-showroom-card__media .pxs-carousel__btn--next {
  right: 16px;
}

.pxs-showroom-card__media .pxs-carousel__btn:disabled {
  display: inline-flex;
  opacity: 0.5;
}

.pxs-showroom-card__body {
  container-type: inline-size;
  padding: 26px 22px 30px;
}

.pxs-showroom-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.pxs-showroom-card__title {
  margin: 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
}

.pxs-showroom-card__title a {
  color: inherit;
}

.pxs-showroom-card__details {
  display: grid;
  gap: 18px 24px;
  font-size: 15px;
}

.pxs-showroom-card__details .pxs-info {
  gap: 12px;
}

.pxs-showroom-card__details .pxs-info__title {
  color: var(--pxs-text);
}

.pxs-showroom-card__details .pxs-info__body > span {
  color: #555;
}

.pxs-showroom-card__details .pxs-info__link {
  font-size: 16px;
}

.pxs-showroom-card__details .pxs-hours {
  display: grid;
  gap: 4px;
}

.pxs-showroom-card__details .pxs-hours__row {
  justify-content: flex-start;
  gap: 8px;
}

.pxs-showroom-card__details .pxs-hours__value {
  color: var(--pxs-text);
  font-weight: 500;
}

/* Wide card (as in the design): address | hours, phone | e-mail. */
@container (min-width: 540px) {
  .pxs-showroom-card__details {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 22px 28px;
  }
}

.pxs-showroom-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pxs-showroom-card__actions .pxs-btn {
  min-height: 50px;
  padding: 10px 22px;
}

/* Live (dark band + tiles) ------------------------------------------------ */

.pxs-live__band {
  padding: 48px 16px 120px;
  color: #fff;
  background: var(--pxs-dark);
}

.pxs-live__inner {
  display: grid;
  gap: 32px;
  max-width: 1430px;
  margin: 0 auto;
}

.pxs-live__title {
  margin: 0 0 22px;
  font-size: 38px;
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
}

.pxs-live__subtitle {
  display: block;
  margin-top: 8px;
  font-size: 0.6em;
}

.pxs-live__subtitle::after,
.pxs-about__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 10px;
  background: var(--pxs-blue);
}

.pxs-live__content {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

.pxs-live__content .lead,
.pxs-about__content .lead {
  font-size: 17px;
  font-weight: 400;
  color: #fff;
}

.pxs-live__media img,
.pxs-live__media video {
  display: block;
  width: 100%;
  border-radius: var(--pxs-radius);
  box-shadow: var(--pxs-shadow);
  object-fit: cover;
}

/* Video keeps the 16:9 box before its first frame (poster or not) */
.pxs-live__media .pxs-live__video {
  aspect-ratio: 16 / 9;
  height: auto;
  background: var(--pxs-dark);
}

.pxs-live__tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1430px;
  margin: -88px auto 0 !important;
  padding: 0 16px !important;
}

.pxs-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--pxs-radius);
  box-shadow: var(--pxs-shadow);
  color: var(--pxs-text);
  background: #fff;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.pxs-tile__icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  color: var(--pxs-blue);
  transition: color 0.25s ease, filter 0.25s ease;
}

.pxs-tile__icon--svg svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* "Zobacz na żywo" tiles: white, the dark card of the design on hover. */
.pxs-live__tiles .pxs-tile:hover {
  color: #fff;
  background: var(--pxs-navy);
}

.pxs-live__tiles .pxs-tile:hover .pxs-tile__text {
  color: rgba(255, 255, 255, 0.85);
}

.pxs-live__tiles .pxs-tile:hover .pxs-tile__icon {
  color: #fff;
}

.pxs-live__tiles .pxs-tile:hover img.pxs-tile__icon {
  filter: brightness(0) invert(1);
}

.pxs-tile__title {
  font-size: 16px;
  font-weight: 500;
}

.pxs-tile__text {
  font-size: 14px;
  color: var(--pxs-muted);
}

.pxs-tile__text p:last-child {
  margin-bottom: 0;
}

.pxs-tile__number {
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}

.pxs-tile--navy,
.pxs-tile--blue,
.pxs-tile--orange {
  color: #fff;
}

.pxs-tile--navy .pxs-tile__text,
.pxs-tile--blue .pxs-tile__text,
.pxs-tile--orange .pxs-tile__text {
  color: rgba(255, 255, 255, 0.9);
}

.pxs-tile--navy { background: var(--pxs-navy); }
.pxs-tile--blue { background: #1a8bc4; }
.pxs-tile--orange { background: var(--pxs-orange); }
.pxs-tile--white .pxs-tile__number { color: #1a8bc4; }

.pxs-tile--navy .pxs-tile__icon {
  filter: brightness(0) invert(1);
}

/* About ------------------------------------------------------------------- */

.pxs-about__inner {
  display: grid;
}

.pxs-about__media {
  position: relative;
  z-index: 1;
}

.pxs-about__media img {
  width: 100%;
  border-radius: var(--pxs-radius);
  box-shadow: var(--pxs-shadow);
  object-fit: cover;
  aspect-ratio: 7 / 6;
}

.pxs-about__band {
  position: relative;
  margin-top: -40px;
  padding: 72px 20px 110px;
  color: #fff;
  background: var(--pxs-dark);
}

/* The dark band runs on to the right edge of the window; the section itself keeps the
   content width, so the photo and the team strip line up with the rest of the page. */
.pxs-about__band::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 100vw;
  background: inherit;
}

.pxs-about__title {
  margin: 0 0 22px;
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
  color: #fff;
}

.pxs-about__content {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

.pxs-about__tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 28px !important;
}

.pxs-about__strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  max-width: 1100px;
  margin: -60px 16px 0;
  padding: 22px 26px;
  box-shadow: var(--pxs-shadow);
}

.pxs-about__faces {
  display: inline-flex;
}

.pxs-about__faces img,
.pxs-about__faces .pxs-avatar {
  width: 50px;
  height: 50px;
  margin-left: -12px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.pxs-about__faces > :first-child {
  margin-left: 0;
}

.pxs-about__strip-text {
  display: flex;
  flex: 1 1 260px;
  flex-direction: column;
  gap: 2px;
}

.pxs-about__strip-text strong {
  font-size: 17px;
  font-weight: 500;
}

.pxs-about__strip-text span {
  color: var(--pxs-muted);
}

/* Consult ----------------------------------------------------------------- */

.pxs-consult {
  display: grid;
  gap: 32px;
  align-items: center;
}

.pxs-consult__content {
  max-width: 480px;
  color: var(--pxs-muted);
  font-weight: 300;
}

.pxs-checklist {
  display: grid;
  gap: 18px;
  margin: 26px 0 30px !important;
}

.pxs-checklist__item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pxs-checklist__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--pxs-blue);
  background: var(--pxs-info-bg);
}

/* The photo always fills the box (any uploaded shape): the box height comes from
   min-height / the grid row, the image is laid over it and cropped by object-fit. */
.pxs-consult__media {
  position: relative;
  align-self: stretch;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--pxs-radius);
  background: #f1f1f1;
}

.pxs-consult__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery preview: views/css/gallery-modal.css (product gallery modal) */

/* Virtual tour modal ----------------------------------------------------- */

html.pxs-modal-open {
  overflow: hidden;
}

.pxs-tour {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.6);
}

.pxs-tour[hidden] {
  display: none;
}

.pxs-tour__dialog {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1140px;
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: var(--pxs-radius);
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.pxs-tour__dialog:focus {
  outline: 0;
}

.pxs-tour__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
}

.pxs-tour__title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  color: var(--pxs-text);
}

.pxs-tour__subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--pxs-muted);
}

.pxs-tour__close {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--pxs-border);
  border-radius: var(--pxs-radius-sm);
  color: var(--pxs-text);
  background: #fff;
  cursor: pointer;
}

.pxs-tour__stage {
  position: relative;
  flex: 1 1 auto;
  height: 640px;
  max-height: calc(100vh - 220px);
  overflow: hidden;
  background: #1b1b1b;
}

.pxs-tour__stage iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.pxs-tour__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.pxs-tour__stage.is-loaded .pxs-tour__poster {
  visibility: hidden;
}

.pxs-tour__loader,
.pxs-tour__consent {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  color: #fff;
}

.pxs-tour__loader[hidden],
.pxs-tour__consent[hidden],
.pxs-tour__hint[hidden],
.pxs-tour__fullscreen[hidden] {
  display: none;
}

.pxs-tour__consent {
  background: rgba(0, 0, 0, 0.45);
}

.pxs-tour__consent p {
  max-width: 460px;
  margin: 0;
}

.pxs-tour__consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pxs-tour__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pxs-spin 0.8s linear infinite;
}

@keyframes pxs-spin {
  to {
    transform: rotate(360deg);
  }
}

.pxs-tour__fullscreen {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--pxs-radius-sm);
  color: var(--pxs-text);
  background: #fff;
  cursor: pointer;
}

.pxs-tour__hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  transform: translateX(-50%);
  pointer-events: none;
}

.pxs-tour__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 14px 24px;
  border-top: 1px solid var(--pxs-border);
}

.pxs-tour__place {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 14px;
}

.pxs-tour__pin {
  color: var(--pxs-blue);
  line-height: 0;
}

.pxs-tour__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pxs-tour__actions .pxs-btn {
  min-height: 42px;
  font-size: 14px;
}

@media (max-width: 767px) {
  .pxs-tour {
    padding: 0;
  }

  .pxs-tour__dialog {
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .pxs-tour__header {
    position: sticky;
    top: 0;
    z-index: 4;
    background: #fff;
  }

  .pxs-tour__stage {
    height: auto;
    max-height: none;
  }

  .pxs-tour__footer {
    padding: 12px 16px;
  }

  .pxs-tour__place {
    display: none;
  }

  .pxs-tour__actions {
    width: 100%;
  }

  .pxs-tour__actions .pxs-btn {
    flex: 1 1 0;
  }

  .pxs-tour__hint {
    white-space: normal;
    width: calc(100% - 32px);
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pxs-tour__spinner {
    animation-duration: 2s;
  }
}

/* Tablet ------------------------------------------------------------------ */

@media (min-width: 768px) {
  .pxs-section {
    margin-bottom: 72px;
  }

  .pxs-heading__title {
    font-size: 32px;
  }

  .pxs-hero__title {
    font-size: 52px;
  }

  .pxs-hero__inner {
    padding: 56px 48px;
  }

  .pxs-benefit,
  .pxs-review {
    width: calc((100% - var(--pxs-gap)) / 2);
  }

  .pxs-member {
    width: calc((100% - 2 * var(--pxs-gap)) / 3);
  }

  .pxs-award {
    width: calc((100% - 3 * var(--pxs-gap)) / 4);
  }

  /* Showroom page: 4 per row. Last row short by 1: the last photo takes 2 cells; short by 2:
     the last two take 2 each; short by 3: the last five become 1+1+2 and 2+2. */
  .pxs-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
  }

  .pxs--showroom .pxs-gallery__item:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .pxs-gallery__item:last-child:nth-child(4n + 3),
  .pxs-gallery__item:nth-last-child(2):nth-child(4n + 1),
  .pxs-gallery__item:last-child:nth-child(4n + 2),
  .pxs-gallery__item:nth-last-child(3):nth-child(4n + 3),
  .pxs-gallery__item:nth-last-child(2):nth-child(4n + 4),
  .pxs-gallery__item:last-child:nth-child(4n + 1) {
    grid-column: span 2;
  }

  .pxs-gallery__item:first-child:last-child {
    grid-column: 1 / -1;
  }

  /* Listing page: a plain grid of 3 per row (as in the design), no stretched photos. */
  .pxs--listing .pxs-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pxs-cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pxs-contact__cards {
    grid-template-columns: 1fr 1fr;
  }

  .pxs-form {
    padding: 36px 48px;
  }

  .pxs-maphero__map {
    height: 460px;
  }
}

/* Desktop ----------------------------------------------------------------- */

@media (min-width: 992px) {
  .pxs-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 232px;
    align-items: center;
    gap: 40px;
    min-height: 560px;
    padding: 60px 64px;
  }

  .pxs-hero__stats {
    grid-template-columns: 1fr;
  }

  .pxs-visit__grid {
    grid-template-columns: 520px 1fr;
  }

  .pxs-visit__map {
    min-height: 100%;
  }

  .pxs-benefit,
  .pxs-review {
    width: calc((100% - 2 * var(--pxs-gap)) / 3);
  }

  .pxs-member {
    width: calc((100% - 4 * var(--pxs-gap)) / 5);
  }

  .pxs-award {
    width: calc((100% - 5 * var(--pxs-gap)) / 6);
  }

  .pxs-gallery__grid {
    grid-auto-rows: 340px;
  }

  .pxs-gallery--featured .pxs-gallery__intro {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .pxs-contact__band {
    grid-template-columns: 1fr 590px;
    align-items: center;
    padding-left: 16px;
    background: linear-gradient(90deg, var(--pxs-soft) 0%, var(--pxs-soft) 100%) no-repeat 0 50% / 100% 72%;
  }

  .pxs-contact__intro {
    padding: 0 24px 0 0;
  }

  .pxs-maphero {
    display: block;
  }

  .pxs-maphero__map {
    height: 700px;
  }

  /* Only the showroom list scrolls; heading, search and tabs stay in place. */
  .pxs-maphero__panel {
    position: absolute;
    top: 50%;
    left: 44px;
    display: flex;
    flex-direction: column;
    width: 424px;
    max-height: calc(100% - 80px);
    margin: 0;
    overflow: hidden;
    transform: translateY(-50%);
  }

  .pxs-maphero__panel > * {
    flex: 0 0 auto;
  }

  .pxs-maphero__panel .pxs-finder__list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--pxs-border) transparent;
  }

  .pxs-live__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 16px;
  }

  .pxs-live__band {
    padding: 0 0 120px;
    background: linear-gradient(180deg, transparent 0, transparent 48px, var(--pxs-dark) 48px) no-repeat;
    background-size: 68% 100%;
  }

  .pxs-live__text {
    padding: 110px 40px 0 0;
  }

  .pxs-about__inner {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }

  .pxs-about__media {
    padding: 0;
  }

  .pxs-about__band {
    margin: 48px 0 0 -120px;
    padding: 70px 60px 110px 180px;
  }

  .pxs-about__strip {
    margin: -60px 0 0;
  }

  .pxs-consult {
    grid-template-columns: 5fr 6fr;
  }

  .pxs-showroom-card__body {
    padding: 34px 32px 32px;
  }

  .pxs-showroom-card__title {
    font-size: 28px;
  }

  .pxs-consult__media {
    min-height: 640px;
  }
}

/* ======================================================================= */
/* Mobile and tablet layout (design: showroom-listing / showroom-gdansk)    */
/* ======================================================================= */

/* Dots under a carousel (reviews): mobile only, the arrows take over on wider screens. */
.pxs-carousel__dots--below {
  position: static;
  justify-content: center;
  margin-top: 16px;
  padding: 0;
  background: transparent;
}

.pxs-carousel__dots--below button {
  width: 8px;
  height: 8px;
  background: #d0d4da;
  transition: width 0.2s ease;
}

.pxs-carousel__dots--below button.is-active {
  width: 22px;
  border-radius: 4px;
  background: var(--pxs-blue);
}

@media (min-width: 768px) {
  .pxs-carousel__dots--below {
    display: none;
  }
}

@media (max-width: 991px) {
  /* Listing hero: heading, search and tabs, then the map, then the list (no card around). */
  .pxs-maphero {
    display: flex;
    flex-direction: column;
  }

  .pxs-maphero__panel {
    display: contents;
  }

  .pxs-maphero__panel .pxs-heading { order: 1; }
  .pxs-maphero__panel .pxs-finder__search { order: 2; }
  .pxs-maphero__panel .pxs-finder__tabs { order: 3; }
  .pxs-maphero__map { order: 4; margin-top: 16px; height: 300px; }
  .pxs-maphero__panel .pxs-finder__list { order: 5; max-height: none; margin-top: 12px !important; }
  .pxs-maphero__panel .pxs-finder__empty { order: 6; }

  /* "Zobacz na żywo": the dark band runs behind the tiles too. */
  .pxs-live {
    padding-bottom: 40px;
    background: var(--pxs-dark);
  }

  .pxs-live__band {
    padding-bottom: 24px;
  }

  .pxs-live__tiles {
    grid-template-columns: 1fr;
    margin-top: 0 !important;
  }

  /* "O nas": one dark block – title, text, photo, tiles, team strip. */
  .pxs-about {
    padding: 40px 0;
    color: #fff;
    background: var(--pxs-dark);
    box-shadow: 0 0 0 100vmax var(--pxs-dark);
    clip-path: inset(0 -100vmax);
  }

  .pxs-about__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .pxs-about__band {
    display: contents;
  }

  .pxs-about__band::after {
    display: none;
  }

  .pxs-about__title { order: 1; margin-bottom: 0; }
  .pxs-about__content { order: 2; }
  .pxs-about__media { order: 3; }
  .pxs-about__tiles { order: 4; grid-template-columns: 1fr; margin-top: 0 !important; }

  .pxs-about__strip {
    margin: 20px 0 0;
    box-shadow: none;
    color: var(--pxs-text);
  }

  /* "Umów konsultację": title, text, photo, checklist, button. */
  .pxs-consult {
    gap: 20px;
  }

  .pxs-consult__text {
    display: contents;
  }

  .pxs-consult .pxs-heading { order: 1; margin-bottom: 0; }
  .pxs-consult__content { order: 2; }
  .pxs-consult__media { order: 3; min-height: 240px; }
  .pxs-consult .pxs-checklist { order: 4; margin: 0 !important; }
  .pxs-consult > .pxs-btn,
  .pxs-consult .pxs-consult__text > .pxs-btn { order: 5; width: 100%; }
}

@media (max-width: 767px) {
  /* Content carousels are swiped on phones; the photo slider of a showroom card keeps both
     arrows (they sit on the photo and are the only hint there is more than one picture). */
  .pxs-carousel__btn {
    display: none;
  }

  .pxs-showroom-card__media .pxs-carousel__btn,
  .pxs-showroom-card__media .pxs-carousel__btn:disabled {
    display: inline-flex;
  }

  .pxs-showroom-card__media .pxs-carousel__btn:disabled {
    opacity: 0.5;
    cursor: default;
  }

  /* Showroom cards: buttons full width, phone right after the address. */
  .pxs-showroom-card__details > :nth-child(1) { order: 1; }
  .pxs-showroom-card__details > :nth-child(3) { order: 2; }
  .pxs-showroom-card__details > :nth-child(2) { order: 3; }
  .pxs-showroom-card__details > :nth-child(4) { order: 4; }

  .pxs-showroom-card__actions {
    flex-direction: column;
  }

  /* Status badge on its own line under the title. */
  .pxs-showroom-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .pxs-showroom-card__actions .pxs-btn {
    width: 100%;
  }

  /* Showroom hero: full width, photo on top with the tour button on it, text below. */
  .pxs-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    border-radius: 0;
  }

  .pxs-hero__media {
    position: relative;
    inset: auto;
    height: 260px;
  }

  .pxs-hero__media::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, var(--pxs-dark) 100%);
  }

  .pxs-hero__inner {
    position: static;
    gap: 20px;
    padding: 20px 16px 28px;
  }

  .pxs-hero__content {
    display: flex;
    flex-direction: column;
  }

  .pxs-hero__location { order: 0; margin: 0 0 18px; font-size: 16px; }
  .pxs-hero__title { order: 1; font-size: 34px; }
  .pxs-hero__text { order: 2; }
  .pxs-hero__actions { order: 3; }

  .pxs-hero__actions .pxs-btn--primary {
    width: 100%;
  }

  .pxs-hero__actions .pxs-btn--light {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
  }

  .pxs-hero__enter {
    display: none;
  }

  .pxs-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .pxs-stat {
    padding: 10px 12px;
  }

  .pxs-stat__value {
    font-size: 22px;
  }

  .pxs-stat__label {
    font-size: 12px;
  }

  /* "Odwiedź nas": map first, then the details; buttons stacked. */
  .pxs-visit__map {
    order: -1;
    min-height: 240px;
  }

  .pxs-visit__info {
    padding: 20px;
  }

  .pxs-visit__actions {
    grid-template-columns: 1fr;
  }

  /* "Dlaczego warto": cards stacked, no scroller. */
  .pxs-benefits .pxs-carousel__track {
    flex-direction: column;
    overflow: visible;
  }

  .pxs-benefit {
    width: 100%;
    aspect-ratio: 16 / 11.5;
  }

  /* Reviews: one card per view, dots below. */
  .pxs-review {
    width: 100%;
    padding: 22px 20px;
  }

  .pxs-google {
    width: 100%;
  }

  /* Contact: grey band behind heading, cards and form. */
  .pxs-contact__band {
    padding: 32px 0;
    background: var(--pxs-soft);
    box-shadow: 0 0 0 100vmax var(--pxs-soft);
    clip-path: inset(0 -100vmax);
  }

  .pxs-contact__intro {
    padding-top: 0;
  }

  .pxs-form {
    padding: 24px 20px;
  }
}

/* Display headings in Poppins, as in the design. */
.pxs-hero__title,
.pxs-live__title,
.pxs-about__title {
  font-family: "Pxs Poppins", Roboto, sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.pxs-hero__suffix,
.pxs-live__subtitle {
  font-family: "Pxs Poppins", Roboto, sans-serif;
  font-weight: 400;
}

/* Large "X" of the Mexen logo behind "O nas". */
.pxs-about__band::before {
  content: "";
  position: absolute;
  top: 0;
  right: -240px;
  bottom: 0;
  /* Above the ::after strip that carries the dark band to the window edge. */
  z-index: 1;
  width: 640px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120' preserveAspectRatio='none'%3E%3Cpath d='M0 0h30l20 36L70 0h30L64 60l36 60H70L50 84 30 120H0l36-60z' fill='%232a2a2a'/%3E%3C/svg%3E") no-repeat 50% 50% / 100% 100%;
  pointer-events: none;
}

.pxs-about__band > * {
  position: relative;
  z-index: 2;
}

/* The X and the band layers stack only inside the band, so they never cover things outside
   the section (e.g. the theme's side banners). */
.pxs-about__band {
  isolation: isolate;
}

@media (max-width: 991px) {
  .pxs-about__band::before {
    display: none;
  }

  .pxs-about {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120' preserveAspectRatio='none'%3E%3Cpath d='M0 0h30l20 36L70 0h30L64 60l36 60H70L50 84 30 120H0l36-60z' fill='%232a2a2a'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right -60px top 0;
    background-size: 320px 380px;
  }

  .pxs-about__inner {
    position: relative;
    z-index: 1;
  }
}

/* ===================================================================== */
/* Hovers (benefits, reviews, awards, "Zobacz na żywo")                   */
/* Only on devices with a real pointer; off with reduced motion.          */
/* ===================================================================== */

/* Carousel tracks clip vertically (overflow-y: hidden): room for the lift and the shadow,
   cancelled by negative margins so the layout does not move. */
/* .pxs prefix: the tracks are <ul>, reset by ".pxs ul { padding: 0; margin: 0 }". */
.pxs .pxs-benefits__track,
.pxs .pxs-reviews__track,
.pxs .pxs-awards__track {
  padding-top: 14px;
  padding-bottom: 40px;
  margin-top: -14px;
  margin-bottom: -40px;
}

.pxs-benefit,
.pxs-review,
.pxs-award,
.pxs-live__tiles .pxs-tile {
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.25s ease, color 0.25s ease;
}

.pxs-benefit__image {
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
}

.pxs-benefit__caption {
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pxs-benefit__title {
  position: relative;
  padding-bottom: 10px;
}

/* Accent line under the title, grows on hover */
.pxs-benefit__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--pxs-blue);
  transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pxs-review {
  position: relative;
  overflow: hidden;
}

/* Big quotation mark, drawn in on hover */
.pxs-review::before {
  content: "\201D";
  position: absolute;
  top: -18px;
  right: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 150px;
  line-height: 1;
  color: var(--pxs-blue);
  opacity: 0;
  transform: translateY(14px) rotate(8deg);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.pxs-review__stars svg {
  transform-origin: 50% 60%;
}

.pxs-award__image {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pxs-live__tiles .pxs-tile {
  position: relative;
  overflow: hidden;
}

@keyframes pxs-star-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.35) rotate(-8deg); }
  100% { transform: scale(1); }
}

@keyframes pxs-icon-wiggle {
  0%, 100% { transform: rotate(0) scale(1); }
  30% { transform: rotate(-12deg) scale(1.15); }
  60% { transform: rotate(8deg) scale(1.1); }
}

@media (hover: hover) and (pointer: fine) {
  /* Opinie: lift, blue-tinted frame, quotation mark, stars popping one after another */
  .pxs-reviews--hover-lift .pxs-review:hover {
    transform: translateY(-6px);
    border-color: rgba(65, 141, 192, 0.45);
    box-shadow: 0 22px 40px -18px rgba(27, 26, 40, 0.3);
  }

  .pxs-reviews--hover-lift .pxs-review:hover::before {
    opacity: 0.12;
    transform: translateY(0) rotate(0);
  }

  .pxs-reviews--hover-lift .pxs-review:hover .pxs-review__stars svg {
    animation: pxs-star-pop 0.45s ease both;
  }

  .pxs-reviews--hover-lift .pxs-review:hover .pxs-review__stars svg:nth-child(2) { animation-delay: 0.06s; }
  .pxs-reviews--hover-lift .pxs-review:hover .pxs-review__stars svg:nth-child(3) { animation-delay: 0.12s; }
  .pxs-reviews--hover-lift .pxs-review:hover .pxs-review__stars svg:nth-child(4) { animation-delay: 0.18s; }
  .pxs-reviews--hover-lift .pxs-review:hover .pxs-review__stars svg:nth-child(5) { animation-delay: 0.24s; }

  /* Nagrody: the shadow of the home page awards (.mexen-awards-item), logo slightly up */
  .pxs-award:hover {
    box-shadow: 14px 30px 50px -10px rgba(27, 26, 40, 0.21);
  }

  .pxs-award:hover .pxs-award__image {
    transform: translateY(-4px) scale(1.06);
  }

  /* Zobacz na żywo: tile jumps (springy lift), icon wiggles (no arrow: tiles do not link anywhere) */
  .pxs-live__tiles .pxs-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 44px -16px rgba(17, 24, 39, 0.5);
    transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .pxs-live__tiles .pxs-tile:hover .pxs-tile__icon {
    animation: pxs-icon-wiggle 0.6s ease both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pxs-benefit,
  .pxs-benefit__image,
  .pxs-benefit__caption,
  .pxs-review,
  .pxs-review::before,
  .pxs-award,
  .pxs-award__image,
  .pxs-live__tiles .pxs-tile {
    transition: none;
  }

  .pxs-benefit:hover,
  .pxs-review:hover,
  .pxs-live__tiles .pxs-tile:hover,
  .pxs-benefit:hover .pxs-benefit__image,
  .pxs-benefit:hover .pxs-benefit__caption,
  .pxs-award:hover .pxs-award__image {
    transform: none;
  }

  .pxs-review:hover .pxs-review__stars svg,
  .pxs-live__tiles .pxs-tile:hover .pxs-tile__icon {
    animation: none;
  }
}

/* ===================================================================== */
/* Virtual tour: full window, like the gallery preview                    */
/* ===================================================================== */

.pxs-tour {
  z-index: 2147483000;
  padding: 0;
  background: #fff;
}

.pxs-tour__dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  border-radius: 0;
  box-shadow: none;
}

.pxs-tour__stage {
  flex: 1 1 auto;
  height: auto;
  max-height: none;
  min-height: 0;
}

/* The chat bubble (Freshchat) would cover the tour footer */
html.pxs-modal-open freshchat-widget,
html.pxs-modal-open #fc_frame {
  display: none !important;
}

/* ===================================================================== */
/* Contact: grey band across the whole window (design), form overlaps it  */
/* ===================================================================== */

@media (min-width: 992px) {
  .pxs-contact__band {
    position: relative;
    isolation: isolate;
    background: none;
  }

  .pxs-contact__band::before {
    content: "";
    position: absolute;
    top: 14%;
    bottom: 14%;
    left: 50%;
    z-index: -1;
    width: 100vw;
    background: var(--pxs-soft);
    transform: translateX(-50%);
  }
}

/* ===================================================================== */
/* "Zobacz na żywo": the hovered tile's photo replaces the section photo  */
/* (front.js initLivePhotos)                                               */
/* ===================================================================== */

.pxs-live__media {
  position: relative;
}

.pxs-live__media .pxs-live__photo--swap {
  position: absolute;
  inset: 0;
  height: 100%;
  box-shadow: none;
  opacity: 0;
  clip-path: inset(0 100% 0 0 round var(--pxs-radius));
  transform: scale(1.06);
  transition: clip-path 0.6s cubic-bezier(0.65, 0, 0.35, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
  pointer-events: none;
}

.pxs-live__media.is-swapped .pxs-live__photo--swap {
  opacity: 1;
  clip-path: inset(0 0 0 0 round var(--pxs-radius));
  transform: scale(1);
}

.pxs-live__media .pxs-live__photo--swap:not([src]) {
  display: none;
}

/* The tile whose photo is shown keeps its hover look */
.pxs-live__tiles .pxs-tile.is-live-active {
  color: #fff;
  background: var(--pxs-navy);
}

.pxs-live__tiles .pxs-tile.is-live-active .pxs-tile__text {
  color: rgba(255, 255, 255, 0.85);
}

.pxs-live__tiles .pxs-tile.is-live-active .pxs-tile__icon {
  color: #fff;
}

.pxs-live__tiles .pxs-tile.is-live-active img.pxs-tile__icon {
  filter: brightness(0) invert(1);
}

.pxs-live__tiles .pxs-tile[data-pxs-live-photo] {
  cursor: pointer;
}

.pxs-live__tiles .pxs-tile[data-pxs-live-photo]:focus-visible {
  outline: 2px solid var(--pxs-blue);
  outline-offset: 3px;
}

/* ===================================================================== */
/* "Dlaczego warto": 3D tilt towards the pointer, moving light, parallax  */
/* photo and a brand-coloured caption (front.js initBenefitTilt sets the  */
/* --pxs-rx / --pxs-ry / --pxs-gx / --pxs-gy variables)                   */
/* ===================================================================== */

.pxs-benefit {
  --pxs-rx: 0deg;
  --pxs-ry: 0deg;
  --pxs-gx: 50%;
  --pxs-gy: 0%;
  --pxs-px: 0px;
  --pxs-py: 0px;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Moving light */
.pxs-benefit::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(420px circle at var(--pxs-gx) var(--pxs-gy), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

/* Brand gradient rising behind the caption */
.pxs-benefit__caption {
  z-index: 1;
  transform: none;
}

.pxs-benefit__title,
.pxs-benefit__text {
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pxs-benefit__caption::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Bottom edge a bit below the card so no photo shows under it while the card tilts */
  bottom: -2px;
  background: linear-gradient(0deg, rgba(38, 50, 77, 0.96) 0%, rgba(65, 141, 192, 0.55) 55%, rgba(65, 141, 192, 0) 100%);
  opacity: 0;
  transform: translateY(30%);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
  .pxs-benefits--hover-tilt .pxs-benefit:hover {
    transform: perspective(900px) rotateX(var(--pxs-rx)) rotateY(var(--pxs-ry)) translateY(-6px);
    box-shadow: 0 30px 50px -20px rgba(17, 24, 39, 0.55);
    transition: transform 0.12s ease-out, box-shadow 0.35s ease;
  }

  .pxs-benefits--hover-tilt .pxs-benefit:hover::after {
    opacity: 1;
  }

  .pxs-benefits--hover-tilt .pxs-benefit:hover .pxs-benefit__image {
    transform: scale(1.12) translate(var(--pxs-px), var(--pxs-py));
    transition: transform 0.25s ease-out, filter 0.6s ease;
    filter: saturate(1.15) contrast(1.05);
  }

  /* Only the text rises: moving the whole caption uncovered a strip of photo below it */
  .pxs-benefits--hover-tilt .pxs-benefit:hover .pxs-benefit__title,
  .pxs-benefits--hover-tilt .pxs-benefit:hover .pxs-benefit__text {
    transform: translateY(-6px);
  }

  .pxs-benefits--hover-tilt .pxs-benefit:hover .pxs-benefit__caption::before {
    opacity: 1;
    transform: translateY(0);
  }

  .pxs-benefits--hover-tilt .pxs-benefit:hover .pxs-benefit__title::after {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pxs-live__media .pxs-live__photo--swap {
    clip-path: none;
    transform: none;
    transition: opacity 0.2s ease;
  }

  .pxs-benefit:hover {
    transform: none;
  }

  .pxs-benefit:hover .pxs-benefit__image,
  .pxs-benefit:hover .pxs-benefit__title,
  .pxs-benefit:hover .pxs-benefit__text {
    transform: none;
  }
}

/* ===================================================================== */
/* Hover variants chosen in the section form                              */
/* (Sekcje › Dlaczego warto / Opinie › „Efekt po najechaniu”)              */
/* ===================================================================== */

/* --- Dlaczego warto: "reveal" – only the title at rest, description slides up on a dark wash */
@media (hover: hover) and (pointer: fine) {
  .pxs-benefits--hover-reveal .pxs-benefit__caption {
    padding-top: 120px;
  }

  .pxs-benefits--hover-reveal .pxs-benefit__text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px);
    transition: max-height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .pxs-benefits--hover-reveal .pxs-benefit__caption::before {
    inset: auto 0 -2px;
    height: 100%;
    background: linear-gradient(0deg, rgba(38, 50, 77, 0.95) 0%, rgba(38, 50, 77, 0.75) 45%, rgba(38, 50, 77, 0) 100%);
  }

  .pxs-benefits--hover-reveal .pxs-benefit:hover .pxs-benefit__caption::before {
    opacity: 1;
    transform: translateY(0);
  }

  .pxs-benefits--hover-reveal .pxs-benefit:hover .pxs-benefit__text {
    max-height: 140px;
    opacity: 1;
    transform: translateY(0);
  }

  .pxs-benefits--hover-reveal .pxs-benefit:hover .pxs-benefit__image {
    transform: scale(1.06);
    filter: blur(1px) brightness(0.85);
  }

  .pxs-benefits--hover-reveal .pxs-benefit:hover .pxs-benefit__title::after {
    width: 64px;
  }
}

/* --- Dlaczego warto: "frame" – photo zooms in, a --mexen-blue frame is drawn from the corners,
   the strip outside the frame gets blurred (span.pxs-benefit__frame, only in this variant) */
.pxs-benefits--hover-frame .pxs-benefit__frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  -webkit-backdrop-filter: blur(10px) brightness(0.7) saturate(1.2);
  backdrop-filter: blur(10px) brightness(0.7) saturate(1.2);
  /* Ring only: full box minus a rounded hole matching the frame (inset 14px, radius 12px) */
  --pxs-frame-hole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' rx='12' ry='12'/%3E%3C/svg%3E");
  -webkit-mask: var(--pxs-frame-hole) 14px 14px / calc(100% - 28px) calc(100% - 28px) no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: var(--pxs-frame-hole) 14px 14px / calc(100% - 28px) calc(100% - 28px) no-repeat exclude, linear-gradient(#000 0 0);
  transition: opacity 0.5s ease 0.1s;
}

@media (hover: hover) and (pointer: fine) {
  .pxs-benefits--hover-frame .pxs-benefit::before,
  .pxs-benefits--hover-frame .pxs-benefit::after {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 3;
    border-radius: 12px;
    pointer-events: none;
    transition: clip-path 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  }

  /* Top + right, then bottom + left: two halves of the frame */
  .pxs-benefits--hover-frame .pxs-benefit::before {
    border-top: 2px solid var(--mexen-blue, #418dc0);
    border-right: 2px solid var(--mexen-blue, #418dc0);
    clip-path: inset(0 100% 100% 0);
  }

  .pxs-benefits--hover-frame .pxs-benefit::after {
    border-bottom: 2px solid var(--mexen-blue, #418dc0);
    border-left: 2px solid var(--mexen-blue, #418dc0);
    background: none;
    opacity: 1;
    mix-blend-mode: normal;
    clip-path: inset(100% 0 0 100%);
  }

  .pxs-benefits--hover-frame .pxs-benefit:hover::before,
  .pxs-benefits--hover-frame .pxs-benefit:hover::after {
    clip-path: inset(0 0 0 0);
  }

  .pxs-benefits--hover-frame .pxs-benefit:hover .pxs-benefit__image {
    transform: scale(1.1);
  }

  .pxs-benefits--hover-frame .pxs-benefit:hover .pxs-benefit__frame {
    opacity: 1;
  }

  .pxs-benefits--hover-frame .pxs-benefit:hover .pxs-benefit__title,
  .pxs-benefits--hover-frame .pxs-benefit:hover .pxs-benefit__text {
    transform: translateY(-14px);
  }

  .pxs-benefits--hover-frame .pxs-benefit:hover .pxs-benefit__title::after {
    width: 64px;
  }
}

/* --- Opinie: "invert" – the card turns navy, text white, stars glow */
.pxs-reviews--hover-invert .pxs-review,
.pxs-reviews--hover-invert .pxs-review__name,
.pxs-reviews--hover-invert .pxs-review__when,
.pxs-reviews--hover-invert .pxs-review__body,
.pxs-reviews--hover-invert .pxs-avatar {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pxs-reviews--hover-invert .pxs-review:hover {
    color: #fff;
    border-color: var(--pxs-navy);
    background: var(--pxs-navy);
    transform: translateY(-4px);
    box-shadow: 0 22px 40px -18px rgba(27, 26, 40, 0.5);
  }

  .pxs-reviews--hover-invert .pxs-review:hover .pxs-review__body,
  .pxs-reviews--hover-invert .pxs-review:hover .pxs-review__name {
    color: #fff;
  }

  .pxs-reviews--hover-invert .pxs-review:hover .pxs-review__when {
    color: rgba(255, 255, 255, 0.65);
  }

  .pxs-reviews--hover-invert .pxs-review:hover .pxs-avatar {
    color: var(--pxs-navy);
    background: #fff;
  }

  .pxs-reviews--hover-invert .pxs-review:hover .pxs-review__stars {
    filter: drop-shadow(0 0 6px rgba(245, 179, 1, 0.75));
  }

  .pxs-reviews--hover-invert .pxs-review:hover .pxs-review__tag {
    color: var(--pxs-navy);
    background: #fff;
  }
}

/* --- Opinie: "glow" – a rotating dark/light blue frame, card lifts (no scale: the carousel clips the sides) */
@property --pxs-glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes pxs-glow-spin {
  to {
    --pxs-glow-angle: 360deg;
  }
}

@media (hover: hover) and (pointer: fine) {
  .pxs-reviews--hover-glow .pxs-review {
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  }

  .pxs-reviews--hover-glow .pxs-review:hover {
    border-color: transparent;
    background:
      linear-gradient(#fff, #fff) padding-box,
      conic-gradient(from var(--pxs-glow-angle), #1d4f7c, #8cc5ea, #1d4f7c, #8cc5ea, #1d4f7c) border-box;
    transform: translateY(-6px);
    box-shadow: 0 18px 40px -16px rgba(29, 79, 124, 0.45);
    animation: pxs-glow-spin 3s linear infinite;
  }

  .pxs-reviews--hover-glow .pxs-review:hover .pxs-avatar {
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #1d4f7c;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pxs-benefits--hover-reveal .pxs-benefit__text,
  .pxs-benefits--hover-frame .pxs-benefit::before,
  .pxs-benefits--hover-frame .pxs-benefit::after,
  .pxs-benefits--hover-frame .pxs-benefit__frame {
    transition: none;
  }

  .pxs-reviews--hover-glow .pxs-review:hover {
    animation: none;
    transform: none;
  }

  .pxs-reviews--hover-invert .pxs-review:hover {
    transform: none;
  }
}

/* Breadcrumb aligned with the page content on the listing and showroom pages (all widths).
   This file is loaded only on the module pages, so the rule does not reach the rest of the shop. */
nav[aria-label="breadcrumb"] {
  padding-left: 0 !important;
}

/* ===================================================================== */
/* "Zobacz na żywo" – entrance on desktop (front.js initLiveReveal adds    */
/* .pxs-live--reveal, then .is-inview once the section is on screen).     */
/* Only transform / opacity are animated (composited, no repaints), all   */
/* with one soft ease-out. `translate` / `scale` (not transform) on the   */
/* content so the tile hover keeps working; fill-mode backwards: nothing  */
/* is held after the animation ends.                                      */
/* ===================================================================== */
@keyframes pxs-live-rise {
  from {
    opacity: 0;
    translate: 0 24px;
  }
}

@keyframes pxs-live-slide {
  from {
    opacity: 0;
    translate: 48px 0;
  }
}

@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .pxs-live--reveal {
    --pxs-reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* The dark band is drawn by ::before and wiped in with scaleX instead of animating
     background-size. Same box as the desktop background: 68% wide, 48px from the top. */
  .pxs-live--reveal .pxs-live__band {
    position: relative;
    isolation: isolate;
    background: none;
  }

  .pxs-live--reveal .pxs-live__band::before {
    content: "";
    position: absolute;
    top: 48px;
    bottom: 0;
    left: 0;
    z-index: -1;
    width: 68%;
    background: var(--pxs-dark);
    transform: scaleX(0);
    transform-origin: left center;
    backface-visibility: hidden;
  }

  .pxs-live--reveal.is-inview .pxs-live__band::before {
    transform: scaleX(1);
    transition: transform 1.4s var(--pxs-reveal-ease);
  }

  .pxs-live--reveal:not(.is-inview) .pxs-live__title,
  .pxs-live--reveal:not(.is-inview) .pxs-live__content,
  .pxs-live--reveal:not(.is-inview) .pxs-live__media,
  .pxs-live--reveal:not(.is-inview) .pxs-live__tiles .pxs-tile {
    opacity: 0;
  }

  .pxs-live--reveal.is-inview .pxs-live__media {
    animation: pxs-live-slide 1.4s var(--pxs-reveal-ease) 0.15s backwards;
  }

  /* White text starts once the band is already under it */
  .pxs-live--reveal.is-inview .pxs-live__title {
    animation: pxs-live-rise 1.2s var(--pxs-reveal-ease) 0.45s backwards;
  }

  .pxs-live--reveal.is-inview .pxs-live__content {
    animation: pxs-live-rise 1.2s var(--pxs-reveal-ease) 0.6s backwards;
  }

  .pxs-live--reveal.is-inview .pxs-live__tiles .pxs-tile {
    animation: pxs-live-rise 1.1s var(--pxs-reveal-ease) 0.7s backwards;
  }

  .pxs-live--reveal.is-inview .pxs-live__tiles .pxs-tile:nth-child(2) { animation-delay: 0.8s; }
  .pxs-live--reveal.is-inview .pxs-live__tiles .pxs-tile:nth-child(3) { animation-delay: 0.9s; }
  .pxs-live--reveal.is-inview .pxs-live__tiles .pxs-tile:nth-child(4) { animation-delay: 1s; }
  .pxs-live--reveal.is-inview .pxs-live__tiles .pxs-tile:nth-child(5) { animation-delay: 1.1s; }
  .pxs-live--reveal.is-inview .pxs-live__tiles .pxs-tile:nth-child(n+6) { animation-delay: 1.2s; }
}

/* "Zobacz na żywo": photo tilts towards the pointer (front.js initLiveTilt) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .pxs-live__media {
    transform: perspective(1400px) rotateX(var(--pxs-mrx, 0deg)) rotateY(var(--pxs-mry, 0deg));
    transform-origin: 50% 50%;
    will-change: transform;
  }
}

/* "Zobacz na żywo" video: sound button + volume slider (front.js initLiveVideo), above the
   hover photo. The slider slides out only on hover / keyboard focus. */
.pxs-live__audio {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  height: 46px;
  padding: 0;
  border-radius: 23px;
  color: #333;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.pxs-live__audio[hidden] {
  display: none;
}

.pxs-live__sound {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.2s ease, color 0.2s ease;
}

.pxs-live__sound:hover {
  transform: scale(1.08);
}

.pxs-live__sound:focus-visible,
.pxs-live__volume:focus-visible {
  outline: 2px solid var(--pxs-blue);
  outline-offset: 3px;
}

.pxs-live__sound.is-sound-on {
  color: #fff;
  background: var(--pxs-blue);
}

.pxs-live__sound-icon--on,
.pxs-live__sound.is-sound-on .pxs-live__sound-icon--muted {
  display: none;
}

.pxs-live__sound.is-sound-on .pxs-live__sound-icon--on {
  display: block;
}

/* Volume slider: collapsed to 0 width, slides out to the left of the button only while the
   control is hovered (or reached with the keyboard: :focus-visible, not a mouse click) */
.pxs-live__volume {
  --pxs-volume: 0%;
  width: 0;
  height: 22px;
  margin: 0;
  padding: 0;
  opacity: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), margin 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
}

.pxs-live__audio:hover .pxs-live__volume,
.pxs-live__audio:has(:focus-visible) .pxs-live__volume {
  width: 110px;
  margin: 0 10px 0 18px;
  opacity: 1;
}

.pxs-live__volume::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pxs-blue) var(--pxs-volume), rgba(0, 0, 0, 0.18) var(--pxs-volume));
}

.pxs-live__volume::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: var(--pxs-blue);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  -webkit-appearance: none;
  appearance: none;
}

.pxs-live__volume::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.18);
}

.pxs-live__volume::-moz-range-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--pxs-blue);
}

.pxs-live__volume::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--pxs-blue);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Soft pulse until the visitor tries the sound once */
@keyframes pxs-sound-pulse {
  0% { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(255, 255, 255, 0.55); }
  70% { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 0 14px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (prefers-reduced-motion: no-preference) {
  .pxs-live__audio:not(.is-sound-on):not(.was-used) {
    animation: pxs-sound-pulse 2.2s ease-out 1.5s 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pxs-live__volume {
    transition: none;
  }
}
