/* ============================================
   COOKIE CONSENT BANNER
   Spójne z resztą serwisu: navy + gold,
   Montserrat (UI) / Cormorant (nagłówek).
   ============================================ */

.cookie-banner {
  position: fixed;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 9000;
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(30, 34, 56, 0.97);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(196, 169, 107, 0.32);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.4rem 1.6rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.4rem;
  font-family: 'Montserrat', sans-serif;
  --gold: var(--gold-bright, #f7e08b);
  transform: translateY(140%);
  opacity: 0;
  visibility: hidden;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1),
              opacity .35s ease,
              visibility .35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner-body {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.cookie-banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .03em;
  color: var(--white, #fff);
  line-height: 1.2;
}

.cookie-banner-text {
  font-size: .78rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  letter-spacing: .01em;
}

.cookie-banner-text a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 224, 139, 0.4);
  transition: border-color .2s ease, color .2s ease;
}
.cookie-banner-text a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.cookie-banner-actions {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .95rem 1.4rem;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
  white-space: nowrap;
}
.cookie-btn:active { transform: translateY(1px); }

.cookie-btn--primary {
  background: var(--gold);
  color: #1e2238;
  border-color: var(--gold);
}
.cookie-btn--primary:hover {
  background: #fff;
  border-color: #fff;
}

.cookie-btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(196, 169, 107, 0.45);
}
.cookie-btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================
   FLOATING SETTINGS BUTTON
   (po zamknięciu banera można wrócić do ustawień)
   ============================================ */

.cookie-fab {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 8500;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(196, 169, 107, 0.5);
  background: rgba(30, 34, 56, 0.85);
  color: var(--gold-bright, #f7e08b);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  transition: transform .2s ease, background .25s ease, border-color .25s ease;
}
.cookie-fab.is-visible { display: flex; }
.cookie-fab:hover {
  transform: translateY(-2px);
  background: rgba(30, 34, 56, 1);
  border-color: var(--gold-bright, #f7e08b);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 820px) {
  .cookie-banner {
    grid-template-columns: 1fr;
    padding: 1.2rem 1.2rem 1.3rem;
    gap: 1rem;
    left: .7rem;
    right: .7rem;
    bottom: .7rem;
  }
  .cookie-banner-actions {
    justify-content: stretch;
  }
  .cookie-banner-actions .cookie-btn {
    flex: 1 1 auto;
    text-align: center;
    padding: .9rem 1rem;
  }
  .cookie-banner-title { font-size: 1.2rem; }
  .cookie-banner-text { font-size: .74rem; }
}

@media (max-width: 460px) {
  .cookie-banner-actions { flex-direction: column; }
  .cookie-banner-actions .cookie-btn { width: 100%; }
}

/* ============================================
   POLITYKA PRYWATNOŚCI / COOKIES — strona
   ============================================ */

.policy-page {
  background: var(--cream, #F5F0E8);
  color: var(--navy, #2E3352);
  min-height: 100vh;
}

.policy-main {
  background: var(--cream, #F5F0E8);
}

.policy-main .section-inner {
  max-width: 920px;
}

.policy-intro {
  margin-top: 1.6rem;
  font-size: .95rem;
  line-height: 1.85;
  color: rgba(46, 51, 82, 0.82);
  max-width: 760px;
}

.policy-meta {
  margin-top: 1.2rem;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(46, 51, 82, 0.55);
  font-weight: 800;
}

.policy-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(46, 51, 82, 0.12);
}
.policy-section:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 2.4rem;
}

.policy-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--navy);
  line-height: 1.2;
}

.policy-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 1.8rem;
  color: var(--navy);
}

.policy-section p,
.policy-section li {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: .88rem;
  line-height: 1.85;
  color: rgba(46, 51, 82, 0.82);
}

.policy-section p { margin-top: 1rem; }

.policy-section ul {
  margin-top: 1rem;
  padding-left: 1.25rem;
}
.policy-section ul li {
  margin-top: .55rem;
}
.policy-section ul li::marker {
  color: var(--gold-base, #C4A96B);
}

.policy-section a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-base, #C4A96B);
  transition: color .2s ease, border-color .2s ease;
}
.policy-section a:hover {
  color: var(--gold-base, #C4A96B);
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.4rem;
  background: #fff;
  border: 1px solid rgba(46, 51, 82, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  font-size: .82rem;
}
.policy-table th,
.policy-table td {
  text-align: left;
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(46, 51, 82, 0.08);
  vertical-align: top;
  font-family: 'Montserrat', sans-serif;
  color: rgba(46, 51, 82, 0.85);
  line-height: 1.55;
}
.policy-table th {
  background: rgba(46, 51, 82, 0.04);
  font-weight: 800;
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(46, 51, 82, 0.7);
}
.policy-table tr:last-child td { border-bottom: none; }

.policy-cta {
  margin-top: 2.4rem;
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
}
.policy-cta-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .95rem 1.5rem;
  cursor: pointer;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
  display: inline-block;
}
.policy-cta-btn:hover {
  background: transparent;
  color: var(--navy);
}
.policy-cta-btn--ghost {
  background: transparent;
  color: var(--navy);
}
.policy-cta-btn--ghost:hover {
  background: var(--navy);
  color: #fff;
}

@media (max-width: 680px) {
  .policy-section h2 { font-size: 1.55rem; }
  .policy-section p, .policy-section li { font-size: .82rem; }
  .policy-table { font-size: .76rem; }
  .policy-table th, .policy-table td { padding: .7rem .8rem; }
}
