:root {
  /* tło: bardzo delikatny krem (prawie białe) */
  --bg: #fdfbf8;

  /* tekst */
  --text: #121214;
  --muted: #6b6b73;

  /* linie i jasne powierzchnie */
  --line: #e9e2db;
  --soft: #f6efe8;
  /* jasny krem do segmentów/sekcji */
  --card: #ffffff;

  /* akcent z logo (bordo) */
  --brand: #8e1f1f;
  --brandSoft: #f3e3df;
  /* delikatny “rozbielony” pod akcent */

  --shadow: 0 14px 40px rgba(18, 18, 20, .08);
  --radius: 18px;
  --nav-offset: 84px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-offset)
}

section[id] {
  scroll-margin-top: var(--nav-offset)
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(142, 31, 31, .08), transparent),
    radial-gradient(900px 420px at 85% 10%, rgba(192, 90, 84, .06), transparent),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.logo {
  height: 75px;
  width: auto;
}

a {
  color: inherit;
  text-decoration: none
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto
}

.muted {
  color: var(--muted)
}

.small {
  font-size: .85rem
}

.tiny {
  font-size: .78rem
}

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .22);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.top__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0
}

.brand {
  font-weight: 900;
  letter-spacing: .2px
}

.brand span {
  color: var(--brand)
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 1rem;
  align-items: center
}

.nav a {
  color: var(--muted)
}

.nav a:hover {
  color: var(--text)
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.05rem;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-weight: 800;
  border: 1px solid rgba(0, 0, 0, .06);
  cursor: pointer;
  transition: all .15s ease;
}

.btn:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0px);
  filter: brightness(0.92);
}

.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line)
}

.btn--small {
  padding: .55rem .8rem
}

.btn--full {
  width: 100%
}

.orderBtn {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: .7rem .9rem;
  cursor: pointer;
  display: flex;
  gap: .6rem;
  align-items: center;
  box-shadow: 0 6px 18px rgba(16, 24, 40, .06);
}

.orderBtn span {
  min-width: 26px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--brandSoft);
  color: var(--brand);
  border: 1px solid rgba(46, 144, 250, .25);
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1rem;
  padding: 2.4rem 0 1.2rem;
  align-items: start;
}

.eyebrow {
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  margin: 0 0 .7rem;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: .1rem 0 .7rem;
  letter-spacing: -.02em;
}

h1 span {
  background: linear-gradient(90deg, #8e1f1f, #c05a54);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 62ch
}

.hero__cta {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.1rem
}

.badges {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: 1.2rem
}

.badge {
  padding: .45rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
  color: var(--muted);
}

.hero__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.heroCard__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline
}

.miniList {
  display: grid;
  gap: .85rem;
  margin: 1rem 0
}

.miniItem {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: .8rem;
  align-items: center
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ddd;
  background: var(--brand);
}

.price {
  font-weight: 900;
  color: var(--text)
}

.controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 0 .5rem;
}

.seg {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 999px;
  padding: .35rem;
}

.seg__btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: .55rem .85rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.seg__btn.is-active {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(16, 24, 40, .06);
}

.search {
  flex: 1
}

.search input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  padding: .8rem .95rem;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(16, 24, 40, .04);
}

.catalog {
  padding: 1.2rem 0 2rem
}

.catalog__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap
}

h2 {
  margin: 0;
  font-size: 1.9rem;
  letter-spacing: -.01em
}

.acc details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 10px 26px rgba(16, 24, 40, .04);
  margin: .8rem 0;
  overflow: hidden;
}

.acc summary {
  cursor: pointer;
  padding: 1rem 1rem;
  font-weight: 900;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.acc summary::-webkit-details-marker {
  display: none
}

.acc .accCount {
  color: var(--muted);
  font-weight: 800;
}

.acc details>div {
  padding: 0 1rem 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .06);
  display: flex;
  flex-direction: column;
}

.thumb {
  height: 160px;
  background:
    radial-gradient(240px 120px at 25% 30%, rgba(46, 144, 250, .20), transparent),
    radial-gradient(240px 120px at 80% 25%, rgba(34, 197, 94, .16), transparent),
    var(--soft);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1rem;
}

.thumb--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.thumb--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(16, 24, 40, .35),
      rgba(16, 24, 40, .05));
}

.thumb--photo .pTag {
  position: relative;
  z-index: 1;
  color: rgba(16, 24, 40, .85);
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .9);
}

.pTag {
  padding: .35rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .70);
  color: var(--muted);
  font-weight: 800;
  font-size: .85rem;
}

.cardBody {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.titleRow {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start
}

.titleRow strong {
  font-weight: 900
}

.sub {
  margin: .25rem 0 .75rem;
  color: var(--muted)
}

.metaRow {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin: .1rem 0 .9rem
}

.pill {
  padding: .3rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: .85rem;
}

.buyRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .7rem;
  margin-top: auto;
  padding-top: .75rem;
}

.price2 {
  font-weight: 900
}

.add {
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--text);
  padding: .65rem .85rem;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 900;
}

.how {
  padding: 1rem 0 2.6rem
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem
}

.howCard {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .05);
}

.note {
  margin-top: 1rem;
  border: 1px solid rgba(46, 144, 250, .25);
  background: var(--brandSoft);
  border-radius: var(--radius);
  padding: 1rem;
}

.faq {
  padding: 2rem 0 3rem
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

details {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .04);
}

summary {
  cursor: pointer;
  font-weight: 900
}

details p {
  color: var(--muted);
  margin: .6rem 0 0
}

.panel {
  position: fixed;
  top: 0;
  right: -520px;
  width: min(520px, 94vw);
  height: 100%;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(16, 24, 40, .10);
  transition: right .25s ease;
  z-index: 120;
  display: flex;
  flex-direction: column;
}

.panel.is-open {
  right: 0
}

.panel__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem .9rem;
  border-bottom: 1px solid var(--line);
}

.x {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  padding: .45rem .65rem;
  cursor: pointer;
}

.panel__meta {
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.field {
  display: grid;
  gap: .35rem
}

.field--full {
  grid-column: 1 / -1
}

.field span {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800
}

.field input,
.field select {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  padding: .75rem .85rem;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(16, 24, 40, .04);
  appearance: none;
}

.timeRow {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.timeRow select {
  flex: 1;
}

.timeSep {
  font-weight: 700;
  color: var(--muted);
  font-size: 1.1rem;
}

.panel__items {
  padding: 0 1rem 1rem;
  overflow: auto;
  flex: 1;
  display: grid;
  gap: .8rem;
}

.lineItem {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  padding: .85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .04);
}

.qty {
  display: flex;
  gap: .4rem;
  align-items: center
}

.qty button {
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--text);
  border-radius: 12px;
  padding: .25rem .6rem;
  cursor: pointer;
}

.panel__bottom {
  padding: 1rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
}

.totalRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: .3rem 0 .8rem
}

.btnRow {
  display: flex;
  gap: .6rem
}

.linkBtn {
  margin-top: .7rem;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.warn {
  margin-top: .45rem;
  padding: .55rem .7rem;
  border-radius: 12px;
  border: 1px solid #ffd0cc;
  background: #fff1f0;
  color: #b42318;
  font-weight: 700;
  font-size: .86rem;
  display: none;
}

.warn.is-show {
  display: block;
}

.toTop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}

.toTop.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.toTop:hover {
  filter: brightness(.9);
  transform: translateY(-2px);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
  background: rgba(255, 255, 255, .7)
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap
}

.fbGallery {
  margin-top: 1.2rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .70);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.fbHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}

.fbHead h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}

.fbLink {
  color: var(--muted);
  font-weight: 800;
}

.fbLink:hover {
  color: var(--text);
}

.fbGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}

.fbCard {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .06);
}

.fbImg {
  height: 120px;
  background: var(--soft);
  background-size: cover;
  background-position: center;
}

.fbBody {
  padding: .75rem;
  display: grid;
  gap: .35rem;
}

.fbText {
  font-size: .9rem;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fbMeta {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 700;
}

.fbCard--hidden {
  display: none !important;
}

.fbToggle {
  display: block;
  margin: .85rem auto 0;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--brand);
  font-weight: 800;
  padding: .6rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease;
}

.fbToggle:hover {
  background: var(--soft);
}

.hero.hero--wide {
  grid-template-columns: 1fr;
}

.popSection {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.popSection .hero__card {
  width: 100%;
}

@media (max-width: 900px) {
  .fbGrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .fbGrid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: .75rem;
    padding-bottom: .5rem;
    scrollbar-width: none;
  }

  .fbGrid::-webkit-scrollbar {
    display: none;
  }

  .fbGrid .fbCard {
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }

  .fbGrid .fbCard--hidden {
    display: flex !important;
  }

  .fbToggle {
    display: none;
  }

  .fbImg {
    height: 160px;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none
  }

  .hero {
    grid-template-columns: 1fr
  }

  .how__grid {
    grid-template-columns: 1fr
  }

  .faq__grid {
    grid-template-columns: 1fr
  }

  .grid {
    grid-template-columns: 1fr;
    gap: .8rem
  }

  .thumb {
    height: 120px
  }

  .sub {
    max-height: 2.8em;
    overflow: hidden;
    cursor: pointer;
    font-size: .82rem;
    transition: max-height .35s ease;
    position: relative;
  }

  .sub::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.2em;
    background: linear-gradient(to bottom, transparent, var(--card));
    pointer-events: none;
    transition: opacity .25s ease;
  }

  .sub.is-expanded {
    max-height: 600px;
  }

  .sub.is-expanded::after {
    opacity: 0;
  }
}

@media (max-width: 720px) {
  .controls {
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
  }

  .seg {
    width: 100%;
    justify-content: center;
  }

  .search {
    width: 100%;
  }

  .search input {
    width: 100%;
  }
}