:root {
  --bg: #f4f8f8;
  --surface: #ffffff;
  --text: #15201f;
  --muted: #4a5c5a;
  --accent: #0d7d72;
  --accent-dark: #065a52;
  --accent-soft: #c5ebe6;
  --danger-soft: #fef2f0;
  --shadow: 0 14px 40px rgba(15, 40, 35, 0.08);
  --radius: 14px;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --wrap: min(1140px, 92vw);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

a {
  color: var(--accent-dark);
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13, 125, 114, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--accent-dark);
}

.btn-nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(160deg, #12a894, var(--accent));
  box-shadow: 0 6px 18px rgba(13, 125, 114, 0.35);
}

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

@media (max-width: 640px) {
  .btn-nav-cta {
    padding-inline: 0.75rem;
    font-size: 0.82rem;
  }
}

/* Hero banner */
.banner-hero {
  position: relative;
  min-height: min(72vh, 720px);
  overflow: hidden;
}

.banner-hero .banner-img {
  width: 100%;
  height: min(72vh, 720px);
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 35, 32, 0.82) 0%, rgba(10, 35, 32, 0.35) 55%, transparent 95%);
  display: flex;
  align-items: center;
}

.banner-content {
  max-width: 34rem;
  color: #f0fcf9;
  padding-block: 2rem;
}

.eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.9;
  margin: 0 0 0.5rem;
}

.banner-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
  letter-spacing: -0.03em;
}

.lede {
  font-size: 1.05rem;
  opacity: 0.95;
  margin: 0 0 1.25rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
}

.price-row.big .price-old {
  font-size: 1.1rem;
}

.price-row.big .price-now {
  font-size: 2.25rem;
}

.price-old {
  text-decoration: line-through;
  opacity: 0.75;
}

.price-now {
  font-weight: 700;
  font-size: 1.85rem;
  color: var(--accent-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(160deg, #12a894, var(--accent));
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 125, 114, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 125, 114, 0.4);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  border: 1px solid rgba(13, 125, 114, 0.45);
  background: transparent;
  color: var(--accent-dark);
  font-weight: 600;
}

.btn-outline:hover {
  background: rgba(13, 125, 114, 0.08);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.25);
}

.section {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.section-title.serif {
  font-family: var(--font-serif);
}

.features .grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid rgba(13, 125, 114, 0.1);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.muted.small {
  font-size: 0.9rem;
}

.muted.tiny {
  font-size: 0.8rem;
  margin-top: 0.75rem;
}

.shop {
  background: linear-gradient(180deg, transparent, rgba(13, 125, 114, 0.05));
}

.shop-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.promo-chip {
  background: var(--danger-soft);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 125, 114, 0.2);
}

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

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

.gallery-main {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e8eeed;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-top: 0.65rem;
}

@media (max-width: 560px) {
  .gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-thumbs .thumb {
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--surface);
}

.gallery-thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs .thumb.is-active {
  border-color: var(--accent);
}

.gallery-thumbs .thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.card-elevated {
  background: var(--surface);
  border-radius: calc(var(--radius) + 2px);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(13, 125, 114, 0.12);
  position: sticky;
  top: 5rem;
}

.stock-line {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 0.85rem;
}

.stock-line .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.product-name {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.checklist {
  margin: 1.25rem 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.checklist li {
  margin-bottom: 0.4rem;
}

/* Mid banner */
.banner-mid {
  position: relative;
  overflow: hidden;
}

.banner-mid .banner-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}

.banner-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 1.25rem;
  background: linear-gradient(0deg, rgba(8, 28, 26, 0.88), transparent);
  width: var(--wrap);
}

.banner-strip p {
  margin: 0;
  color: #eafaf7;
  max-width: 42rem;
  font-size: 0.98rem;
}

@media (max-width: 720px) {
  .banner-mid .banner-img {
    max-height: 280px;
  }

  .banner-strip {
    position: relative;
    background: var(--accent-dark);
    width: auto;
    margin-inline: 0;
    padding: 1rem;
  }

  .banner-strip p {
    max-width: none;
  }
}

.article-editorial-section {
  background: linear-gradient(
    180deg,
    rgba(13, 125, 114, 0.07),
    rgba(244, 248, 248, 0.4)
  );
}

.article-prose {
  max-width: 46rem;
  margin-inline: auto;
}

.article-prose h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 1.35rem 0 0.5rem;
  color: var(--text);
}

.article-prose p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.6;
}

.article-prose .article-lead {
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}

.article-prose p + p {
  margin-top: 0.85rem;
}

.article-prose .article-note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(13, 125, 114, 0.12);
}

.article-editorial-section--soft {
  background: linear-gradient(
    180deg,
    rgba(244, 248, 248, 0.9),
    rgba(13, 125, 114, 0.05)
  );
}

.article-prose--long h2.section-title {
  margin-bottom: 1.1rem;
}

.article-prose--long h3 {
  margin-top: 1.6rem;
}

.article-prose--long h3:first-of-type {
  margin-top: 1.25rem;
}

.article-prose .wellness-inline-figure {
  margin: 0.35rem auto 1.1rem;
  max-width: min(300px, 88vw);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(13, 125, 114, 0.12);
  box-shadow: 0 8px 24px rgba(15, 40, 35, 0.06);
}

.article-prose .wellness-inline-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.article-prose .wellness-inline-figure--landscape {
  max-width: min(520px, 92vw);
}

.article-prose--long .wellness-disclaimer {
  margin-top: 0.65rem;
  line-height: 1.55;
}

.blog-section {
  background: var(--surface);
}

.blog-intro {
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 2rem;
}

.blog-post {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(13, 125, 114, 0.12);
}

.blog-post:last-of-type {
  border-bottom: none;
}

.blog-post h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
}

.blog-post p {
  margin: 0;
  color: var(--muted);
}

.contact.footer-cta {
  padding-bottom: 3rem;
}

.site-footer {
  border-top: 1px solid rgba(13, 125, 114, 0.12);
  padding: 1.25rem 0;
  background: #eef5f4;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--accent-dark);
}

/* Formularz zamówienia */
.order-section {
  background: linear-gradient(180deg, rgba(13, 125, 114, 0.06), var(--surface));
}

.order-intro {
  max-width: 40rem;
  margin: 0 0 1.5rem;
}

.order-form {
  position: relative;
  max-width: min(460px, 100%);
  margin: 0;
  padding: clamp(1.35rem, 4vw, 1.85rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.form-field input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(13, 125, 114, 0.25);
  font: inherit;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 125, 114, 0.15);
}

.form-field input:user-invalid:not(:placeholder-shown) {
  border-color: #c24141;
}

.field-error {
  min-height: 1.35rem;
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: #b91c1c;
}

.field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.order-form .order-submit-note {
  margin-top: -0.25rem;
}

.success-banner {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(13, 125, 114, 0.35);
  color: var(--accent-dark);
  font-weight: 600;
}

.success-banner:not([hidden]) {
  display: block;
}

.success-banner[hidden] {
  display: none;
}

.use-guide {
  background: linear-gradient(180deg, rgba(13, 125, 114, 0.04), transparent);
}

.use-guide-intro {
  max-width: 46rem;
  margin: 0 0 clamp(2rem, 5vw, 2.75rem);
  color: var(--muted);
  font-size: 1rem;
}

.use-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

@media (max-width: 880px) {
  .use-block,
  .use-block.use-block--reverse {
    grid-template-columns: 1fr;
  }
}

.use-block--reverse .use-block__figure {
  order: 2;
}

.use-block--reverse .use-block__body {
  order: 1;
}

@media (max-width: 880px) {
  .use-block--reverse .use-block__figure,
  .use-block--reverse .use-block__body {
    order: unset;
  }
}

.use-block__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #e8eeed;
  aspect-ratio: 4 / 5;
}

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

.use-block .card {
  height: 100%;
  margin: 0;
}

.use-block__badge {
  margin: 0 0 0.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}

.use-block__body h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
}

.use-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.use-list li {
  margin-bottom: 0.55rem;
}

.use-list strong {
  color: var(--text);
}

.use-guide-footnote {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(13, 125, 114, 0.12);
  max-width: 52rem;
}

/* Polityki prawne */
.legal-section {
  background: linear-gradient(180deg, rgba(238, 245, 244, 0.65), transparent);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.legal-section--alt {
  background: linear-gradient(180deg, transparent, rgba(197, 235, 230, 0.12));
}

.legal-card {
  max-width: 52rem;
  margin-inline: auto;
}

.legal-card .section-title {
  margin-bottom: 0.35rem;
}

.legal-updated {
  margin: 0 0 1.25rem;
}

.legal-h3 {
  font-size: 1rem;
  margin: 1.35rem 0 0.45rem;
  color: var(--text);
  font-weight: 600;
}

.legal-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.legal-list li {
  margin-bottom: 0.65rem;
}

.legal-list strong {
  color: var(--text);
}

.legal-card code {
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: rgba(13, 125, 114, 0.08);
}

.nav-legal {
  color: var(--accent-dark);
}

.nav-legal:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .header-inner .nav {
    row-gap: 0.35rem;
  }
}

/* Baner cookies */
html.has-cookie-banner body {
  padding-bottom: clamp(5.75rem, 22vw, 8rem);
}

.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  padding: 0.85rem 0 calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(13, 125, 114, 0.18);
  box-shadow: 0 -8px 32px rgba(15, 40, 35, 0.09);
}

.cookie-consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent-copy {
  flex: 1 1 16rem;
}

.cookie-consent-title {
  margin: 0 0 0.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.cookie-consent-desc {
  margin: 0;
  max-width: 42rem;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.cookie-consent-actions .btn {
  font-size: 0.92rem;
  padding: 0.55rem 1.1rem;
}
