:root {
  --green: #194734;
  --green-deep: #0F3D2E;
  --cream: #FFF8EB;
  --linen: #FAF8F2;
  --moss: #4D5A54;
}

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

[hidden] {
  display: none !important;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Mulish", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--green);
  background: #FFFFFF;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green);
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid #C8892F;
  outline-offset: 3px;
}

.strip {
  background: var(--green-deep);
  color: #FFF;
  display: flex;
  justify-content: space-around;
  gap: 20px;
  padding: 12px 20px;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.strip p {
  margin: 0;
}

/* góra */
.kopfzone {
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
}

.kopfzone-logo img {
  width: 230px;
}

.kopfzone-nav {
  display: flex;
  gap: 28px;
  margin: 0 auto;
}

.kopfzone-nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .9375rem;
  letter-spacing: .03em;
  padding: 6px 0;
}

.kopfzone-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.kopfzone-cart {
  position: relative;
  display: inline-block;
  padding: 6px;
}

.kopfzone-count {
  position: absolute;
  top: -2px;
  left: 19px;
  font-size: 1rem;
  font-weight: 400;
}

.kopfzone-menu {
  display: none;
  background: none;
  border: 1px solid var(--green);
  color: var(--green);
  font: 700 .875rem/1 "Mulish", Arial, sans-serif;
  text-transform: uppercase;
  padding: 12px 14px;
  cursor: pointer;
}

/* otwarcie */
.opening {
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  align-items: center;
  min-height: 590px;
  background: #FFF;
  overflow: hidden;
}

.opening-text {
  padding: 40px 30px 40px max(20px, calc((100vw - 980px) / 2));
  text-align: center;
  position: relative;
  z-index: 1;
}

.opening-kicker {
  font-size: 1rem;
  margin-bottom: 10px;
}

.opening h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.05;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.opening-stroke {
  width: 70%;
  margin: 0 auto 26px;
  display: block;
}

.opening-text p {
  font-size: 1.125rem;
}

.opening-btns {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.openingPhoto {
  position: relative;
  height: 100%;
  min-width: 0;
}

.openingPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.openingPhoto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0) 45%);
}

.btn-solid,
.btn-frame {
  display: inline-block;
  font: 700 .9375rem/1 Arial, "Helvetica Neue", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 7px 10px;
  cursor: pointer;
}

.btn-solid {
  background: var(--green);
  color: #FFF;
  border: 2px solid var(--green);
}

.btn-solid-wide {
  padding: 12px 44px;
}

.btn-frame {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  padding: 5px 16px;
}

.btn-solid:hover {
  background: var(--green-deep);
}

/* po co */
.whyBlock {
  max-width: 980px;
  margin: 0 auto;
  padding: 50px 20px 76px;
  text-align: center;
}

.font_5 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(24px, 2.4vw, 30px);
  color: var(--green-deep);
}

.font_2 {
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: .02em;
  line-height: 1.05;
}

.whyLead {
  max-width: 660px;
  margin: 0 auto 50px;
  font-weight: 700;
}

.whyCols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px;
}

.whyCol {
  border-top: 2px solid var(--green);
  padding-top: 18px;
  text-align: left;
}

.whyCol svg {
  margin: 0 auto 16px;
}

.whyCol h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: .03em;
}

/* pierwszy raz */
.firstBlock {
  background: var(--cream);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.firstText {
  padding: 60px 40px 60px max(20px, calc((100vw - 980px) / 2));
}

.firstKicker {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  letter-spacing: .1em;
  margin-bottom: 6px;
}

.firstPhoto {
  min-width: 0;
  height: 100%;
}

.firstPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* nie wiesz */
.unsureBlock {
  background: var(--linen);
  padding: 50px 20px 70px;
  text-align: center;
}

.unsureTitle {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.5rem;
}

.unsureSub {
  font-size: 1.125rem;
  margin-bottom: 24px;
}

.unsureCards {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.unsureCard {
  background: #FFF;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 20px;
  text-decoration: none;
  text-align: center;
  transition: box-shadow .25s;
}

.unsureCard:hover {
  box-shadow: 0 6px 20px rgba(15, 61, 46, .12);
}

.unsureCard span {
  flex: 1;
}

.unsureCard b {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.125rem;
  margin-bottom: 14px;
}

/* warsztaty */
.shop {
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.shopGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.wareItem {
  position: relative;
  min-width: 0;
}

.wareItem img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.wareBadge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #FFF;
  font-size: .8125rem;
  padding: 2px 12px;
}

.wareName {
  font-weight: 400;
  font-size: 1rem;
  margin: 18px 0 6px;
}

.warePrice {
  margin: 0 0 12px;
}

.wareBtn {
  width: 100%;
  background: #F2EFE8;
  border: 0;
  color: var(--green);
  font: 400 1rem/1 "Mulish", Arial, sans-serif;
  padding: 12px;
  cursor: pointer;
  transition: background .2s;
}

.wareBtn:hover,
.wareBtn.is-picked {
  background: var(--green);
  color: #FFF;
}

.shopNote {
  margin-top: 30px;
  max-width: 720px;
  color: var(--moss);
}

/* jedna faktura */
.tableSplit {
  background: var(--linen);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.tableSplitText {
  padding: 60px 40px 60px max(20px, calc((100vw - 980px) / 2));
}

.tableSplitPhoto {
  min-width: 0;
  height: 100%;
}

.tableSplitPhoto img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

/* trzy linijki z faktury */
.linijki {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 20px 10px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 50px;
  align-items: center;
}

.linijkiPhoto {
  min-width: 0;
}

.linijkiPhoto img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.linijkiList {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: linijka;
}

.linijkiList li {
  counter-increment: linijka;
  position: relative;
  padding: 14px 0 14px 46px;
  border-top: 1px solid #E4E0D6;
}

.linijkiList li::before {
  content: counter(linijka);
  position: absolute;
  left: 0;
  top: 14px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-weight: 600;
  display: grid;
  place-items: center;
  font-size: 15px;
}

/* czego nie */
.not-here {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 20px 30px;
}

.not-here li {
  margin-bottom: 10px;
}

/* faq */
.faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 20px;
}

.faqItem {
  border-top: 1px solid var(--green);
}

.faqItem:last-child {
  border-bottom: 1px solid var(--green);
}

.faqItem summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 40px 16px 0;
  font-weight: 700;
  position: relative;
}

.faqItem summary::-webkit-details-marker {
  display: none;
}

.faqItem summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
  transition: transform .2s;
}

.faqItem[open] summary::after {
  transform: rotate(-135deg);
  top: 27px;
}

/* formularz */
.signupSection {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 20px 80px;
}

.signupRow {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.signupRow label {
  font-weight: 700;
  font-size: .9375rem;
}

.signupRow input,
.signupRow select {
  font: inherit;
  font-size: 1rem;
  color: var(--green-deep);
  padding: 11px 12px;
  border: 1px solid #9FB0A7;
  background: #FFF;
}

.signupRow [aria-invalid="true"] {
  border-color: #A12A1E;
}

.hp-zone {
  position: absolute;
  left: -9999px;
  width: 1px;
  overflow: hidden;
}

.signupAgree {
  display: block;
  font-size: .9375rem;
  margin: 10px 0;
}

.signupInfo {
  min-height: 26px;
  font-weight: 700;
}

.signupInfo.is-error {
  color: #A12A1E;
}

.signupForm.is-wait button[type="submit"] {
  opacity: .6;
  pointer-events: none;
}

.signupDone {
  display: none;
  background: var(--cream);
  padding: 20px 24px;
}

.signupDone:target,
.signupSection.is-sent .signupDone {
  display: block;
}

.signupSection.is-sent .signupForm {
  display: none;
}

/* paski z ikonami */
.icons-strip {
  background: var(--linen);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 16px 30px;
}

.icons-strip p {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .9375rem;
  line-height: 1.3;
}

/* dół */
.pageFooter {
  background: var(--green-deep);
  color: #E9EFE9;
  padding: 50px 20px 30px;
}

.pageFooter a {
  color: #FFF;
}

.footer-cols {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  gap: 30px;
}

.footer-cols img {
  width: 230px;
  filter: brightness(0) invert(1);
}

.footer-cols > div:last-child a,
.footer-cookies {
  display: block;
  padding: 3px 0;
}

.footer-head {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-cookies {
  background: none;
  border: 0;
  color: #FFF;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.footer-copy {
  text-align: center;
  font-size: .875rem;
  margin: 30px 0 0;
}

/* cookies */
.cookie-card {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 40;
  max-width: 340px;
  background: #FFF;
  border: 2px solid var(--green);
  padding: 18px;
  font-size: .9375rem;
}

.cookie-card p {
  margin-top: 0;
}

.cookie-card-opt {
  display: block;
  margin-bottom: 10px;
}

.cookie-card-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-card-btns button {
  font: 700 .8125rem/1 Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 2px solid var(--green);
  background: var(--green);
  color: #FFF;
  cursor: pointer;
}

.cookie-card-btns button[data-c="settings"] {
  background: #FFF;
  color: var(--green);
}

/* strony środkowe */
.inner-head {
  background: var(--cream);
  text-align: center;
  padding: 60px 20px 40px;
}

.inner-head .path {
  font-size: .875rem;
  margin-bottom: 14px;
}

.inner-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 50px 20px 80px;
}

.inner-body h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.875rem;
  margin-top: 40px;
}

.inner-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 26px;
}

.inner-photo {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  margin: 26px 0;
}

.legal-ol {
  padding-left: 22px;
}

.legal-ol li {
  margin-bottom: 12px;
}

.legal-ol a {
  display: inline-block;
  padding: 3px 0;
}

@media (max-width: 749px) {
  .strip {
    flex-direction: column;
    gap: 2px;
    text-align: center;
    font-size: .75rem;
  }

  .kopfzone {
    gap: 14px;
    flex-wrap: wrap;
  }

  .kopfzone-logo img {
    width: 170px;
  }

  .kopfzone-cart {
    margin-left: auto;
  }

  .kopfzone-menu {
    display: block;
  }

  .kopfzone-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    order: 5;
  }

  .kopfzone-nav.is-open {
    display: flex;
  }

  .kopfzone-nav a {
    padding: 12px 0;
    border-top: 1px solid #E4E0D6;
  }

  .opening,
  .firstBlock,
  .tableSplit,
  .linijki {
    grid-template-columns: minmax(0, 1fr);
  }

  .linijki {
    padding-top: 50px;
    gap: 26px;
  }

  .openingPhoto {
    order: -1;
    height: 260px;
  }

  .openingPhoto::before {
    background: linear-gradient(0deg, #FFF 0%, rgba(255, 255, 255, 0) 40%);
  }

  .opening-text,
  .firstText,
  .tableSplitText {
    padding: 30px 20px;
  }

  .whyCols,
  .unsureCards {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .shopGrid,
  .icons-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .cookie-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
