/* Otuliva B2: róż ze zdjęć, śliwka z nadruku logo, czarne szkło wyświetlacza. Najpierw telefon. */

/* Czcionki z własnego serwera (bez łączenia z Google). Pliki zmienne: jedna czcionka na wszystkie grubości. */
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("fonts/baloo2-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("fonts/baloo2-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/figtree-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/figtree-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blush: #f7d3e3;      /* tło zdjęć dostawcy */
  --blush-soft: #fcedf3; /* tło strony */
  --white: #ffffff;
  --plum: #7b2d52;       /* kolor nadruku Otuliva, przyciski */
  --plum-deep: #5e1f3d;
  --ink: #3b1f2c;        /* tekst */
  --muted: #6b4a5a;      /* tekst pomocniczy */
  --glass: #1d191b;      /* szkło wyświetlacza */
  --led: #f6f1f3;
  --line: #e9bfd2;
  --field: #c99bb1;      /* obramowanie pól formularza */
  --err: #a8201a;

  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --max: 1200px;
  --r-photo: 22px;
  --sec: 48px;           /* odstęp sekcji na telefonie */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--blush-soft);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--display); color: var(--plum-deep); margin: 0; line-height: 1.08; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
a { color: var(--plum); }
figure { margin: 0; }
section[id] { scroll-margin-top: 8px; }

:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; --sec: 72px; } }
@media (min-width: 960px) { :root { --sec: 88px; } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--plum); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; }

/* Wypełniacz: dane do uzupełnienia przed startem */
.luka { border-bottom: 1.5px dashed currentColor; white-space: nowrap; }

/* Nagłówek */
.top { background: var(--blush); }
.top__in { display: flex; align-items: center; gap: 16px; min-height: 56px; }
.mark { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--plum); text-decoration: none; letter-spacing: -0.01em; padding: 10px 0 6px; }
.top__slogan { display: none; color: var(--plum-deep); font-size: 0.9375rem; }
.top__buy { margin-left: auto; font-weight: 600; color: var(--plum); text-decoration: none; padding: 10px 18px; border: 2px solid var(--plum); border-radius: 999px; line-height: 1; }
.top__buy:hover { background: var(--plum); color: #fff; }
@media (min-width: 720px) { .top__slogan { display: block; } }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px;
  background: var(--plum); color: #fff;
  font: 700 1.0625rem/1.2 var(--text); text-align: center;
  border: 0; border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .08s ease;
}
.btn:hover { background: var(--plum-deep); }
.btn:active { transform: scale(.98); }
.btn--wide { width: 100%; }
.btn--small { min-height: 46px; padding: 0 22px; font-size: 1rem; }
.btn--ghost { background: transparent; color: var(--plum); border: 2px solid var(--plum); }
.btn--ghost:hover { background: var(--plum); color: #fff; }

/* Cena */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.price__now { font-family: var(--display); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--ink); }
.price__old { font-size: 1.1875rem; color: var(--muted); }
.price__cut { align-self: center; padding: 3px 10px; border-radius: 999px; background: var(--white); color: var(--plum-deep); font-weight: 700; font-size: 0.9375rem; line-height: 1.3; }
.price__omni { margin-top: 4px; font-size: 0.875rem; color: var(--muted); }

/* Pierwszy ekran: na telefonie zdjęcie od krawędzi do krawędzi, pod nim tekst */
.hero { background: var(--blush); padding-bottom: 32px; }
.hero__img img { width: 100%; aspect-ratio: 790 / 570; object-fit: cover; }
.hero__text { padding-top: 18px; }
.rating { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.rating[hidden] { display: none; }
.rating__stars { color: var(--plum); letter-spacing: 1px; }
.hero h1 { font-size: clamp(2.125rem, 1.4rem + 3.4vw, 3.75rem); letter-spacing: -0.015em; }
.lead { margin-top: 10px; max-width: 34em; }
.price-box { margin-top: 16px; }
.btn--hero { width: 100%; margin-top: 14px; min-height: 56px; }

.trust { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.4; color: var(--muted); }
.trust strong { display: block; color: var(--plum-deep); font-size: 1rem; font-weight: 700; }
.ico { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--plum); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 640px) {
  .trust { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .trust li { flex-direction: column; gap: 6px; }
}
@media (min-width: 960px) {
  .hero { padding: 40px 0 48px; }
  .hero__grid { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: 6fr 5fr; gap: 48px; align-items: center; }
  .hero__img { order: 2; }
  .hero__img img { border-radius: var(--r-photo); }
  .hero__text { padding: 0; }
  .btn--hero { width: auto; min-width: 320px; }
  .trust { margin-top: 28px; }
}

/* Panel sterowania */
.panel-sec { background: var(--white); padding: var(--sec) 0; }
.panel-sec__grid { display: grid; gap: 22px; }
.panel-sec h2, .uses h2, .make__h, .box h2, .reviews h2, .spec h2, .faq h2, .order h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); letter-spacing: -0.01em; }
.panel-sec__text p { margin-top: 12px; max-width: 36em; }
.panel-sec__text strong { color: var(--plum-deep); }
.panel-sec__demo { display: grid; gap: 18px; }

/* Makieta pasa: różowa obudowa, czarne szkło z dwoma przyciskami, jak na produkcie */
.device {
  justify-self: center;
  width: min(100%, 540px);
  padding: clamp(14px, 4vw, 24px) clamp(14px, 4vw, 24px) clamp(18px, 5vw, 30px);
  background: #f6c6da;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px #efb3cc, inset 0 -8px 18px rgba(123, 45, 82, .12);
  text-align: center;
}
.screen {
  background: var(--glass);
  border-radius: 999px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px;
  padding: clamp(8px, 2.4vw, 12px);
}
.device__btn {
  width: clamp(52px, 14vw, 68px); aspect-ratio: 1; border-radius: 50%;
  border: 0; cursor: pointer; display: grid; place-items: center; padding: 0;
  background: #f9d7e5;
  box-shadow: 0 0 0 0 rgba(249, 215, 229, .7);
  transition: transform .08s ease, background-color .15s ease;
  animation: zacheta 2.4s ease-out 1s 2;
}
/* Dwa delikatne pulsy przy wejściu: przyciski makiety da się nacisnąć */
@keyframes zacheta { 0% { box-shadow: 0 0 0 0 rgba(249, 215, 229, .7); } 100% { box-shadow: 0 0 0 14px rgba(249, 215, 229, 0); } }
.device__btn:hover { background: #fde6ef; }
.device__btn svg { width: 54%; fill: none; stroke: var(--plum); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.device__btn:active { transform: scale(.93); }
.device__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 50%; }
.screen__mid { display: grid; justify-items: center; gap: 4px; }
.screen__row { display: flex; align-items: center; gap: clamp(4px, 1.4vw, 8px); }
.screen__vib { width: clamp(14px, 3.8vw, 20px); fill: none; stroke: #8f878b; stroke-width: 1.6; stroke-linecap: round; }
.screen__vib circle { fill: #8f878b; stroke: none; }
.digits { width: clamp(58px, 17vw, 90px); transform: skewX(-6deg); }
.digits rect { fill: #352f32; }
.digits rect.on { fill: var(--led); }
.screen__therm { width: clamp(8px, 2.2vw, 11px); align-self: flex-start; margin-top: 10%; }
.screen__therm path { fill: none; stroke: var(--led); stroke-width: 1.6; }
.screen__batt { width: clamp(9px, 2.6vw, 13px); }
.screen__batt rect { fill: none; stroke: #e0566d; stroke-width: 1.5; }
.screen__batt rect.bf { fill: #e0566d; stroke: none; }
.modes { display: flex; justify-content: center; gap: clamp(5px, 1.8vw, 10px); }
.modes svg { width: clamp(14px, 4.2vw, 22px); fill: none; stroke: #4d4549; stroke-width: 1.7; stroke-linecap: round; }
.modes svg.on { stroke: var(--led); }
.device__logo { margin-top: clamp(8px, 3vw, 16px); font-family: var(--display); font-weight: 800; font-size: clamp(1rem, 3.4vw, 1.375rem); line-height: 1; color: var(--plum); opacity: .85; }

.readout { justify-self: center; margin: 0; display: grid; gap: 6px; width: min(100%, 460px); }
.readout div { display: grid; grid-template-columns: 4.6em 1fr; gap: 12px; align-items: baseline; }
.readout dt { font-family: var(--display); font-weight: 700; font-size: 1.375rem; line-height: 1.2; color: var(--plum-deep); }
.readout dd { margin: 0; }

.panel-sec__notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.panel-sec__notes li { padding-left: 16px; border-left: 3px solid var(--blush); }
.panel-sec__notes strong { color: var(--plum-deep); }

@media (min-width: 960px) {
  .panel-sec__grid { grid-template-columns: 5fr 6fr; column-gap: 56px; row-gap: 28px; align-items: start; }
  .panel-sec__text { grid-column: 1; }
  .panel-sec__notes { grid-column: 1; }
  .panel-sec__demo { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

/* Kadrowanie zdjęć dostawcy (bez napisów) */
.crop { position: relative; overflow: hidden; aspect-ratio: var(--cw) / var(--ch); border-radius: var(--r-photo); background: var(--blush); }
.crop img {
  position: absolute; max-width: none; height: auto;
  width: calc(var(--iw) / var(--cw) * 100%);
  left: calc(var(--cx) / var(--cw) * -100%);
  top: calc(var(--cy) / var(--ch) * -100%);
}

/* Sytuacje użycia */
.uses { padding: var(--sec) 0; }
.uses__lead { margin-top: 12px; max-width: 36em; }
.uses__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 12px; margin-top: 24px; }
.use figcaption { margin-top: 10px; font-size: 0.9375rem; line-height: 1.45; }
.use figcaption strong { color: var(--plum-deep); }
.uses__grid .use:last-child { grid-column: 1 / -1; }
.uses__grid .use:last-child .crop { aspect-ratio: 666 / 560; }
.uses__grid .use:last-child .crop img { top: calc(-400 / 560 * 100%); }
@media (min-width: 640px) {
  .use figcaption { font-size: 1rem; }
  .uses__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .uses__grid .use:last-child { grid-column: auto; }
  .uses__grid .use:last-child .crop { aspect-ratio: 666 / 720; }
  .uses__grid .use:last-child .crop img { top: calc(-282 / 720 * 100%); }
}

/* Zasilanie i materiał */
.make { background: var(--white); padding: var(--sec) 0; }
.make__grid { display: grid; gap: 20px; }
.make__text h3 { font-size: 1.375rem; }
.make__text h3 + p { margin-top: 6px; max-width: 34em; }
.make__text p + h3 { margin-top: 22px; }
@media (min-width: 820px) {
  .make__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; column-gap: 48px; row-gap: 20px; }
  .make__img { grid-column: 1; grid-row: 1 / span 2; }
  .make__h { grid-column: 2; align-self: end; }
  .make__text { grid-column: 2; }
}

/* Pudełko i wideo */
.box { background: var(--blush); padding: var(--sec) 0; }
.box__grid { display: grid; gap: 24px; }
.box__list { margin: 16px 0 14px; padding-left: 1.2em; }
.box__list li { margin: 4px 0; }
.box__list li::marker { color: var(--plum); }
.box__video video { width: 100%; height: auto; border-radius: var(--r-photo); background: #d9c9cf; }
.box__video figcaption { margin-top: 8px; font-size: 0.9375rem; color: var(--muted); }
@media (min-width: 900px) {
  .box__grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
}

/* Opinie */
.reviews { background: var(--white); padding: var(--sec) 0; }
/* Wąskie sekcje: treść do 820 px, ale lewa krawędź wspólna z resztą strony */
.reviews__in > *, .spec__in > *, .faq__in > * { max-width: 820px; }
.reviews__summary { margin-top: 14px; }
.reviews__empty { max-width: 34em; }
.reviews__avg { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.reviews__avg strong { font-family: var(--display); font-size: 2.25rem; line-height: 1; color: var(--ink); }
.reviews__avg .rating__stars { font-size: 1.25rem; }
.reviews__list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.reviews__list:empty { display: none; }
.review { padding: 16px; border-radius: 16px; background: var(--blush-soft); }
.review__stars { color: var(--plum); letter-spacing: 1px; }
.review__text { margin-top: 6px; }
.review__meta { margin-top: 8px; font-size: 0.875rem; color: var(--muted); }
.review-form { margin-top: 20px; }
.review-form > summary { list-style: none; width: 100%; }
.review-form > summary::-webkit-details-marker { display: none; }
.review-form[open] > summary { margin-bottom: 18px; }
.reviews__info { margin-top: 18px; font-size: 0.875rem; color: var(--muted); max-width: 44em; }
@media (min-width: 640px) { .review-form > summary { width: auto; } }

/* Gwiazdki w formularzu opinii: pięć dużych celów, zaznaczone gwiazdki i wszystkie przed nimi wypełnione */
.stars { border: 0; padding: 0; margin: 0; min-width: 0; }
.stars legend { padding: 0; margin-bottom: 4px; font-weight: 600; }
.stars__row { display: flex; gap: 2px; }
.stars__row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars__row label { display: grid; place-items: center; width: 48px; height: 48px; cursor: pointer; border-radius: 8px; }
.stars__row label::before { content: "★"; font-size: 2.25rem; line-height: 1; color: #e6c9d6; transition: color .1s ease; }
.stars__row input:checked + label::before,
.stars__row label:has(~ input:checked)::before { color: var(--plum); }
.stars__row input:focus-visible + label { outline: 3px solid var(--plum); outline-offset: 0; }

/* Formularze */
.form { display: grid; gap: 16px; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 1.0625rem; color: var(--plum-deep); }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 1rem; }
.field__hint { font-weight: 400; color: var(--muted); font-size: 0.875rem; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: max(1rem, 16px); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--field); border-radius: 12px;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder { color: #9b7f8c; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--plum); outline-offset: 1px; border-color: var(--plum); border-radius: 12px; }
.field [aria-invalid="true"] { border-color: var(--err); border-width: 2px; }
.field__err { color: var(--err); font-size: 0.9375rem; font-weight: 600; line-height: 1.4; margin-top: 6px; }
.field__err:empty, .form__status:empty { display: none; }
.form > .field__err { margin-top: -8px; }
.field__link { display: inline-block; margin-top: 2px; padding: 10px 0; font-size: 0.9375rem; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; }
.contact { display: grid; gap: 16px; }
.contact legend { margin-bottom: 0; }

.check { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; cursor: pointer; font-size: 1rem; line-height: 1.45; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--plum); }
.form__status { min-height: 0; font-size: 0.9375rem; color: var(--muted); }
.form__status:not(:empty) { padding: 12px 14px; border-radius: 12px; background: var(--blush-soft); color: var(--ink); }

/* Specyfikacja */
.spec { padding: var(--sec) 0; }
.spec__list { margin: 18px 0 0; }
.spec__list div { display: grid; grid-template-columns: minmax(7.5em, 34%) 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec__list div:first-child { border-top: 1px solid var(--line); }
.spec__list dt { color: var(--muted); font-size: 0.9375rem; }
.spec__list dd { margin: 0; font-weight: 500; }
.spec__more { margin-top: 4px; }
.spec__more .spec__list { margin-top: 0; }
.spec__more .spec__list div:first-child { border-top: 0; }
.spec__img { margin-top: 18px; border-radius: var(--r-photo); overflow: hidden; max-width: 420px; }

/* Rozwijane: specyfikacja i pytania */
.spec__more > summary, .faq summary {
  cursor: pointer; list-style: none; padding: 16px 40px 16px 0; position: relative;
  font-weight: 600; font-size: 1.0625rem; color: var(--ink);
}
.spec__more > summary { color: var(--plum); border-bottom: 1px solid var(--line); }
.spec__more > summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.spec__more > summary::after, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--plum); border-bottom: 2px solid var(--plum);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.spec__more[open] > summary::after, .faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

/* Pytania */
.faq { padding: var(--sec) 0; background: var(--white); }
.faq h2 { margin-bottom: 16px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq details p { padding: 0 0 16px; max-width: 40em; }
.faq__contact { margin-top: 20px; }

/* Zamówienie */
.order { background: var(--blush); padding: var(--sec) 0 calc(var(--sec) + 16px); }
.order__grid { display: grid; gap: 18px; }
.order h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem); letter-spacing: -0.01em; }
.order--page { padding-top: 24px; }
.order__product { margin-top: 14px; }
.checkout .price__cut { background: var(--blush); }
.order__name { font-family: var(--display); font-weight: 700; font-size: 1.375rem; line-height: 1.2; color: var(--plum-deep); }
.order__product .price { margin-top: 4px; }
.order__perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 0.9375rem; color: var(--muted); }
.order__perks li { position: relative; padding-left: 18px; }
.order__perks li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--plum); }
.foot--short { padding-bottom: 40px; }
.order__img { margin-top: 16px; display: grid; place-items: center; aspect-ratio: 5 / 2; padding: 12px 16px; background: var(--white); border-radius: var(--r-photo); }
.order__img img { width: 100%; height: 100%; object-fit: contain; }
.checkout { background: var(--white); border-radius: var(--r-photo); padding: 20px 16px 22px; gap: 22px; }

.swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.swatches legend span { font-weight: 400; color: var(--ink); }
.sw { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 8px 12px; font-size: 1rem; border-radius: 16px; background: var(--white); border: 2px solid var(--line); cursor: pointer; }
.sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sw__dot { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid rgba(59, 31, 44, .35); }
.sw__label { font-weight: 500; }
.sw:has(input:checked) { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.sw:has(input:focus-visible) { outline: 3px solid var(--plum); outline-offset: 3px; }
.dot--pink { background: #f4bcd3; }
.dot--white { background: #fff; }

.opts { display: grid; gap: 8px; }
.opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 10px 16px 10px 46px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 600; }
.opt input { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin: -10px 0 0; accent-color: var(--plum); }
.opt:has(input:checked) { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.opt__price { font-weight: 700; color: var(--plum-deep); }
.opts__eta { margin-top: 2px; font-size: 0.9375rem; color: var(--muted); }
.ship[hidden] { display: none; }
.ship { display: grid; gap: 16px; }

.pay__h { font-weight: 700; font-size: 1.0625rem; color: var(--plum-deep); margin-bottom: 4px; }

.summary { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--blush-soft); display: grid; gap: 8px; }
.summary div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary dt { font-size: 0.9375rem; }
.summary dd { margin: 0; font-weight: 600; white-space: nowrap; }
.summary dd s { margin-right: 6px; font-weight: 400; color: var(--muted); }
.summary__total { padding-top: 8px; border-top: 1px solid var(--line); }
.summary__total dt { font-weight: 700; font-size: 1.0625rem; }
.summary__total dd { font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--ink); }
.summary__omni { margin-top: -14px; font-size: 0.875rem; color: var(--muted); }
.btn--pay { min-height: 58px; font-size: 1.125rem; }
.checkout__note { margin-top: -8px; font-size: 0.9375rem; color: var(--muted); text-align: center; }

@media (min-width: 900px) {
  .order__grid { grid-template-columns: 1fr 1fr; column-gap: 56px; align-items: start; }
  .order__media { position: sticky; top: 24px; }
  .checkout { padding: 28px; }
}

/* Stopka */
.foot { background: var(--plum-deep); color: #f7e3ec; padding: 36px 0 104px; }
.foot__in { display: grid; gap: 8px; }
.mark--foot { color: #fff; }
.foot__slogan { margin-bottom: 8px; }
.foot__seller, .foot__copy { font-size: 0.9375rem; }
.foot__links { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot__links a { display: inline-block; padding: 9px 0; }
.foot a { color: #fff; }
.foot :focus-visible { outline-color: #fff; }
@media (min-width: 900px) { .foot { padding-bottom: 40px; } }

/* Pasek zakupu na telefonie */
.stick {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(94, 31, 61, .08);
  transform: translateY(110%); visibility: hidden;
  transition: transform .25s ease, visibility .25s;
}
.stick.is-on { transform: none; visibility: visible; }
.stick__img { width: 72px; height: 36px; object-fit: contain; flex: none; }
.stick__price { display: grid; line-height: 1.1; margin-right: auto; }
.stick__now { font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.stick__price s { font-size: 0.875rem; color: var(--muted); }
@media (min-width: 900px) { .stick { display: none; } }

.foot__cookies { padding: 9px 0; background: none; border: 0; color: #fff; font: inherit; text-decoration: underline; cursor: pointer; }
.checkout__rodo { margin-top: -10px; font-size: 0.875rem; color: var(--muted); }

/* Baner zgód (zgody.js): na telefonie panel od dołu, na komputerze okno w lewym dolnym rogu */
.zg {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  max-height: 88vh; overflow-y: auto; overscroll-behavior: contain;
  padding: 20px var(--gutter) calc(16px + env(safe-area-inset-bottom));
  background: var(--white); color: var(--ink);
  border-radius: 22px 22px 0 0; box-shadow: 0 -10px 34px rgba(59, 31, 44, .2);
}
.zg[hidden] { display: none; }
.zg h2 { font-size: 1.375rem; margin-bottom: 6px; }
.zg p { font-size: 0.9375rem; line-height: 1.5; }
.zg__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.zg__btns .btn { min-height: 50px; padding: 0 12px; font-size: 1rem; }
.zg__save { width: 100%; margin-top: 8px; }
.zg__link { display: inline-block; margin-top: 8px; padding: 10px 0; background: none; border: 0; color: var(--plum); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.zg__cats { display: grid; gap: 10px; margin-top: 14px; }
.zg__cat { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; }
.zg__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--plum-deep); }
.zg__cat p { margin-top: 4px; font-size: 0.875rem; color: var(--muted); }
.zg__always { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.zg__switch {
  -webkit-appearance: none; appearance: none; position: relative; flex: none;
  width: 48px; height: 28px; margin: 0; border-radius: 999px; background: #d9c3ce; cursor: pointer;
  transition: background-color .15s ease;
}
.zg__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s ease; }
.zg__switch:checked { background: var(--plum); }
.zg__switch:checked::after { transform: translateX(20px); }
.zg__switch:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
@media (min-width: 640px) {
  .zg { left: 16px; right: auto; bottom: 16px; width: 460px; border-radius: 22px; padding: 22px; }
}

/* Strony z dokumentami: regulamin, polityka prywatności, zwroty, podziękowanie */
.doc { background: var(--white); padding: 32px 0 calc(var(--sec) + 8px); }
.doc__in > * { max-width: 46rem; }
.doc h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem); letter-spacing: -0.01em; }
.doc__meta { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }
.doc__lead { margin-top: 14px; font-size: 1.125rem; }
.doc h2 { margin-top: 36px; font-size: 1.5rem; scroll-margin-top: 12px; }
.doc h3 { margin-top: 22px; font-size: 1.1875rem; }
.doc h2 + *, .doc h3 + * { margin-top: 10px; }
.doc p, .doc ul, .doc ol { margin-top: 10px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-top: 6px; }
.doc li::marker { color: var(--plum); font-weight: 700; }
.doc .doc__toc { padding: 14px 16px 16px 2.8em; border-radius: 16px; background: var(--blush-soft); }
.doc__toc a { display: block; padding: 4px 0; }
.doc__box { padding: 16px; border-radius: 16px; background: var(--blush-soft); }
.doc .doc__steps { list-style: none; padding: 0; counter-reset: krok; display: grid; gap: 12px; }
.doc__steps li { counter-increment: krok; position: relative; padding: 14px 16px 14px 60px; border-radius: 16px; background: var(--blush-soft); margin: 0; }
.doc__steps li::before { content: counter(krok); position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--plum); color: #fff; font-weight: 700; }
.doc__steps strong { color: var(--plum-deep); }
.wzor { padding: 18px 16px; border: 2px dashed var(--field); border-radius: 16px; }
.wzor p { margin-top: 12px; }
.wzor__line { display: block; margin-top: 6px; border-bottom: 1px solid var(--ink); min-height: 1.6em; }
.wzor small { color: var(--muted); }
.doc .btn { margin-top: 18px; }
.doc .foot__cookies { padding: 0; color: var(--plum); font-weight: 600; }

@media print {
  .top, .foot, .stick, .zg, .skip, .doc__noprint { display: none !important; }
  body, .doc { background: #fff; }
  .doc { padding: 0; }
  .wzor { border: 1px solid #000; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
