/*
 * AMP UI – wspólne komponenty bloga, aktualności i sklepu.
 * Ten sam plik ładujemy w Webflow (Site settings → Custom code) i w WordPressie (motyw/wtyczka),
 * więc wygląd jest identyczny niezależnie od CMS. Wszystkie klasy mają prefiks amp-.
 * Zależności: font Open Sans + zmienne marki --brand-1…6 (są w webflow.css; niżej wartości zapasowe).
 */

:root {
  --amp-brand-1: var(--brand-1, #60ba45);
  --amp-brand-2: var(--brand-2, #fbb826);
  --amp-brand-3: var(--brand-3, #f6821f);
  --amp-brand-4: var(--brand-4, #e0393d);
  --amp-brand-5: var(--brand-5, #953c95);
  --amp-brand-6: var(--brand-6, #009edc);

  --amp-ink: #18181a;
  --amp-ink-2: #5f6064;
  --amp-ink-3: #8a8b90;
  --amp-bg: #ffffff;
  --amp-surface: #f4f4f2;
  --amp-surface-2: #ebebe8;
  --amp-line: rgba(24, 24, 26, 0.1);
  --amp-accent: #0a6fb0; /* ciemniejszy --brand-6, kontrast z białym tekstem > 4.5:1 */
  --amp-accent-hover: #075a90;
  --amp-success: #2f8a3b;
  --amp-underline: #e8553d; /* kreska pod aktywną pozycją menu i tagu */

  --amp-font: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --amp-radius: 1.125rem;
  --amp-radius-lg: 1.75rem;
  --amp-pill: 999px;
  --amp-gutter: clamp(1rem, 0.5rem + 2.5vw, 3rem);
  --amp-max: 76rem;
  --amp-read: 42rem;
  --amp-nav-clear: 10rem; /* odstęp pod pływającą nawigacją Webflow */
  --amp-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --amp-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
}
@media (max-width: 767px) {
  :root { --amp-nav-clear: 7.5rem; }
}

/* ---------- Strona i typografia ---------- */
.amp-page {
  font-family: var(--amp-font);
  color: var(--amp-ink);
  background: var(--amp-bg);
  padding: var(--amp-nav-clear) var(--amp-gutter) clamp(4rem, 8vw, 7rem);
  -webkit-font-smoothing: antialiased;
}
.amp-page *, .amp-page *::before, .amp-page *::after { box-sizing: border-box; }
.amp-wrap { max-width: var(--amp-max); margin: 0 auto; }
.amp-wrap--read { max-width: var(--amp-read); }
.amp-page a { color: inherit; }
.amp-page img { max-width: 100%; display: block; }

.amp-eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--amp-eyebrow, var(--amp-ink-2));
  margin: 0 0 0.75rem;
}
.amp-display {
  font-size: clamp(2.5rem, 1.6rem + 4.5vw, 5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0;
}
.amp-h1 {
  font-size: clamp(2.125rem, 1.5rem + 3vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
}
.amp-h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
.amp-h3 {
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0;
}
.amp-lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.4375rem);
  line-height: 1.45;
  color: var(--amp-ink-2);
  font-weight: 400;
  margin: 1.25rem 0 0;
  max-width: 40rem;
}
.amp-meta { font-size: 0.875rem; color: var(--amp-ink-3); }
.amp-meta > * + *::before { content: "·"; margin: 0 0.5em; }

.amp-hero { padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.amp-hero--center { text-align: center; }
.amp-hero--center .amp-lead { margin-left: auto; margin-right: auto; }
.amp-section { padding-top: clamp(3rem, 6vw, 5rem); }
.amp-section__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }

/* kolory kategorii (ustawiane klasą lub atrybutem style) */
.amp-c-brand-1 { --amp-eyebrow: #3f8f2a; --amp-tint: var(--amp-brand-1); }
.amp-c-brand-2 { --amp-eyebrow: #a86f00; --amp-tint: var(--amp-brand-2); }
.amp-c-brand-3 { --amp-eyebrow: #c45a00; --amp-tint: var(--amp-brand-3); }
.amp-c-brand-4 { --amp-eyebrow: #c22a2e; --amp-tint: var(--amp-brand-4); }
.amp-c-brand-5 { --amp-eyebrow: #8a3489; --amp-tint: var(--amp-brand-5); }
.amp-c-brand-6 { --amp-eyebrow: #0a6fb0; --amp-tint: var(--amp-brand-6); }

/* ---------- Przyciski ---------- */
.amp-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.4rem;
  border: 0;
  border-radius: var(--amp-pill);
  font: 600 1rem/1.2 var(--amp-font);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--amp-ease), color 0.2s var(--amp-ease), transform 0.2s var(--amp-ease), box-shadow 0.2s;
  white-space: nowrap;
}
.amp-btn:active { transform: scale(0.98); }
.amp-btn--primary { background: var(--amp-accent); color: #fff !important; }
.amp-btn--primary:hover { background: var(--amp-accent-hover); }
.amp-btn--dark { background: var(--amp-ink); color: #fff !important; }
.amp-btn--dark:hover { background: #333336; }
.amp-btn--ghost { background: transparent; color: var(--amp-ink); box-shadow: inset 0 0 0 1.5px var(--amp-line); }
.amp-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--amp-ink); }
.amp-btn--block { width: 100%; }
.amp-btn--sm { min-height: 2.25rem; padding: 0.45rem 1rem; font-size: 0.9375rem; }
.amp-btn[disabled], .amp-btn[aria-busy="true"] { opacity: 0.55; cursor: progress; }
.amp-link {
  color: var(--amp-accent) !important;
  text-decoration: none;
  font-weight: 600;
}
.amp-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.amp-link--arrow::after { content: " ›"; }

.amp-page :focus-visible,
.amp-cart :focus-visible,
.amp-menu :focus-visible,
.amp-sitenav :focus-visible {
  outline: 3px solid var(--amp-brand-6);
  outline-offset: 3px;
  border-radius: 0.5rem;
}

/* ---------- Zakładki z przesuwającą się kreską: menu, tagi bloga, filtry sklepu, oś lat ---------- */
.amp-tabs {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
  font-family: var(--amp-font);
}
.amp-tabs--bar {
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.25rem 0 0.7rem;
  margin: 0 0 2.25rem;
  border-bottom: 1px solid var(--amp-line);
}
.amp-tabs--bar::-webkit-scrollbar { display: none; }
.amp-tabs__item {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  border: 0;
  background: none;
  margin: 0;
  padding: 0.3rem 0;
  font: 400 1.0625rem/1.3 var(--amp-font);
  letter-spacing: -0.005em;
  color: var(--amp-ink-3) !important;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s var(--amp-ease);
}
/* niewidoczna, pogrubiona kopia etykiety rezerwuje szerokość – tekst nie skacze po zaznaczeniu */
.amp-tabs__item::after { content: attr(data-label); height: 0; overflow: hidden; visibility: hidden; font-weight: 600; }
.amp-tabs__item:hover { color: var(--amp-ink) !important; }
.amp-tabs__item[aria-current="page"],
.amp-tabs__item[aria-pressed="true"] { color: var(--amp-ink) !important; font-weight: 600; }
.amp-tabs__line {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--amp-underline);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.45s var(--amp-ease), width 0.45s var(--amp-ease), height 0.45s var(--amp-ease), opacity 0.25s;
}
.amp-tabs__line.is-visible { opacity: 1; }
.amp-tabs__line.no-anim { transition: none; }
[data-amp-filter-item][hidden] { display: none !important; }

/* ---------- Blog ---------- */
.amp-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  text-decoration: none;
  background: var(--amp-surface);
  border-radius: var(--amp-radius-lg);
  padding: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  transition: transform 0.35s var(--amp-ease), box-shadow 0.35s var(--amp-ease);
}
.amp-feature:hover { transform: translateY(-3px); box-shadow: var(--amp-shadow); }
.amp-feature__media { border-radius: var(--amp-radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--amp-surface-2); }
.amp-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.amp-feature__body { padding: 0.5rem clamp(0.5rem, 2vw, 2rem) 0.5rem 0; }
.amp-feature__body .amp-h1 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); }
.amp-feature__body .amp-lead { font-size: 1.125rem; margin-top: 1rem; }
.amp-feature__body .amp-meta { display: block; margin-top: 1.5rem; }

.amp-grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.amp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.amp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.amp-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.amp-card__media {
  border-radius: var(--amp-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--amp-surface);
  margin-bottom: 1.125rem;
}
.amp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--amp-ease); }
.amp-card:hover .amp-card__media img { transform: scale(1.035); }
.amp-card .amp-eyebrow { margin-bottom: 0.4rem; }
.amp-card .amp-h3 { margin-bottom: 0.5rem; }
.amp-card__excerpt { color: var(--amp-ink-2); font-size: 1rem; line-height: 1.5; margin: 0 0 0.75rem; }

/* Artykuł */
.amp-article__head { text-align: center; padding: clamp(1rem, 3vw, 2rem) 0 clamp(2rem, 4vw, 3rem); }
.amp-article__head .amp-lead { margin-left: auto; margin-right: auto; }
.amp-article__head .amp-meta { display: block; margin-top: 1.5rem; }
.amp-article__cover { border-radius: var(--amp-radius-lg); overflow: hidden; background: var(--amp-surface); margin: 0 auto clamp(2.5rem, 5vw, 4rem); max-width: 60rem; aspect-ratio: 16 / 9; }
.amp-article__cover img { width: 100%; height: 100%; object-fit: cover; }
.amp-prose { font-size: 1.1875rem; line-height: 1.65; color: #2a2a2d; }
.amp-prose > * { margin: 0 0 1.4em; }
.amp-prose h2 { font-size: 1.75rem; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; color: var(--amp-ink); margin: 2.2em 0 0.7em; }
.amp-prose h3 { font-size: 1.3125rem; font-weight: 700; margin: 1.8em 0 0.6em; color: var(--amp-ink); }
.amp-prose a { color: var(--amp-accent); text-underline-offset: 0.2em; }
.amp-prose blockquote {
  margin: 2em 0;
  padding: 0 0 0 1.5rem;
  border-left: 4px solid var(--amp-tint, var(--amp-brand-3));
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--amp-ink);
}
.amp-prose img, .amp-prose figure { border-radius: var(--amp-radius); }
.amp-prose ul, .amp-prose ol { padding-left: 1.25em; }
.amp-article__foot { border-top: 1px solid var(--amp-line); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Pasek „w sklepie” pod artykułem */
.amp-crosssell {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  background: var(--amp-surface);
  border-radius: var(--amp-radius-lg);
  padding: 1rem 1.5rem 1rem 1rem;
  margin-top: 3rem;
  text-decoration: none;
}
.amp-crosssell__media { aspect-ratio: 1; border-radius: var(--amp-radius); overflow: hidden; background: #fff; }
.amp-crosssell__media img { width: 100%; height: 100%; object-fit: contain; padding: 0.5rem; }
.amp-crosssell .amp-eyebrow { margin-bottom: 0.25rem; }

/* ---------- Aktualności ---------- */
.amp-back {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--amp-ink-2) !important;
  text-decoration: none;
  margin: 0 0 0.75rem;
}
.amp-back:hover { color: var(--amp-ink) !important; }
.amp-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  border-radius: var(--amp-radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, rgba(96, 186, 69, 0.14), rgba(0, 158, 220, 0.14));
}
.amp-banner__dot { width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--amp-brand-4); box-shadow: 0 0 0 0.35rem rgba(224, 57, 61, 0.15); }
.amp-banner .amp-h3 { margin-bottom: 0.25rem; }
.amp-banner p { margin: 0; color: var(--amp-ink-2); line-height: 1.5; }

/* oś lat po lewej + lista wpisów */
.amp-newslayout { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.amp-years {
  position: sticky;
  top: calc(var(--amp-nav-clear) - 1rem);
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1.6rem 0 0 1rem;
}
.amp-years .amp-tabs__item { font-size: 1.25rem; font-variant-numeric: tabular-nums; padding: 0.15rem 0; }
.amp-news { list-style: none; margin: 0; padding: 0; }
.amp-news__month {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--amp-ink-3);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 2rem 0 0.75rem;
  border-bottom: 1px solid var(--amp-line);
}
.amp-news > .amp-news__month:first-child,
.amp-news > [hidden] + .amp-news__month { padding-top: 0; }
.amp-news__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--amp-line);
}
.amp-news__item--text { grid-template-columns: minmax(0, 1fr); }
.amp-news__media { border-radius: var(--amp-radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--amp-surface); }
.amp-news__media img { width: 100%; height: 100%; object-fit: cover; }
.amp-news__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; margin-bottom: 0.4rem; }
.amp-news__top .amp-eyebrow { margin: 0; }
.amp-news__top time { font-size: 0.875rem; color: var(--amp-ink-3); }
.amp-news__item .amp-h3 { margin-bottom: 0.5rem; }
.amp-news__item p { margin: 0 0 0.75rem; color: var(--amp-ink-2); line-height: 1.55; }

/* ---------- Sklep: lista ---------- */
.amp-shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.amp-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--amp-surface);
  border-radius: var(--amp-radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  transition: transform 0.35s var(--amp-ease), box-shadow 0.35s var(--amp-ease);
}
.amp-tile:hover { transform: translateY(-3px); box-shadow: var(--amp-shadow); }
.amp-tile__badge { position: absolute; top: 1.25rem; left: 1.25rem; font-size: 0.8125rem; font-weight: 700; color: var(--amp-eyebrow, #c45a00); }
.amp-tile__media { display: block; aspect-ratio: 1; margin: 1rem 0 1.25rem; }
.amp-tile__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s var(--amp-ease); }
.amp-tile:hover .amp-tile__media img { transform: scale(1.04); }
.amp-tile__name { text-decoration: none; }
.amp-tile__name::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* cały kafel klikalny */
.amp-tile .amp-h3 { margin-bottom: 0.35rem; }
.amp-tile__short { color: var(--amp-ink-2); margin: 0 0 1.25rem; line-height: 1.45; font-size: 0.9688rem; }
.amp-tile__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.amp-tile__foot .amp-btn { position: relative; z-index: 1; } /* nad linkiem kafla */
.amp-price { font-size: 1.0625rem; font-weight: 600; }
.amp-price small { font-weight: 400; color: var(--amp-ink-3); font-size: 0.875rem; }

.amp-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); }
.amp-perk { background: var(--amp-surface); border-radius: var(--amp-radius); padding: 1.5rem; }
.amp-perk__icon { font-size: 1.5rem; line-height: 1; margin-bottom: 0.75rem; }
.amp-perk h3 { font-size: 1.0625rem; margin: 0 0 0.35rem; font-weight: 700; }
.amp-perk p { margin: 0; color: var(--amp-ink-2); font-size: 0.9375rem; line-height: 1.5; }

/* ---------- Sklep: produkt ---------- */
.amp-pdp { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.amp-gallery__main { background: var(--amp-surface); border-radius: var(--amp-radius-lg); aspect-ratio: 1; display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 3.5rem); }
.amp-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.amp-gallery__thumbs { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.amp-gallery__thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 4.5rem;
  aspect-ratio: 1;
  padding: 0.35rem;
  border: 0;
  border-radius: 0.875rem;
  background: var(--amp-surface);
  cursor: pointer;
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow 0.2s;
}
.amp-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.amp-gallery__thumb[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--amp-ink); }

.amp-buybox { position: sticky; top: calc(var(--amp-nav-clear) - 1rem); }
.amp-buybox .amp-h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.amp-buybox .amp-lead { font-size: 1.125rem; margin-top: 0.75rem; }
.amp-buybox__price { font-size: 1.5rem; font-weight: 600; margin: 1.5rem 0; letter-spacing: -0.01em; }
.amp-fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.amp-fieldset legend { font-weight: 700; font-size: 0.9375rem; margin-bottom: 0.75rem; padding: 0; }
.amp-variants { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.625rem; }
.amp-variant { position: relative; }
.amp-variant input { position: absolute; opacity: 0; pointer-events: none; }
.amp-variant span {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-radius: 0.875rem;
  padding: 0.9rem 1rem;
  box-shadow: inset 0 0 0 1.5px var(--amp-line);
  cursor: pointer;
  transition: box-shadow 0.2s;
  font-weight: 600;
}
.amp-variant span small { font-weight: 400; color: var(--amp-ink-2); }
.amp-variant input:checked + span { box-shadow: inset 0 0 0 2px var(--amp-accent); }
.amp-variant input:focus-visible + span { outline: 3px solid var(--amp-brand-6); outline-offset: 2px; }
.amp-buyrow { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; }
.amp-buyrow .amp-btn--primary { flex: 1; }
.amp-qty { display: inline-flex; align-items: center; border-radius: var(--amp-pill); box-shadow: inset 0 0 0 1.5px var(--amp-line); height: 2.75rem; }
.amp-qty button {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: none;
  width: 2.5rem;
  height: 100%;
  font: 600 1.25rem/1 var(--amp-font);
  cursor: pointer;
  color: var(--amp-ink);
}
.amp-qty output, .amp-qty span { min-width: 1.5rem; text-align: center; font-weight: 600; }
.amp-paynote { font-size: 0.875rem; color: var(--amp-ink-2); line-height: 1.5; margin: 1rem 0 0; }
.amp-paynote strong { color: var(--amp-ink); font-weight: 600; }

.amp-accordion { border-top: 1px solid var(--amp-line); margin-top: 2rem; }
.amp-accordion details { border-bottom: 1px solid var(--amp-line); }
.amp-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.amp-accordion summary::-webkit-details-marker { display: none; }
.amp-accordion summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform 0.25s var(--amp-ease); }
.amp-accordion details[open] summary::after { transform: rotate(45deg); }
.amp-accordion .amp-accordion__body { padding: 0 0 1.25rem; color: var(--amp-ink-2); line-height: 1.6; }
.amp-accordion .amp-accordion__body p { margin: 0 0 0.75rem; }
.amp-specs { width: 100%; border-collapse: collapse; font-size: 0.9688rem; }
.amp-specs th, .amp-specs td { text-align: left; padding: 0.5rem 0; border-bottom: 1px solid var(--amp-line); vertical-align: top; }
.amp-specs th { color: var(--amp-ink); font-weight: 600; width: 40%; padding-right: 1rem; }

/* pasek zakupu na telefonie */
.amp-buybar { display: none; }

/* strony statusu zamówienia */
.amp-status { text-align: center; max-width: 36rem; margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) 0; }
.amp-status__icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.75rem;
  font-size: 2rem;
  color: #fff;
  background: var(--amp-success);
}
.amp-status__icon--muted { background: var(--amp-surface-2); color: var(--amp-ink); }
.amp-status .amp-lead { margin: 1rem auto 2rem; }
.amp-status__actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Pasek nawigacji (układ wg projektu klienta, październik 2026) ---------- */
/* Zastępuje środek pływającego paska Webflow: logo · menu · torba, flagi, kawa. Bez kreski i kapsułek. */
.main_navbar_wrap.amp-navbar {
  padding-right: 0.9rem;
  container-type: inline-size;
  container-name: ampnav;
}
.amp-navbar__logo { flex: none; }
.amp-sitenav { flex: 1; min-width: 0; margin-left: clamp(1rem, 3.5cqi, 3rem); }
.amp-sitenav .amp-tabs { gap: clamp(1rem, 3.4cqi, 2.25rem); }
.amp-sitenav .amp-tabs__item { font-size: clamp(1rem, 0.55rem + 1.3cqi, 1.125rem); }
.amp-navbar__actions { display: flex; align-items: center; gap: clamp(0.45rem, 1.2cqi, 0.65rem); margin-left: auto; flex: none; }
.amp-navbar__actions .amp-iconbtn,
.amp-navbar__actions .language_switch,
.amp-navbar__coffee { width: 2.6rem; height: 2.6rem; padding: 0; flex: none; }
.amp-navbar__actions .amp-iconbtn { box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12); }
.amp-navbar__actions .language_switch { position: static; box-shadow: 0 0 0 3px #fff, 0 1px 8px rgba(0, 0, 0, 0.18); }
.amp-navbar__coffee {
  display: block;
  border-radius: 50%;
  background: url(../images/buycoffee-button-kolo.png) center / contain no-repeat;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s var(--amp-ease);
}
.amp-navbar__coffee:hover { transform: scale(1.1); }
.amp-navbar__actions .amp-sitenav__menu { display: none; }
@container ampnav (max-width: 52rem) {
  .amp-navbar__actions .amp-iconbtn,
  .amp-navbar__actions .language_switch,
  .amp-navbar__coffee { width: 2.4rem; height: 2.4rem; }
}
/* za wąski pasek na cztery pozycje → przycisk menu pełnoekranowego */
@container ampnav (max-width: 37rem) {
  .amp-sitenav .amp-tabs { display: none; }
  .amp-navbar__actions .amp-sitenav__menu { display: inline-grid; }
}
@media (max-width: 479px) {
  .main_navbar_wrap.amp-navbar { padding-right: 0.5rem; }
  .amp-navbar__actions { gap: 0.35rem; }
  .amp-navbar__actions .amp-iconbtn,
  .amp-navbar__actions .language_switch,
  .amp-navbar__coffee { width: 2.15rem; height: 2.15rem; }
  .amp-navbar__actions .language_switch { box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0, 0, 0, 0.18); }
}

.amp-iconbtn {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.375rem;
  height: 2.375rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--amp-ink);
  cursor: pointer;
  transition: transform 0.2s var(--amp-ease), background-color 0.2s;
}
.amp-iconbtn:hover { transform: scale(1.08); }
.amp-iconbtn svg { width: 1.25rem; height: 1.25rem; }
.amp-badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: var(--amp-pill);
  background: var(--amp-brand-4);
  color: #fff;
  font: 700 0.6875rem/1.15rem var(--amp-font);
  text-align: center;
}
.amp-badge[hidden] { display: none; }

/* pełnoekranowe menu (tablet / telefon) */
.amp-menu {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  padding: 6rem var(--amp-gutter) 2rem;
  font-family: var(--amp-font);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--amp-ease), visibility 0.3s;
}
.amp-menu.is-open { opacity: 1; visibility: visible; }
.amp-menu__close { position: absolute; top: 1.5rem; right: var(--amp-gutter); }
.amp-menu ul { list-style: none; margin: 0; padding: 0; }
.amp-menu li { opacity: 0; transform: translateY(-0.5rem); transition: opacity 0.4s var(--amp-ease), transform 0.4s var(--amp-ease); }
.amp-menu.is-open li { opacity: 1; transform: none; }
.amp-menu.is-open li:nth-child(2) { transition-delay: 0.04s; }
.amp-menu.is-open li:nth-child(3) { transition-delay: 0.08s; }
.amp-menu.is-open li:nth-child(4) { transition-delay: 0.12s; }
.amp-menu.is-open li:nth-child(5) { transition-delay: 0.16s; }
.amp-menu a {
  display: block;
  padding: 0.55rem 0;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--amp-ink);
  text-decoration: none;
}
.amp-menu a[aria-current="page"] { color: var(--amp-tint, var(--amp-accent)); }
.amp-menu__lang { margin-top: 2rem; display: flex; gap: 1rem; font-weight: 600; }
.amp-menu__lang a { font-size: 1rem; letter-spacing: 0; padding: 0; color: var(--amp-ink-2); }

/* ---------- Koszyk (torba) ---------- */
.amp-cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3999;
  background: rgba(0, 0, 0, 0.32);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--amp-ease), visibility 0.3s;
}
.amp-cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 4000;
  width: min(26rem, 100vw);
  background: #fff;
  font-family: var(--amp-font);
  color: var(--amp-ink);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s var(--amp-ease), visibility 0.4s;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
}
.amp-cart.is-open { transform: none; visibility: visible; }
.amp-cart.is-open + .amp-cart-backdrop, .amp-cart-backdrop.is-open { opacity: 1; visibility: visible; }
.amp-cart__head { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 1.5rem 1rem; }
.amp-cart__head h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.amp-cart__close { background: var(--amp-surface); }
.amp-cart__body { flex: 1; overflow-y: auto; padding: 0 1.5rem; }
.amp-cart__empty { text-align: center; color: var(--amp-ink-2); padding: 3rem 0; line-height: 1.5; }
.amp-cart__empty .amp-btn { margin-top: 1.25rem; }
.amp-line { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--amp-line); align-items: start; }
.amp-line__media { aspect-ratio: 1; background: var(--amp-surface); border-radius: 0.75rem; overflow: hidden; }
.amp-line__media img { width: 100%; height: 100%; object-fit: contain; padding: 0.3rem; }
.amp-line__name { font-weight: 600; line-height: 1.3; margin: 0.1rem 0 0.2rem; font-size: 0.9688rem; }
.amp-line__variant { font-size: 0.875rem; color: var(--amp-ink-2); margin: 0 0 0.6rem; }
.amp-line .amp-qty { height: 2.125rem; }
.amp-line .amp-qty button { width: 2rem; font-size: 1.05rem; }
.amp-line__price { font-weight: 600; white-space: nowrap; }
.amp-line__remove {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: none;
  color: var(--amp-accent);
  font: 600 0.875rem var(--amp-font);
  cursor: pointer;
  padding: 0.25rem 0;
  margin-left: 0.75rem;
}
.amp-cart__foot { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--amp-line); background: #fff; }
.amp-cart__row { display: flex; justify-content: space-between; margin-bottom: 0.35rem; }
.amp-cart__row--total { font-size: 1.125rem; font-weight: 700; margin: 0.5rem 0 1rem; }
.amp-cart__note { font-size: 0.8125rem; color: var(--amp-ink-2); margin: 0.85rem 0 0; text-align: center; line-height: 1.5; }
.amp-cart__error { color: var(--amp-brand-4); font-size: 0.875rem; margin: 0.75rem 0 0; text-align: center; }

/* okno trybu demo (bez skonfigurowanego Stripe) */
.amp-dialog { border: 0; border-radius: var(--amp-radius-lg); padding: 0; width: min(34rem, calc(100vw - 2rem)); font-family: var(--amp-font); color: var(--amp-ink); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); }
.amp-dialog::backdrop { background: rgba(0, 0, 0, 0.35); }
.amp-dialog__body { padding: 1.75rem; }
.amp-dialog h2 { margin: 0 0 0.5rem; font-size: 1.375rem; letter-spacing: -0.02em; }
.amp-dialog p { margin: 0 0 1rem; color: var(--amp-ink-2); line-height: 1.5; }
.amp-dialog pre { background: var(--amp-surface); border-radius: 0.75rem; padding: 1rem; font-size: 0.75rem; max-height: 16rem; overflow: auto; margin: 0 0 1.25rem; }

/* toast „dodano do torby” */
.amp-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 4500;
  transform: translate(-50%, 150%);
  background: var(--amp-ink);
  color: #fff;
  font: 600 0.9375rem/1.3 var(--amp-font);
  padding: 0.85rem 1.25rem;
  border-radius: var(--amp-pill);
  box-shadow: var(--amp-shadow);
  transition: transform 0.4s var(--amp-ease);
  display: flex;
  gap: 1rem;
  align-items: center;
  max-width: calc(100vw - 2rem);
}
.amp-toast.is-visible { transform: translate(-50%, 0); }
.amp-toast button { -webkit-appearance: none; appearance: none; border: 0; background: none; color: #8fd3ff; font: inherit; cursor: pointer; padding: 0; }

/* oznaczenie prototypu */
.amp-proto {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 2000;
  background: #fff3c4;
  color: #5c4500;
  font: 700 0.75rem/1 var(--amp-font);
  letter-spacing: 0.02em;
  padding: 0.5rem 0.75rem;
  border-radius: var(--amp-pill);
  box-shadow: var(--amp-shadow);
}

/* ---------- Galeria zdjęć we wpisie (karuzela + podgląd pełnoekranowy) ---------- */
.amp-carousel { margin: clamp(2.5rem, 5vw, 4rem) auto; max-width: 64rem; }
.amp-carousel__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 7%;
  overscroll-behavior-x: contain;
}
.amp-carousel__track::-webkit-scrollbar { display: none; }
.amp-carousel__slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: center;
  opacity: 0.4;
  transform: scale(0.94);
  transition: opacity 0.6s var(--amp-ease), transform 0.6s var(--amp-ease);
}
.amp-carousel__slide.is-active { opacity: 1; transform: none; }
.amp-carousel__open {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 0;
  border-radius: var(--amp-radius-lg);
  overflow: hidden;
  background: var(--amp-surface);
  cursor: zoom-in;
}
.amp-carousel__slide:not(.is-active) .amp-carousel__open { cursor: pointer; }
.amp-carousel__open img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s linear; }
.amp-carousel__slide.is-active .amp-carousel__open img { transform: scale(1.04); } /* delikatny „ken burns” na aktywnym zdjęciu */
.amp-carousel__caption { margin: 0.85rem 0 0; color: var(--amp-ink-2); font-size: 0.9375rem; line-height: 1.45; text-align: center; min-height: 2.9em; }
.amp-carousel__ui { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 0.5rem; }
.amp-carousel__ui .amp-iconbtn { background: var(--amp-surface); width: 2.25rem; height: 2.25rem; }
.amp-carousel__ui .amp-iconbtn:hover { background: var(--amp-surface-2); }
.amp-carousel__dots { display: flex; gap: 0.45rem; align-items: center; }
.amp-carousel__dot {
  -webkit-appearance: none;
  appearance: none;
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: var(--amp-pill);
  background: var(--amp-surface-2);
  cursor: pointer;
  transition: width 0.4s var(--amp-ease), background-color 0.4s;
}
.amp-carousel__dot[aria-current="true"] { width: 1.75rem; background: var(--amp-ink); }

.amp-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(12, 12, 14, 0.94);
  color: #fff;
  font-family: var(--amp-font);
}
.amp-lightbox::backdrop { background: transparent; }
.amp-lightbox__stage {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  align-items: center;
  padding: 4.5rem clamp(1rem, 6vw, 5.5rem) 1.5rem;
}
.amp-lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 0.75rem; animation: amp-zoom-in 0.35s var(--amp-ease); }
.amp-lightbox__caption { margin: 1rem 0 0; max-width: 42rem; text-align: center; font-size: 0.9375rem; line-height: 1.45; color: rgba(255, 255, 255, 0.8); }
.amp-lightbox__count { position: absolute; top: 1.6rem; left: 1.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); font-variant-numeric: tabular-nums; }
.amp-lightbox .amp-iconbtn { position: absolute; background: rgba(255, 255, 255, 0.14); color: #fff; }
.amp-lightbox .amp-iconbtn:hover { background: rgba(255, 255, 255, 0.24); }
.amp-lightbox__close { top: 1rem; right: 1rem; }
.amp-lightbox__prev { left: 1rem; top: 50%; margin-top: -1.2rem; }
.amp-lightbox__next { right: 1rem; top: 50%; margin-top: -1.2rem; }
@keyframes amp-zoom-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }

/* ---------- Responsywność ---------- */
@media (max-width: 991px) {
  .amp-grid--3, .amp-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amp-feature { grid-template-columns: 1fr; }
  .amp-feature__body { padding: 0.5rem 0.75rem 1rem; }
  .amp-pdp { grid-template-columns: 1fr; }
  .amp-buybox { position: static; }
  .amp-perks { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .amp-grid--3, .amp-grid--2, .amp-shop-grid { grid-template-columns: 1fr; }
  .amp-tile { padding: 1.5rem; }
  .amp-newslayout { grid-template-columns: 1fr; gap: 0; }
  .amp-years { position: static; flex-direction: row; gap: 1.5rem; padding: 0 0 0.7rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--amp-line); }
  .amp-news__item { grid-template-columns: 1fr; gap: 1rem; }
  .amp-news__media { order: -1; }
  .amp-carousel__track { padding: 0 4%; gap: 0.5rem; }
  .amp-lightbox__prev, .amp-lightbox__next { top: auto; bottom: 1rem; margin-top: 0; }
  .amp-banner { grid-template-columns: 1fr; }
  .amp-banner__dot { display: none; }
  .amp-crosssell { grid-template-columns: 5rem 1fr; }
  .amp-crosssell .amp-btn { grid-column: 1 / -1; }
  .amp-prose { font-size: 1.0625rem; }
  .amp-prose blockquote { font-size: 1.25rem; }
  .amp-section__head { flex-direction: column; align-items: start; }
  .amp-buybar {
    display: flex;
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 1500;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0.6rem 0.6rem 1.25rem;
    border-radius: var(--amp-pill);
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
    font-family: var(--amp-font);
  }
  .amp-buybar__price { font-weight: 700; }
  .amp-page--pdp { padding-bottom: 7rem; }
  .amp-proto { bottom: auto; top: 6.25rem; left: 0.75rem; }
}

/* ---------- Oferta ---------- */
.amp-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--amp-line);
}
.amp-offer__media { border-radius: var(--amp-radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--amp-surface); }
.amp-offer__media img { width: 100%; height: 100%; object-fit: cover; }
.amp-offer--flip .amp-offer__media { order: 2; }
.amp-offer__body .amp-h1 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); color: var(--amp-ink); }
.amp-offer__body .amp-lead { font-size: 1.125rem; margin-top: 0.9rem; }
.amp-checks { list-style: none; margin: 1.5rem 0 1.25rem; padding: 0; display: grid; gap: 0.6rem; }
.amp-checks li { position: relative; padding-left: 1.75rem; line-height: 1.5; }
.amp-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.9rem;
  height: 0.5rem;
  border-left: 2.5px solid var(--amp-tint, var(--amp-brand-6));
  border-bottom: 2.5px solid var(--amp-tint, var(--amp-brand-6));
  transform: rotate(-45deg) scale(0.9);
  transform-origin: left bottom;
}
.amp-offer__for { margin: 0 0 1.5rem; color: var(--amp-ink-2); line-height: 1.5; font-size: 0.9688rem; }
.amp-offer__for strong { color: var(--amp-ink); }

.amp-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: amp-step; }
.amp-steps li { counter-increment: amp-step; background: var(--amp-surface); border-radius: var(--amp-radius); padding: 1.5rem; }
.amp-steps li::before { content: counter(amp-step); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--amp-ink); color: #fff; font-weight: 700; font-size: 0.9rem; margin-bottom: 1rem; }
.amp-steps h3 { margin-bottom: 0.4rem; font-size: 1.125rem; }
.amp-steps p { margin: 0; color: var(--amp-ink-2); line-height: 1.5; font-size: 0.9688rem; }

.amp-formwrap { margin-inline: auto; }
.amp-form { scroll-margin-top: 10rem; }
.amp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; }
.amp-field { display: grid; gap: 0.4rem; min-width: 0; align-content: start; }
.amp-field--wide { grid-column: 1 / -1; }
.amp-field label { font-weight: 600; font-size: 0.9375rem; }
.amp-field input, .amp-field select, .amp-field textarea {
  width: 100%;
  font: 400 1rem/1.4 var(--amp-font);
  color: var(--amp-ink);
  background: #fff;
  border: 1.5px solid var(--amp-line);
  border-radius: 0.875rem;
  padding: 0.75rem 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.amp-field textarea { resize: vertical; min-height: 8rem; }
.amp-field input:hover, .amp-field select:hover, .amp-field textarea:hover { border-color: var(--amp-ink-3); }
.amp-field input:focus-visible, .amp-field select:focus-visible, .amp-field textarea:focus-visible { outline: none; border-color: var(--amp-accent); box-shadow: 0 0 0 3px rgba(10, 111, 176, 0.2); }
.amp-check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9375rem; line-height: 1.45; color: var(--amp-ink-2); cursor: pointer; }
.amp-check input { width: 1.2rem; height: 1.2rem; margin: 0.1rem 0 0; accent-color: var(--amp-accent); flex: none; }
.amp-form__note { margin: 0.9rem 0 0; font-size: 0.8438rem; color: var(--amp-ink-3); line-height: 1.5; }
.amp-form__status { margin: 1rem 0 0; padding: 0.9rem 1.1rem; border-radius: 0.875rem; background: #e8f5e9; color: #1e5a22; line-height: 1.5; font-size: 0.9688rem; }

@media (max-width: 991px) {
  .amp-offer { grid-template-columns: 1fr; }
  .amp-offer--flip .amp-offer__media { order: 0; }
  .amp-steps { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .amp-form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .amp-page *, .amp-cart, .amp-menu, .amp-menu li, .amp-toast { transition: none !important; }
}


/* ---------- dokumenty prawne i linki w stopce ---------- */
.amp-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.875rem; }
.amp-legal a { color: inherit; opacity: 0.8; text-decoration: none; }
.amp-legal a:hover, .amp-legal a:focus-visible { opacity: 1; text-decoration: underline; }
.amp-cart__note a { color: inherit; text-decoration: underline; }
.amp-legal-doc { max-width: var(--amp-read); margin: 0 auto; padding-bottom: 4rem; }
.amp-legal-doc header { margin-bottom: 2.5rem; }
.amp-legal-doc__meta { color: var(--amp-ink-2); font-size: 0.9375rem; margin: 1rem 0 0; }
.amp-legal-doc h2 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.01em; margin: 2.75rem 0 0.9rem; }
.amp-legal-doc h3 { font-size: 1.125rem; margin: 2rem 0 0.7rem; }
.amp-legal-doc p, .amp-legal-doc li { line-height: 1.7; color: var(--amp-ink); }
.amp-legal-doc ol, .amp-legal-doc ul { padding-left: 1.4rem; margin: 0 0 1rem; }
.amp-legal-doc li { margin-bottom: 0.5rem; padding-left: 0.2rem; }
.amp-legal-doc a { color: var(--amp-accent); }
.amp-legal-doc__table { overflow-x: auto; margin: 1.25rem 0 1.5rem; border: 1px solid var(--amp-line); border-radius: var(--amp-radius); }
.amp-legal-doc table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.9375rem; }
.amp-legal-doc th, .amp-legal-doc td { text-align: left; vertical-align: top; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--amp-line); line-height: 1.5; }
.amp-legal-doc th { background: var(--amp-surface); font-weight: 700; }
.amp-legal-doc tr:last-child td { border-bottom: 0; }
.amp-legal-doc .amp-form { margin: 0 0 2.5rem; }

.amp-cart__row--dest { align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.amp-cart__row--dest label { font-weight: 600; font-size: 0.9375rem; }
.amp-cart__row--dest select { font: inherit; font-size: 0.9375rem; padding: 0.45rem 2rem 0.45rem 0.8rem; border: 1px solid var(--amp-line); border-radius: var(--amp-pill); background: var(--amp-bg); color: var(--amp-ink); max-width: 60%; }
.amp-cart__note--ship { margin: 0 0 1rem; }

.amp-ship { border: 0; padding: 0; margin: 0 0 0.75rem; display: grid; gap: 0.4rem; }
.amp-ship legend { font-weight: 600; font-size: 0.9375rem; padding: 0; margin-bottom: 0.4rem; }
.amp-ship__opt { display: flex; align-items: center; gap: 0.6rem; padding: 0.65rem 0.85rem; border: 1px solid var(--amp-line); border-radius: var(--amp-radius); cursor: pointer; font-size: 0.9375rem; }
.amp-ship__opt:has(input:checked) { border-color: var(--amp-ink); background: var(--amp-surface); }
.amp-ship__opt input { accent-color: var(--amp-ink); margin: 0; }
.amp-ship__name { flex: 1; }
.amp-ship__price { font-weight: 600; white-space: nowrap; }
.amp-cart__note a { color: inherit; }
