:root {
  color-scheme: light;
  --ink: #0b0b0b;
  --paper: #f4f1e8;
  --white: #ffffff;
  --cyan: #20c5d8;
  --cyan-dark: #087d8a;
  --red: #e43d24;
  --muted: #67655f;
  --line: #0b0b0b;
  --shadow: 6px 6px 0 var(--ink);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--cyan-dark);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  background: var(--white);
  font-weight: 800;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.header-inner,
.section-nav-inner,
.site-main,
.footer-inner {
  width: min(calc(100% - 32px), var(--content));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  object-fit: cover;
}

.coupon-banner {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0;
  padding: 8px 12px;
  border: 2px solid var(--ink);
  background: var(--cyan);
  box-shadow: 3px 3px 0 var(--ink);
  line-height: 1;
  transform: rotate(-1deg);
}

.coupon-banner span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.coupon-banner strong {
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.section-nav {
  border-top: 2px solid var(--ink);
  background: var(--ink);
}

.section-nav-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 48px;
  padding: 11px 18px;
  border: 0;
  border-right: 1px solid #484848;
  border-radius: 0;
  background: transparent;
  color: #bdbdbd;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none; /* Wyłącza podkreślenie dla <a> */
  cursor: pointer;
}

.nav-tab:first-child {
  border-left: 1px solid #484848;
}

.nav-tab:hover {
  color: var(--white);
}

.nav-tab.is-active {
  background: var(--cyan);
  color: var(--ink);
}

.site-main {
  padding-block: clamp(40px, 7vw, 84px) 96px;
}

.panel[hidden] {
  display: none;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 390px);
  align-items: end;
  gap: 18px 36px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 3px solid var(--ink);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 -8px;
  color: var(--cyan-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h1 {
  margin: 0;
  font-size: clamp(3.2rem, 11vw, 7.4rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.78;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.shop-card {
  position: relative;
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 54px 28px 58px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.shop-card:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

.shop-card img {
  width: auto;
  max-width: min(75%, 280px);
  height: auto;
  max-height: 92px;
  object-fit: contain;
}

.shop-card-dark {
  background: var(--white);
  color: var(--ink);
}

.shop-card-dark .shop-label,
.shop-card-dark .external-link {
  border-color: var(--white);
}

.shop-card-red {
  background: var(--red);
}
.shop-card-green {
  background: rgb(119,173,120);
}
.shop-card-black {
  background: #000;
}
.shop-card-red img {
  filter: brightness(0) invert(1);
}

.shop-label,
.external-link {
  position: absolute;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-label {
  top: 16px;
  left: 16px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--ink);
}

.external-link {
  right: 16px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.external-link svg,
.product-cta svg,
.arrow-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.affiliate-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.affiliate-note a {
  font-weight: 800;
  text-underline-offset: 3px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(140px, 42%) minmax(0, 1fr);
  min-height: 250px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.product-card:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

.product-image {
  display: grid;
  min-width: 0;
  place-items: center;
  padding: 18px;
  border-right: 2px solid var(--ink);
  background: #eff8f7;
}

.product-image img {
  width: 100%;
  height: auto;
  max-height: 210px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px 18px;
}

.product-name {
  font-size: clamp(1.05rem, 2.1vw, 1.32rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-top: 18px;
}

.prices strong {
  color: var(--cyan-dark);
  font-size: 1.18rem;
  font-weight: 950;
}

.prices s {
  color: var(--muted);
  font-size: 0.78rem;
}

.code {
  margin-top: 8px;
  padding: 4px 7px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: var(--cyan);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.social-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
  transition: background-color 120ms ease, color 120ms ease;
}

.social-card:hover {
  background: var(--cyan);
}

.social-icon {
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 2px solid currentColor;
  border-radius: 3px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.social-card > span {
  min-width: 0;
}

.social-card strong,
.social-card small {
  display: block;
}

.social-card strong {
  font-size: 1rem;
  font-weight: 950;
}

.social-card small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-card:hover small {
  color: var(--ink);
}

.site-footer {
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 100px;
  padding-block: 22px;
}

.footer-inner p {
  margin: 0;
  color: #bdbdbd;
  font-size: 0.78rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-inner a {
  font-size: 0.78rem;
  font-weight: 800;
  text-underline-offset: 4px;
}

.legal-main {
  width: min(calc(100% - 32px), 820px);
  margin-inline: auto;
  padding-block: clamp(44px, 8vw, 84px) 96px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-underline-offset: 4px;
}

.legal-back svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.legal-title {
  margin: 0;
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.legal-date {
  margin: 24px 0 46px;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  background: var(--cyan);
  font-size: 0.8rem;
  font-weight: 850;
}

.legal-copy {
  display: grid;
  gap: 38px;
}

.legal-copy section {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.legal-copy h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.legal-copy p,
.legal-copy li {
  color: #33322f;
}

.legal-copy p {
  margin: 0 0 12px;
}

.legal-copy ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-copy li + li {
  margin-top: 8px;
}

.legal-copy a {
  font-weight: 800;
  text-underline-offset: 3px;
}

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

  .product-card {
    min-height: 230px;
  }
}

@media (max-width: 680px) {
  .header-inner {
    gap: 12px;
  }

  .coupon-banner span {
    display: none;
  }

  .section-nav-inner {
    width: 100%;
  }

  .nav-tab {
    min-width: 0;
    flex: 1;
    padding-inline: 8px;
    font-size: 0.78rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow {
    grid-column: auto;
  }

  .section-heading h1 {
    font-size: clamp(3.35rem, 21vw, 5.4rem);
  }

  .shop-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .shop-card {
    min-height: 215px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 450px) {
  .header-inner,
  .site-main,
  .footer-inner,
  .legal-main {
    width: min(calc(100% - 24px), var(--content));
  }

  .brand span {
    font-size: 1rem;
  }

  .coupon-banner {
    padding: 7px 9px;
  }

  .coupon-banner strong {
    font-size: 0.9rem;
  }

  .site-main {
    padding-top: 34px;
  }

  .product-card {
    grid-template-columns: 42% minmax(0, 1fr);
    min-height: 210px;
  }

  .product-image,
  .product-copy {
    padding: 14px;
  }

  .product-name {
    font-size: 1rem;
  }

  .prices {
    margin-top: 12px;
  }

  .prices strong {
    font-size: 1rem;
  }

  .product-cta {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
