/* Scroll lock — galeria nie przewija się pod rozwiniętą stopką (iOS: position fixed) */
html.gf-footer-expanded {
  overflow: hidden;
  overscroll-behavior: none;
}
body.gf-footer-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  left: 0;
  right: 0;
  overscroll-behavior: none !important;
}
/* Desktop: bez position:fixed + ujemnego top — inaczej „nieskończony” scroll dokumentu */
@media (min-width: 641px) {
  body.gf-footer-open {
    position: static !important;
    width: auto !important;
    left: auto;
    right: auto;
    top: auto !important;
  }
  html.gf-footer-expanded {
    height: 100%;
  }
}
html.gf-footer-expanded #galleryView {
  overflow: hidden;
  touch-action: none;
}

/* ── Banner wygaśnięcia galerii ── */
.gallery-expiry-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin: 0 16px 14px;
  padding: 12px 16px;
  background: #f3ebe6;
  border: 1px solid rgba(199, 177, 151, 0.45);
  border-radius: 4px;
}
.gallery-expiry-banner-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(30, 26, 23, 0.82);
  flex: 1 1 200px;
}
.gallery-expiry-banner-btn {
  flex-shrink: 0;
  padding: 9px 16px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 0;
  border-radius: 3px;
  background: #c7b197;
  color: #fff;
  cursor: pointer;
}
.gallery-expiry-banner-btn:hover {
  background: #b09d82;
}

/* ── Stopka galerii + Messenger — dopasowane do .gallery-meta-bar ── */
:root {
  --gf-bg: #ffffff;
  --gf-panel-bg: #ffffff;
  --gf-text: var(--rb-text, #161616);
  --gf-muted: var(--rb-muted, #6d6d6d);
  --gf-border: rgba(0, 0, 0, 0.06);
  --gf-border-strong: var(--rb-border, #e4ddd6);
  --gf-gold: var(--rb-gold, #c7b197);
  --gf-gold-pale: var(--rb-gold-pale, #f3ebe6);
  --gf-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

#galleryView {
  padding-bottom: 0;
  transition: padding-bottom 0.35s ease;
}

html.gf-peek-active:not(.gf-footer-expanded) #galleryView {
  padding-bottom: calc(var(--footer-collapsed-height, 38px) + env(safe-area-inset-bottom, 0px));
}

/* Stopka nad sticky meta-barem u dołu strony */
html.gf-peek-active .gallery-meta-bar {
  z-index: 2000 !important;
}
html.gf-peek-active .gf-root.is-peek-visible,
html.gf-peek-active .gf-root.is-expanded {
  z-index: 2300;
}
html.gf-peek-active .rb-messenger-widget {
  z-index: 2600;
}

.gf-peek-sentinel {
  height: 1px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  flex-shrink: 0;
  pointer-events: none;
  visibility: hidden;
}

.gf-root {
  position: relative;
  z-index: 2100;
  font-family: Inter, system-ui, sans-serif;
  color: var(--gf-text);
  pointer-events: none;
}

.gf-root.is-peek-visible,
.gf-root.is-expanded {
  pointer-events: auto;
}

.gf-root.gf-hidden-lb,
.rb-messenger-widget.gf-hidden-lb {
  visibility: hidden;
  pointer-events: none;
}

/* Backdrop */
.gf-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2101;
  background: rgba(22, 22, 22, 0.38);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.gf-root.is-expanded .gf-backdrop {
  opacity: 1;
  pointer-events: auto;
  cursor: default;
}

/* ── Teaser (pasek jak na mockupie — logo, CTA, social, rozwijanie) ── */
.gf-teaser {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2103;
  padding: 0 max(14px, env(safe-area-inset-right))
    calc(14px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left));
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.gf-teaser-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px clamp(12px, 2.5vw, 20px);
  max-width: 1100px;
  margin: 0 auto;
  min-height: 58px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(199, 177, 151, 0.45);
  border-radius: 22px;
  box-shadow:
    0 8px 32px rgba(22, 18, 14, 0.1),
    0 2px 8px rgba(199, 177, 151, 0.12);
  box-sizing: border-box;
}

html.gf-peek-active:not(.gf-footer-expanded) .gf-teaser {
  opacity: 1;
  transform: translateY(0);
  pointer-events: none;
}

html.gf-peek-active:not(.gf-footer-expanded) .gf-teaser-bar {
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(199, 177, 151, 0.15);
}

.gf-peek-expand-hit {
  display: none !important;
  pointer-events: none !important;
}

html.gf-peek-active:not(.gf-footer-expanded) .gf-teaser-bar {
  cursor: pointer;
  animation: gf-teaser-pulse 5s ease-in-out infinite;
}
html.gf-peek-active:not(.gf-footer-expanded) .gf-teaser-bar a,
html.gf-peek-active:not(.gf-footer-expanded) .gf-teaser-bar button {
  cursor: pointer;
}

@keyframes gf-teaser-pulse {
  0%, 100% {
    box-shadow:
      0 8px 32px rgba(22, 18, 14, 0.12),
      0 2px 8px rgba(199, 177, 151, 0.14);
  }
  50% {
    box-shadow:
      0 12px 36px rgba(22, 18, 14, 0.14),
      0 4px 16px rgba(199, 177, 151, 0.28);
  }
}

.gf-teaser-logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  justify-self: start;
}
.gf-teaser-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.gf-teaser-logo {
  height: 26px;
  width: auto;
  max-width: 128px;
  display: block;
}
.gf-teaser-tagline,
.gf-panel-head-tagline,
.gf-bottom-tagline {
  font-family: Inter, system-ui, sans-serif;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gf-gold);
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  align-self: center;
  padding-left: 0.28em;
  box-sizing: border-box;
}

.gf-teaser-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  justify-self: stretch;
}

.gf-teaser-cta {
  padding: 9px 14px;
  font-size: 8px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.2s ease, color 0.2s ease;
}
.gf-teaser-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(199, 177, 151, 0.28);
}
.gf-teaser-cta:active {
  transform: scale(1.01);
}

.gf-teaser-cta-arrow {
  margin-left: 4px;
  font-weight: 400;
  display: inline-block;
  transition: transform 0.22s ease;
}
.gf-teaser-cta:hover .gf-teaser-cta-arrow {
  transform: translateX(2px) scale(1.08);
}

.gf-teaser-end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  justify-self: end;
}

.gf-teaser-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gf-teaser-social .social-circle-mini {
  width: 28px;
  height: 28px;
  border-color: var(--gf-gold);
  color: var(--gf-gold);
}

.gf-teaser-social .social-circle-mini svg {
  width: 13px;
  height: 13px;
}

.gf-teaser-divider {
  width: 1px;
  height: 26px;
  background: var(--gf-border-strong);
  flex-shrink: 0;
}

.gf-teaser-expand {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gf-gold);
  color: #fff;
  border: 0;
  box-shadow: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gf-teaser-expand:hover {
  background: #b09d82;
  transform: translateY(-1px);
}

.gf-root.is-expanded .gf-teaser-expand svg {
  transform: rotate(180deg);
}

/* ── Panel rozwinięty (mockup pełnej strony) ── */
.gf-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  height: auto;
  max-height: min(94dvh, calc(100dvh - var(--admin-bar-height, 0px) - env(safe-area-inset-bottom, 0px)));
  z-index: 2102;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--gf-panel-bg);
  isolation: isolate;
  box-shadow: 0 -12px 48px rgba(22, 22, 22, 0.12);
  border-top: 1px solid var(--gf-border-strong);
  border-radius: 18px 18px 0 0;
  transform: translateY(104%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    visibility 0s linear 0.45s;
}

.gf-root.is-expanded .gf-panel {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2104;
  /* Jawna wysokość — inaczej .gf-inner z min-height:0 nie rozszerza panelu (tylko pasek nagłówka) */
  height: min(
    94dvh,
    calc(100dvh - var(--admin-bar-height, 0px) - env(safe-area-inset-bottom, 0px))
  );
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    visibility 0s;
}

.gf-root.is-expanded .gf-teaser {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  z-index: 2102;
}

.gf-root.gf-instant .gf-panel,
.gf-root.gf-instant .gf-backdrop,
.gf-root.gf-instant .gf-teaser {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .gf-panel,
  .gf-teaser,
  .gf-backdrop {
    transition-duration: 0.01ms !important;
  }
  html.gf-peek-active:not(.gf-footer-expanded) .gf-teaser-bar {
    animation: none !important;
  }
}

.gf-panel-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px 12px;
  box-sizing: border-box;
  border-bottom: none;
  background: transparent;
}

.gf-panel-head-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
  flex-shrink: 0;
}
.gf-panel-head-logo {
  height: 34px;
  width: auto;
  max-width: 140px;
  display: block;
  filter: brightness(0) saturate(100%) invert(78%) sepia(18%) saturate(480%)
    hue-rotate(352deg) brightness(96%) contrast(88%);
}

.gf-panel-close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(30, 26, 23, 0.22);
  border-radius: 50%;
  background: transparent;
  color: rgba(30, 26, 23, 0.5);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}
.gf-panel-close:hover {
  color: var(--gf-gold);
  background: rgba(199, 177, 151, 0.1);
}

.gf-inner {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 8px 32px 12px;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

/* Beżowy pasek przewijania — tylko gdy treść nie mieści się (auto, nie scroll) */
.gf-root.is-expanded .gf-inner {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gf-gold, #c7b197) rgba(199, 177, 151, 0.28);
}
.gf-root.is-expanded .gf-inner::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  -webkit-appearance: none;
}
.gf-root.is-expanded .gf-inner::-webkit-scrollbar-track {
  background: rgba(199, 177, 151, 0.22);
  border-radius: 4px;
}
.gf-root.is-expanded .gf-inner::-webkit-scrollbar-thumb {
  background: var(--gf-gold, #c7b197);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  min-height: 40px;
}
.gf-root.is-expanded .gf-inner::-webkit-scrollbar-thumb:hover {
  background: #b09d82;
}

@media (min-width: 641px) {
  .gf-scrollbar-rail {
    display: none !important;
  }
}

.gf-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 400;
  line-height: 1.22;
  margin: 0 0 10px;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.gf-heading-kicker {
  font-family: inherit;
  font-style: normal;
  font-weight: 600;
  color: inherit;
  text-transform: uppercase;
  letter-spacing: inherit;
}
.gf-heading em {
  color: var(--gf-gold);
  font-family: Lora, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  display: inline;
  font-size: 1em;
}

.gf-subheading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 4px;
  color: #1a1a1a;
}

.gf-lead,
.gf-muted {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gf-muted);
  margin: 0;
}

.gf-cta-icon {
  color: var(--gf-gold);
  margin-bottom: 6px;
  display: flex;
  justify-content: center;
}

.gf-cta-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px 28px;
  margin: 0 0 0;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--gf-border);
  align-items: center;
}
.gf-cta-center {
  text-align: center;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  justify-self: stretch;
}
.gf-cta-col:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gf-cta-ig {
  display: none !important;
}

.gf-btn-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}

.gf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.gf-btn-solid {
  background: var(--gf-gold);
  color: #fff;
}
.gf-btn-solid:hover { background: #b09d82; }
.gf-btn-outline {
  border: 1px solid var(--gf-gold);
  color: var(--gf-gold);
  background: transparent;
}
.gf-btn-outline:hover {
  background: rgba(199, 177, 151, 0.08);
  border-color: #b09d82;
}

.gf-ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 8px 0 6px;
}
.gf-ig-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 1px;
  background: #f5f5f5;
  border: 1px solid var(--gf-border);
}
.gf-ig-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gf-ig-handle {
  color: var(--gf-gold);
  text-decoration: none;
  font-size: 11px;
}
.gf-ig-sub { margin-top: 2px; font-size: 10px; }

.gf-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px clamp(12px, 2vw, 20px);
  padding: 16px 0;
  margin: 0;
  border-bottom: 1px solid var(--gf-border);
}
.gf-value {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  text-align: left;
}
.gf-value > div {
  flex: 1;
  min-width: 0;
}
.gf-value-ico {
  color: var(--gf-gold, #c7b197);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.gf-value-ico svg {
  color: var(--gf-gold, #c7b197);
  stroke: var(--gf-gold, #c7b197);
}
.gf-value-ico svg path,
.gf-value-ico svg circle,
.gf-value-ico svg polyline,
.gf-value-ico svg polygon {
  stroke: currentColor;
}
.gf-value strong {
  display: block;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
  color: #1a1a1a;
}
.gf-value span {
  font-size: 11px;
  line-height: 1.35;
  color: var(--gf-muted);
}

.gf-testimonials {
  margin: 16px 0 12px;
  border: 1px solid rgba(199, 177, 151, 0.35);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.gf-testimonials-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 16px;
  background: var(--gf-gold-pale, #f3ebe6);
  border-bottom: 1px solid rgba(199, 177, 151, 0.28);
  box-sizing: border-box;
  text-align: center;
}
.gf-testimonials-body {
  padding: 14px 8px 10px;
}
.gf-testimonials-title {
  display: inline-block;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gf-gold);
  padding-right: 0.14em;
}
.gf-testimonials-title::after {
  content: "♥";
  display: block;
  margin: 6px auto 0;
  width: 1em;
  font-size: 9px;
  line-height: 1;
  color: var(--gf-gold);
  font-weight: 400;
  text-align: center;
}

.gf-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gf-carousel-track {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.gf-carousel-arrow {
  width: 34px;
  height: 34px;
  min-height: 0;
  flex-shrink: 0;
  border: 1px solid rgba(199, 177, 151, 0.45);
  border-radius: 50%;
  background: var(--gf-gold-pale, #f3ebe6);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  color: var(--gf-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.gf-carousel-arrow:hover {
  background: rgba(199, 177, 151, 0.22);
  border-color: var(--gf-gold);
  transform: scale(1.04);
}

.gf-testimonial-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(199, 177, 151, 0.35);
  padding: 14px 12px 12px;
  text-align: center;
  border-radius: 2px;
  min-height: 100%;
  box-sizing: border-box;
}
.gf-testimonial-stars {
  color: var(--gf-gold);
  font-size: 10px;
  letter-spacing: 0.14em;
  margin: 0 0 10px;
  line-height: 1;
}
.gf-quote-mark {
  display: none;
}
.gf-testimonial-text,
.gf-testimonial-full {
  font-size: 11px;
  line-height: 1.55;
  color: rgba(30, 26, 23, 0.75);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gf-testimonial-card.is-open .gf-testimonial-text,
.gf-testimonial-card.is-open .gf-testimonial-full {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.gf-testimonial-author {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 10px;
  font-style: italic;
  color: var(--gf-gold);
  margin: 8px 0 0;
  letter-spacing: 0.02em;
}
.gf-read-more {
  background: none;
  border: 0;
  color: var(--gf-gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  margin: 0 0 2px;
}
.gf-read-more:hover {
  text-decoration: underline;
}

.gf-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.gf-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid var(--gf-gold);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.gf-dot.is-active {
  width: 18px;
  border-radius: 3px;
  background: var(--gf-gold);
}

.gf-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 0;
  padding: 10px 0 6px;
  margin-top: 0;
  border-top: 1px solid var(--gf-border);
}
.gf-bottom-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  align-self: stretch;
}
.gf-bottom-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
}
.gf-bottom-brand img {
  height: 34px;
  width: auto;
  max-width: 150px;
  display: block;
  filter: brightness(0) saturate(100%) invert(78%) sepia(18%) saturate(480%)
    hue-rotate(352deg) brightness(96%) contrast(88%);
}
.gf-bottom-contact {
  display: contents;
  font-size: 10px;
  line-height: 1.2;
  color: rgba(30, 26, 23, 0.78);
  letter-spacing: 0.05em;
}
.gf-bottom-contact .gf-contact-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.gf-bottom-contact svg {
  width: 13px;
  height: 13px;
  color: var(--gf-gold);
  flex-shrink: 0;
}
.gf-contact-phone {
  letter-spacing: 0.22em;
  font-variant-numeric: tabular-nums;
  font-size: 1.05em;
}
.gf-contact-email {
  letter-spacing: 0.06em;
}
.gf-contact-place span {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95em;
}

.gf-bottom-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
  width: max-content;
  min-width: 8.75rem;
  max-width: 100%;
}
.gf-bottom-nav-link {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 7px;
  align-items: center;
  justify-items: start;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(30, 26, 23, 0.82);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.gf-bottom-nav-ico {
  width: 22px;
  height: 22px;
  border-color: var(--gf-gold);
  color: var(--gf-gold);
  background: #fff;
  justify-self: center;
}
.gf-bottom-nav-ico svg {
  width: 9px;
  height: 9px;
  display: block;
}
.gf-bottom-nav-label {
  letter-spacing: 0.16em;
}
.gf-bottom-nav-link:hover {
  color: var(--gf-gold);
}
.gf-bottom-nav-link:hover .gf-bottom-nav-ico {
  border-color: #b09d82;
  color: #b09d82;
  background: rgba(199, 177, 151, 0.1);
}

.gf-copyright {
  text-align: center;
  font-size: 8px;
  color: rgba(30, 26, 23, 0.42);
  margin: 4px 0 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gf-credit {
  text-align: center;
  font-size: 8px;
  color: rgba(30, 26, 23, 0.38);
  margin: 4px 0 0;
  letter-spacing: 0.06em;
}
.gf-credit a {
  color: rgba(30, 26, 23, 0.52);
  text-decoration: none;
  transition: color 0.2s ease;
}
.gf-credit a:hover {
  color: var(--gf-gold);
}

/* Instagram strip — wewnątrz .gf-inner (scroll), ukryty gdy brak zdjęć */
.gf-instagram-section {
  width: 100%;
  background: transparent;
  padding: 8px 0 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: none;
  box-sizing: border-box;
}
.gf-instagram-section:has(.gf-instagram-grid:empty) {
  display: none;
  padding: 0;
  margin: 0;
}
.gf-instagram-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.gf-instagram-grid-wrap {
  position: relative;
  width: 100%;
}
.gf-instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 10px);
  width: 100%;
}
.gf-instagram-grid:empty {
  display: none;
}
.gf-instagram-grid:empty ~ .gf-gallery-strip-badge {
  display: none;
}
.gf-instagram-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  background: #f0ebe6;
  text-decoration: none;
}
.gf-instagram-item.is-template {
  background: linear-gradient(145deg, #ebe3db 0%, #d8cfc4 100%);
}
.gf-instagram-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.gf-instagram-item:hover > img {
  transform: scale(1.05);
  opacity: 0.95;
}
.gf-gallery-strip-mark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 5px 4px 4px;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 14, 10, 0.42) 100%);
  pointer-events: none;
}
.gf-gallery-strip-mark img {
  height: clamp(7px, 1.4vw, 11px);
  width: auto;
  max-width: 92%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.gf-gallery-strip-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid rgba(30, 26, 23, 0.08);
  box-shadow: 0 2px 10px rgba(22, 18, 14, 0.08);
  pointer-events: none;
}
.gf-gallery-strip-badge img {
  height: clamp(11px, 1.6vw, 16px);
  width: auto;
  display: block;
}
.gf-panel > .gf-copyright,
.gf-panel > .gf-credit {
  flex-shrink: 0;
  padding: 0 24px 8px;
}

/* ── Przewiń do góry — tylko desktop (≥769px), lewa strona ── */
.rb-scroll-top {
  display: none !important;
}
@media (min-width: 769px) {
  .rb-scroll-top {
    display: block !important;
    position: fixed;
    left: max(14px, env(safe-area-inset-left));
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 2590;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition:
      opacity 0.35s ease,
      transform 0.35s ease,
      visibility 0s linear 0.35s,
      bottom 0.35s ease;
  }
  .rb-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition:
      opacity 0.35s ease,
      transform 0.35s ease,
      visibility 0s,
      bottom 0.35s ease;
  }
  html.gf-peek-active:not(.gf-footer-expanded) .rb-scroll-top.is-visible {
    bottom: calc(
      env(safe-area-inset-bottom, 0px) + 14px + var(--gf-teaser-bar-height, 56px) / 2 - 24px
    );
  }
  .rb-scroll-top-fab {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gf-gold);
    color: #fff;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(30, 26, 23, 0.12);
    transition: transform 0.2s, background 0.2s;
  }
  .rb-scroll-top-fab:hover {
    transform: translateY(-2px);
    background: #b09d82;
  }
  .rb-scroll-top.gf-hidden-lb {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* ── Messenger widget (nad .gallery-meta-bar z-index: 2200) ── */
.rb-messenger-widget {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 2600;
  transition: bottom 0.35s ease, opacity 0.35s ease;
}

html.gf-peek-active:not(.gf-footer-expanded) .rb-messenger-widget {
  bottom: calc(
    env(safe-area-inset-bottom, 0px) + 14px + var(--gf-teaser-bar-height, 56px) / 2 - 24px
  );
}

.mw-fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gf-gold);
  color: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}
.mw-fab:hover {
  transform: translateY(-2px);
  background: #b09d82;
}
html.gf-peek-active:not(.gf-footer-expanded) .mw-fab {
  animation: mw-fab-pulse 4.5s ease-in-out infinite;
}
@keyframes mw-fab-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(199, 177, 151, 0); transform: scale(1); }
  50% { box-shadow: 0 0 0 7px rgba(199, 177, 151, 0.22); transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  html.gf-peek-active:not(.gf-footer-expanded) .mw-fab {
    animation: none;
  }
}
.gf-teaser-social .social-circle-mini {
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.gf-teaser-social .social-circle-mini:hover {
  transform: scale(1.08);
  background: rgba(199, 177, 151, 0.12);
}

.mw-popup {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(300px, calc(100vw - 28px));
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.14));
}
.mw-popup::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: -6px;
  border: 6px solid transparent;
  border-top-color: #fff;
}

.mw-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--gf-border);
  overflow: hidden;
  display: flex;
}
.mw-cover {
  width: 92px;
  min-height: 118px;
  object-fit: cover;
  flex-shrink: 0;
}
.mw-body {
  padding: 12px;
  flex: 1;
  position: relative;
}
.mw-close {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  padding: 0;
}
.mw-close:hover {
  color: #1e1a17;
  background: #fff;
}
.mw-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 13px;
  margin: 0 0 4px;
  padding-right: 16px;
  line-height: 1.25;
}
.mw-sub {
  font-size: 10px;
  color: var(--gf-muted);
  margin: 0 0 10px;
  line-height: 1.35;
}
.mw-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: var(--gf-gold);
  color: #fff;
  text-decoration: none;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 10px;
  border-radius: 20px;
  box-sizing: border-box;
}

.stats-range-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff;
  border: 1px solid var(--gf-gold, #c7b197);
  color: var(--gf-gold, #c7b197);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.stats-range-btn:hover,
.stats-range-btn.active {
  background: #f3ebe6;
}
.stats-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gf-gold, #c7b197);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.stats-close-btn:hover {
  background: #b09d82;
}
.stats-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}

.admin-stats-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  align-items: start;
}

.stats-kpi-dashboard {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
}
.stats-kpi-dashboard > .stats-kpi-section-label,
.stats-kpi-dashboard > .admin-stats-kpi-grid,
.stats-kpi-dashboard > .stats-kpi-grid,
.stats-kpi-dashboard > .table-scroll {
  width: 100%;
}

.admin-stats-kpi {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(199, 177, 151, 0.25);
  border-radius: 6px;
  padding: 12px 10px;
  text-align: center;
  align-self: start;
}
.admin-stats-kpi-val {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.admin-stats-kpi-label {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.stats-kpi-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 8px;
}
.stats-kpi-section-label--spaced { margin-top: 14px; }
.admin-stats-kpi-grid--pair {
  grid-template-columns: repeat(2, 1fr);
  max-width: 360px;
}

.admin-stats-modal.modal-box--wide {
  max-width: min(560px, 96vw);
}

.admin-stats-modal .stats-kpi-section-label {
  color: rgba(232, 216, 195, 0.88);
}
.admin-stats-modal .stats-kpi-section-label .hint {
  color: rgba(232, 216, 195, 0.55);
}
.admin-stats-modal .admin-stats-kpi {
  background: #f8f6f3;
  border-color: #e4ddd6;
}
.admin-stats-modal .admin-stats-kpi-val {
  color: #9a7348;
}
.admin-stats-modal .admin-stats-kpi-label {
  color: #5c534c;
}
.admin-stats-modal .table-scroll {
  margin-top: 6px;
  border: 1px solid rgba(199, 177, 151, 0.22);
  border-radius: 8px;
  overflow: auto;
  max-height: 220px;
  background: rgba(0, 0, 0, 0.18);
}
.admin-stats-modal .stats-actions-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-stats-modal .stats-actions-table th {
  color: rgba(232, 216, 195, 0.72);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(199, 177, 151, 0.28);
  background: rgba(0, 0, 0, 0.12);
}
.admin-stats-modal .stats-actions-table td {
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-stats-modal .stats-actions-table tbody tr:last-child td {
  border-bottom: none;
}
.admin-stats-modal .stats-actions-table td.num {
  color: #d4b896;
  font-weight: 600;
}
.stats-actions-table {
  width: 100%;
  font-size: 12px;
}
.stats-actions-table th,
.stats-actions-table td {
  padding: 7px 8px;
}
.stats-actions-table td.num {
  text-align: right;
  white-space: nowrap;
  width: 56px;
  font-variant-numeric: tabular-nums;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .gf-cta-grid {
    grid-template-columns: 1fr;
  }
  .gf-cta-center {
    text-align: center;
    align-items: center;
    padding-left: 12px;
    padding-right: 12px;
  }
  .gf-cta-icon {
    justify-content: center;
  }
  .gf-btn-row {
    margin-left: auto;
    margin-right: auto;
  }
  .gf-cta-ig {
    grid-column: auto;
  }
  .gf-values { grid-template-columns: 1fr 1fr; }
  .gf-carousel-track { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 641px) {
  .gf-bottom {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    width: 100%;
    padding-top: 12px;
    padding-bottom: 4px;
  }
  .gf-bottom-logo {
    flex: 0 0 auto;
  }
  .gf-bottom-brand {
    align-items: flex-start;
  }
  .gf-bottom-contact {
    display: contents;
  }
  .gf-bottom-contact .gf-contact-item {
    flex: 0 0 auto;
    justify-content: flex-start;
  }
  .gf-bottom-nav {
    flex: 0 0 auto;
  }
  .gf-cta-grid {
    align-items: start;
  }
}

@media (min-width: 961px) {
  .gf-cta-grid {
    align-items: center;
  }
  .gf-cta-col:first-child {
    padding-top: 0;
    margin-top: -6px;
  }
}

@media (max-width: 900px) {
  .gf-teaser-bar {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 10px 12px;
    padding: 8px 12px;
  }
  .gf-teaser-logo-wrap {
    grid-column: 1;
    grid-row: 1;
  }
  .gf-teaser-end {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .gf-teaser-ctas {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: stretch;
  }
  .gf-teaser-cta {
    flex: 1 1 0;
    justify-content: center;
    padding: 8px 10px;
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gf-teaser-cta,
  .gf-teaser-cta-arrow,
  .gf-teaser-social .social-circle-mini {
    transition: none;
  }
  .gf-teaser-cta:hover,
  .gf-teaser-social .social-circle-mini:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .gf-value-ico,
  .gf-value-ico svg {
    color: var(--gf-gold, #c7b197);
    stroke: var(--gf-gold, #c7b197);
  }
  .rb-messenger-widget {
    display: none !important;
  }
  .gf-teaser-logo { height: 22px; max-width: 100px; }
  .gf-teaser-tagline { font-size: 6px; letter-spacing: 0.22em; }
  .gf-teaser-cta .gf-teaser-cta-arrow { display: none; }
  .gf-panel-head {
    padding: 12px 16px 8px;
    align-items: center;
  }
  .gf-panel-head-brand {
    align-items: flex-start;
  }
  /* Mobile: własny beżowy pasek scrolla (zawsze widoczny) — iOS nie pokazuje natywnego */
  .gf-root.is-expanded .gf-inner-wrap {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
  .gf-root.is-expanded .gf-inner-wrap .gf-inner {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    padding: 12px 20px 10px 16px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .gf-root.is-expanded .gf-inner-wrap .gf-inner::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
  .gf-scrollbar-rail {
    display: block;
    position: absolute;
    top: 6px;
    right: 6px;
    bottom: 6px;
    width: 7px;
    border-radius: 4px;
    background: rgba(199, 177, 151, 0.28);
    pointer-events: none;
    z-index: 6;
  }
  .gf-scrollbar-rail.is-hidden {
    display: none;
  }
  .gf-scrollbar-thumb {
    position: absolute;
    left: 0;
    width: 100%;
    top: 0;
    min-height: 40px;
    border-radius: 4px;
    background: var(--gf-gold, #c7b197);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-sizing: border-box;
    will-change: transform;
  }
  .gf-cta-grid,
  .gf-values,
  .gf-carousel-track { grid-template-columns: 1fr; }
  .gf-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "logo logo"
      "nav contact";
    gap: 14px 10px;
    align-items: stretch;
    padding-top: 14px;
    padding-bottom: 10px;
    justify-content: initial;
  }
  .gf-bottom-contact {
    display: flex;
  }
  .gf-bottom-logo {
    grid-area: logo;
    justify-self: stretch;
    justify-content: center;
  }
  .gf-bottom-brand {
    align-items: center;
  }
  .gf-bottom-nav {
    grid-area: nav;
    justify-self: start;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 100%;
  }
  .gf-bottom-contact {
    display: flex;
    grid-area: contact;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    align-content: center;
    justify-content: center;
    justify-self: end;
    align-self: stretch;
    min-height: 100%;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    margin-left: auto;
    padding-left: 0;
    padding-right: 2px;
    box-sizing: border-box;
    gap: 8px;
    font-size: 9px;
  }
  .gf-bottom-contact .gf-contact-item {
    justify-content: flex-start;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
    gap: 8px;
  }
  .gf-bottom-contact .gf-contact-email {
    white-space: normal;
    text-align: left;
    word-break: break-word;
  }
  .gf-bottom-contact svg {
    width: 12px;
    height: 12px;
  }
  .gf-contact-phone {
    letter-spacing: 0.12em;
    font-size: 1em;
  }
  .gf-contact-place span {
    font-size: 1em;
  }
  .gf-instagram-container {
    padding: 0 16px;
  }
  .gf-instagram-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .gf-gallery-strip-badge {
    padding: 5px 12px;
  }
  .mw-card { flex-direction: column; }
  .mw-cover { width: 100%; height: 96px; min-height: 0; }
}
