/* ═══════════════════════════════════════════════════════════
   Oferta świąteczna: pasek z przewijanym napisem (wszystkie strony)
   i plakietka na stronie głównej. Po sezonie: usuń <link> i znacznik
   paska z każdej strony (szukaj „swieta-bar”).
   ═══════════════════════════════════════════════════════════ */
:root {
  --bar-h: 48px; --xmas: #B8323F; --xmas-deep: #7E1F2A; --gold: #F3D9A4;
  /* złote ikonki świąteczne (maski SVG) */
  --ic-tree: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l4.5 6.5h-2.6l4.6 6.2h-3l4.5 6.3H4l4.5-6.3h-3l4.6-6.2H7.5z'/%3E%3Crect x='10.5' y='20' width='3' height='3'/%3E%3C/svg%3E");
  --ic-bauble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='9.5' y='3' width='5' height='3.5' rx='.8'/%3E%3Ccircle cx='12' cy='14.5' r='8'/%3E%3C/svg%3E");
  --ic-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l3.1 6.6 7.2.9-5.3 5 1.4 7.1L12 17.6l-6.4 3.5 1.4-7.1-5.3-5 7.2-.9z'/%3E%3C/svg%3E");
  --ic-gift: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11h7.5v11H3zM13.5 11H21v11h-7.5zM2 6.5h8.5V10H2zM13.5 6.5H22V10h-8.5zM12 6c-2-4-6-4-6-1.5S10 6 12 6c2 0 6 1 6-1.5S14 2 12 6z'/%3E%3C/svg%3E");
  --ic-snow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17L20.7 7M9 3.5l3 2.5 3-2.5M9 20.5l3-2.5 3 2.5'/%3E%3C/svg%3E");
}

/* Pasek pod menu: bordo + złoty śnieg + girlanda lampek */
.swieta-bar {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 190; height: var(--bar-h);
  display: flex; align-items: center; overflow: hidden; text-decoration: none;
  color: #F6EBDD; font-family: 'Switzer', 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(1.2px 1.2px at 8% 30%, rgba(243,217,164,.75) 50%, transparent 51%),
    radial-gradient(1px 1px at 23% 70%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 41% 25%, rgba(243,217,164,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 65%, rgba(255,255,255,.65) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 82% 35%, rgba(243,217,164,.7) 50%, transparent 51%),
    linear-gradient(90deg, #5E1520, var(--xmas) 30%, #C23B48 50%, var(--xmas) 70%, #5E1520);
  background-size: 260px 100%, 260px 100%, 260px 100%, 260px 100%, 260px 100%, 100% 100%;
  border-top: 1px solid rgba(243,217,164,.55);
  border-bottom: 1px solid rgba(243,217,164,.55);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
/* girlanda: drucik + lampki w 4 kolorach, migające na zmianę */
.swieta-bar:hover .sb-track { animation-play-state: paused; }
.sb-track { display: flex; width: max-content; animation: sbMarquee 46s linear infinite; }
/* mocniejszy szeryfowy krój (Fraunces 500), jak w nagłówkach strony */
.sb-track span {
  display: inline-flex; align-items: center; gap: 1.5rem; padding: 0 1.5rem;
  font-family: 'Fraunces', Georgia, serif; font-variation-settings: "opsz" 36, "SOFT" 50;
  font-size: 1.04rem; font-weight: 500; letter-spacing: .005em; white-space: nowrap;
  text-shadow: 0 1px 2px rgba(60,10,16,.45);
}
.sb-track span b { font-style: italic; font-weight: 500; color: var(--gold); }
.sb-track span::after {
  content: ''; width: 19px; height: 19px; flex-shrink: 0; background: var(--gold);
  -webkit-mask: var(--ic-snow) center / contain no-repeat; mask: var(--ic-snow) center / contain no-repeat;
  filter: drop-shadow(0 0 4px rgba(243,217,164,.6));
}
.sb-track span:nth-child(4n+1)::after { -webkit-mask-image: var(--ic-tree); mask-image: var(--ic-tree); }
.sb-track span:nth-child(4n+2)::after { -webkit-mask-image: var(--ic-star); mask-image: var(--ic-star); }
.sb-track span:nth-child(4n+3)::after { -webkit-mask-image: var(--ic-gift); mask-image: var(--ic-gift); }
.sb-cta {
  position: absolute; right: 0; top: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: .45rem;
  padding: 0 1.2rem 0 2.6rem; font-family: 'Fraunces', Georgia, serif; font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  background: linear-gradient(90deg, transparent, #5E1520 35%); color: var(--gold);
}
.sb-cta::before {
  content: ''; width: 15px; height: 15px; background: var(--gold);
  -webkit-mask: var(--ic-gift) center / contain no-repeat; mask: var(--ic-gift) center / contain no-repeat;
}
@keyframes sbMarquee { to { transform: translateX(-50%); } }

/* pasek leży pod menu – treść strony przesuwamy o jego wysokość */
body.has-swieta-bar { padding-top: var(--bar-h); }
body.has-swieta-bar .mobile-nav { top: var(--nav-h); z-index: 205; }
body.has-swieta-bar section[id], body.has-swieta-bar footer[id] { scroll-margin-top: calc(var(--nav-h) + var(--bar-h)); }

/* ── Plakietka na stronie głównej ── */
.xmas-card-sec { padding: 0 0 5rem; background: var(--bg); }
.xmas-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; min-height: 380px;
  border-radius: 6px; color: #F6EBDD; text-decoration: none;
  background: radial-gradient(70% 90% at 0% 0%, #9A2734 0%, var(--xmas-deep) 55%, #4A1219 100%);
  border: 1px solid rgba(201,165,107,.65);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  transition: transform .35s, box-shadow .35s;
}
.xmas-card:hover { transform: translateY(-4px); box-shadow: 0 40px 90px rgba(0,0,0,.55); }
.xmas-card::before { /* delikatny śnieg */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 68%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 44% 14%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 82%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 8% 88%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 36% 40%, #fff 50%, transparent 51%);
  animation: xmasSnow 14s linear infinite;
}
@keyframes xmasSnow { from { background-position: 0 -380px; } to { background-position: 0 380px; } }
.xc-text { position: relative; z-index: 1; padding: 3rem 3.25rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.xc-kicker { display: inline-flex; align-items: center; gap: .6rem; font-family: 'Fraunces', Georgia, serif; font-style: italic; color: #F3D9A4; font-size: 1.05rem; margin-bottom: .6rem; }
.xc-kicker i { font-style: normal; font-family: 'Switzer', sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .28rem .65rem; border-radius: 999px; background: #F3D9A4; color: var(--xmas-deep); }
.xc-title { font-family: 'Fraunces', Georgia, serif; font-variation-settings: "opsz" 144, "SOFT" 70; font-weight: 300; font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.02; letter-spacing: -.015em; }
.xc-title em { font-style: italic; color: #F3D9A4; }
.xc-dishes { margin: 1.3rem 0 1.6rem; color: rgba(246,235,221,.86); max-width: 44ch; line-height: 1.7; }
.xc-row { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.xc-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .95rem 1.7rem; border-radius: 3px; background: #F3D9A4; color: var(--xmas-deep); font-weight: 700; font-size: .92rem; letter-spacing: .02em; }
.xc-deadline { font-size: .85rem; color: rgba(246,235,221,.82); }
.xc-deadline b { color: #F3D9A4; }
.xc-photo { position: relative; }
.xc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xc-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #6E1A24 0%, rgba(110,26,36,0) 40%); }

@media (max-width: 810px) {
  :root { --bar-h: 42px; }
  .sb-track span { font-size: .95rem; gap: 1.1rem; padding: 0 1.1rem; }
  .sb-cta { display: none; }
  .xmas-card { grid-template-columns: 1fr; }
  .xc-photo { height: 220px; order: -1; }
  .xc-photo::after { background: linear-gradient(to top, #6E1A24 0%, rgba(110,26,36,0) 55%); }
  .xc-text { padding: 2rem 1.5rem 2.25rem; }
  .xc-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .sb-track { animation: none; }
  .xmas-card::before { animation: none; }
}
