/* ============================================================
   Skarpetoraj — main.css
   ============================================================ */

/* ── Tokens ── */
:root {
  --ink:        #1b1b2a;
  --navy:       #34355f;
  --navy-deep:  #26274a;
  --accent:     #e63a38;
  --green:      #1f9d57;
  --butter:     #ffe9a8;
  --butter-ink: #5b4708;
  --paper:      #f7f4ec;
  --surface:    #ffffff;
  --surface-2:  #fbf9f3;
  --muted:      #6c6c7e;
  --line:       #e8e3d7;
  --line-soft:  #f0ece1;
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;
  --r-lg:   20px;
  --r-md:   14px;
  --r-sm:   10px;
  --r-pill: 999px;
  --shadow-card: 0 6px 22px rgba(27,27,42,.07), 0 1px 3px rgba(27,27,42,.05);
  --shadow-soft: 0 2px 10px rgba(27,27,42,.05);
  --shadow-pop:  0 10px 30px rgba(27,27,42,.14);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: var(--font-body); }
.hidden { display: none !important; }

/* ── WooCommerce: zabezpieczenie szerokości formularzy ── */
.woocommerce form.cart,
.variations_form { width: 100%; max-width: 100%; }

/* ── Container ── */
.container { max-width: 1220px; margin: 0 auto; padding: 0 44px; }
@media (max-width: 780px) { .container { padding: 0 20px; } }

/* ── Typo ── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 8px;
}
.h1 {
  font-family: var(--font-display);
  font-size: 27px; line-height: 1.08; font-weight: 800;
  letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px;
  text-wrap: balance;
}
@media (min-width: 940px) { .h1 { font-size: 30px; letter-spacing: -.03em; } }
.h2 {
  font-family: var(--font-display);
  font-size: 22px; line-height: 1.12; font-weight: 700;
  letter-spacing: -.015em; color: var(--ink); margin: 0 0 6px;
  text-wrap: balance;
}
.lead { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0; }

/* ── Announcement bar ── */
.announce {
  background: var(--navy); color: #fff;
  overflow: hidden; white-space: nowrap;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  height: 36px; display: flex; align-items: center;
}
.announce__track {
  display: inline-flex; gap: 40px; padding: 9px 0;
  animation: marquee 22s linear infinite;
}
.announce__track span {
  display: inline-flex; align-items: center; gap: 8px; opacity: .92;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Nav ── */
.dnav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .15s;
}
.dnav.scrolled { box-shadow: 0 2px 12px rgba(27,27,42,.08); }
.dnav__in {
  height: 60px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  justify-self: start;
}
.brand img, .brand svg { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
.brand b {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800; letter-spacing: -.03em; color: var(--ink);
}
.dnav__links { display: flex; gap: 28px; justify-self: center; }
.dnav__links a {
  font-family: var(--font-body); font-size: 14.5px; font-weight: 600;
  color: var(--ink); text-decoration: none;
  position: relative; padding: 4px 0;
}
.dnav__links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--accent); transition: right .2s;
}
.dnav__links a:hover::after,
.dnav__links a.active::after { right: 0; }
.dnav__right {
  justify-self: end; display: flex; align-items: center; gap: 16px; color: var(--ink);
}
.dnav__right button, .dnav__right a {
  background: none; border: none; cursor: pointer;
  color: inherit; padding: 4px; display: grid; place-items: center; position: relative;
  text-decoration: none;
}
.sk-cart-btn { position: relative; }
.cart-dot {
  position: absolute; top: 0; right: 0;
  width: 16px; height: 16px;
  background: var(--accent); color: #fff;
  border-radius: 50%; font-size: 10px; font-weight: 800;
  display: grid; place-items: center;
}
/* Hamburger button */
.sk-mob-menu-btn {
  width: 36px; height: 36px; background: none; border: none; cursor: pointer;
  padding: 6px; display: none !important; flex-direction: column;
  justify-content: center; gap: 5px; place-items: unset;
}
.sk-mob-menu-btn span {
  display: block !important; width: 24px; height: 2px;
  background: #1b1b2a !important; border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.sk-mob-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sk-mob-menu-btn.open span:nth-child(2) { opacity: 0; }
.sk-mob-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mob-menu-overlay {
  position: fixed; inset: 0; background: rgba(27,27,42,.45);
  z-index: 40; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.mob-menu-overlay.open { opacity: 1; pointer-events: all; }

/* Mobile menu panel */
.mob-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(300px, 85vw);
  background: #fff; z-index: 41;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.32,.72,0,1);
  display: flex; flex-direction: column;
  box-shadow: -4px 0 24px rgba(27,27,42,.12);
}
.mob-menu.open { transform: translateX(0); }
.mob-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
}
.mob-menu__close {
  background: none; border: none; cursor: pointer;
  color: var(--ink); padding: 4px; display: grid; place-items: center;
}
.mob-menu__nav { padding: 12px 0; overflow-y: auto; flex: 1; }
.mob-menu__nav a {
  display: block; padding: 13px 24px;
  font-size: 15px; font-weight: 600; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line-soft);
}
.mob-menu__nav a:hover { background: var(--surface-2); }

@media (max-width: 860px) {
  .dnav__links { display: none; }
  .dnav__in { grid-template-columns: 1fr auto; }
  .sk-mob-menu-btn { display: flex !important; }
}

/* ── Btn ── */
.btn-primary {
  font-family: var(--font-display);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  padding: 17px 24px; width: 100%;
  border: none; border-radius: var(--r-pill); cursor: pointer;
  box-shadow: 0 8px 22px -6px rgba(230,58,56,.65);
  transition: transform .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none; text-align: center;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -6px rgba(230,58,56,.70);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled,
.btn-primary[disabled] {
  background: #d7d3c7; color: #fff;
  box-shadow: none; cursor: default; transform: none;
}

/* ── WC form: qty stepper + przycisk w jednej linii ── */
.single-product form.cart {
  display: flex; align-items: stretch; gap: 10px; margin-top: 12px; width: 100%;
}
/* Dla produktów zmiennych button siedzi w .single_variation_wrap → rozciągamy cały łańcuch */
.single-product .single_variation_wrap { width: 100%; }
.single-product .woocommerce-variation-add-to-cart {
  display: flex !important; align-items: stretch; gap: 10px; width: 100%; margin-top: 0;
}
.single-product form.cart .quantity { display: flex !important; align-items: center; flex-shrink: 0; }

/* Qty stepper — wstrzykiwany przez JS */
.qty-stepper-wrap {
  display: inline-flex; align-items: center; flex-shrink: 0;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; background: #fff;
  height: 54px;
}
.qty-step {
  background: none; border: none; cursor: pointer;
  width: 38px; height: 100%;
  font-size: 22px; font-weight: 300; color: var(--ink);
  display: grid; place-items: center;
  transition: background .12s; flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.qty-step:hover { background: var(--line); }
.qty-stepper-wrap input[type="number"] {
  width: 42px; border: none;
  border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line);
  padding: 0 4px;
  font-size: 16px; font-weight: 800; font-family: var(--font-display);
  color: var(--ink); text-align: center; background: #fff; outline: none;
  -moz-appearance: textfield; appearance: textfield; height: 100%;
}
.qty-stepper-wrap input::-webkit-inner-spin-button,
.qty-stepper-wrap input::-webkit-outer-spin-button { display: none; }

/* WC native add to cart button → styl primary, flex:1 żeby był szeroki */
.single_add_to_cart_button.button {
  font-family: var(--font-display);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  padding: 17px 24px; flex: 1; min-width: 0;
  border: none; border-radius: var(--r-pill); cursor: pointer;
  box-shadow: 0 8px 22px -6px rgba(230,58,56,.65);
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none; text-align: center; margin-top: 0; width: auto;
}
.single_add_to_cart_button.button:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -6px rgba(230,58,56,.70); color: #fff; }
.variations select { display: none; } /* ukrywamy domyslny select WC — uzywamy .size-btn */
.variations_form .single_variation_wrap { margin-top: 0; }
.woocommerce-variation-price { display: none; }

/* ── WC price html ── */
.woocommerce-Price-amount bdi { font-family: var(--font-display); font-weight: 800; }
.price ins { text-decoration: none; font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--accent); }
.price del { font-size: 17px; color: var(--muted); opacity: .7; }
.price-wrap ins { text-decoration: none; }
.price-wrap ins .woocommerce-Price-amount,
.price-wrap ins bdi {
  font-family: var(--font-display); font-size: 34px; font-weight: 800;
  color: #e63a38 !important; letter-spacing: -.02em;
}
.price-wrap del { font-size: 18px; color: var(--muted); opacity: .7; }
.price-wrap del bdi { color: var(--muted) !important; }

/* ── Product card (pcard) ── */
.pcard {
  border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; background: #fff; cursor: pointer;
  display: flex; flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.pcard:hover {
  box-shadow: 0 8px 28px rgba(27,27,42,.10);
  transform: translateY(-2px);
}
.pcard__img {
  aspect-ratio: 1/1; position: relative; overflow: hidden;
  display: block; text-decoration: none;
}
.pcard__img img {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
}
.pcard__badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 5px; z-index: 2;
}
.pcard__badge {
  font-family: var(--font-display); font-size: 11px; font-weight: 800;
  padding: 4px 9px; border-radius: var(--r-pill); line-height: 1;
}
.pcard__badge--best { background: var(--butter); color: var(--butter-ink); }
.pcard__badge--new  { background: var(--ink); color: #fff; }
.pcard__badge--sale { background: var(--accent); color: #fff; }
.pcard__body {
  padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 5px;
}
.pcard__name-link { text-decoration: none; }
.pcard__name {
  font-family: var(--font-display); font-size: 14px; font-weight: 700; line-height: 1.25;
  color: var(--ink);
}
.pcard__price {
  display: flex; align-items: baseline; gap: 7px; margin-top: auto; padding-top: 6px;
  font-family: var(--font-display); font-size: 17px; font-weight: 800;
}
.pcard__price ins { text-decoration: none; }
.pcard__price ins bdi { color: #e63a38 !important; }
.pcard__price del bdi { color: var(--muted) !important; opacity: .7; }
.pcard__add {
  width: 100%; padding: 11px;
  background: var(--ink); color: #fff;
  border: none; border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: 13.5px; font-weight: 700; cursor: pointer;
  transition: background .15s; text-decoration: none;
  display: block; text-align: center;
}
.pcard__add:hover { background: #2e2e42; color: #fff; }

/* ── Size buttons ── */
.size-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.size-btn {
  font-family: var(--font-body);
  padding: 13px 8px; border-radius: var(--r-md);
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: 13.5px; cursor: pointer;
  transition: all .15s; text-align: center; min-height: 48px;
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-btn:disabled {
  color: var(--muted); border-color: var(--line-soft); background: var(--surface-2);
  cursor: not-allowed; text-decoration: line-through; opacity: .6;
}
.size-btn:disabled:hover { border-color: var(--line-soft); }

/* ── Gallery ── */
.gallery { position: relative; overflow: hidden; touch-action: pan-y; }
.gallery__main {
  position: relative; aspect-ratio: 1/1;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.gallery__slide {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  opacity: 0; transition: opacity .22s;
}
.gallery__slide.active { opacity: 1; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.badge-sale, .badge-gift {
  position: absolute; z-index: 3;
  font-family: var(--font-display); font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: var(--r-pill);
}
.badge-sale { top: 12px; left: 12px; background: var(--accent); color: #fff; }
.badge-gift { top: 12px; right: 12px; background: var(--butter); color: var(--butter-ink); }
.dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.dots i {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.5); display: block; cursor: pointer; font-style: normal;
  transition: all .2s;
}
.dots i.on { background: #fff; width: 18px; border-radius: 3px; }

/* ── Gallery arrows (desktop only) ── */
.gallery__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 4;
  background: rgba(255,255,255,.92); border: none;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 2px 10px rgba(27,27,42,.18);
  opacity: 0; pointer-events: none;
  transition: opacity .18s, transform .18s;
}
.gallery:hover .gallery__arrow { opacity: 1; pointer-events: auto; }
.gallery__arrow:hover { transform: translateY(-50%) scale(1.1); box-shadow: 0 4px 16px rgba(27,27,42,.22); }
.gallery__arrow--prev { left: 12px; }
.gallery__arrow--next { right: 12px; }
.gallery__arrow svg { width: 18px; height: 18px; stroke: var(--ink); display: block; }
@media (max-width: 940px) { .gallery__arrow { display: none; } }
.thumbs {
  display: flex; gap: 8px; padding: 10px 14px;
  overflow-x: auto; scrollbar-width: none;
  background: var(--surface-2);
}
.thumbs::-webkit-scrollbar { display: none; }
.thumb {
  width: 64px; height: 64px; flex: 0 0 64px;
  border-radius: var(--r-sm); overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: border-color .15s;
  position: relative;
}
.thumb.on { border-color: var(--ink); }
.thumb img {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ── Product page layout ── */
.desk { background: #fff; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 430px;
  gap: 56px; align-items: start;
  padding-top: 26px; padding-bottom: 64px;
}
.hero-gallery {
  position: sticky; top: 80px;
  min-width: 0; /* grid item musi mieć 0 żeby thumby nie rozsadzały kolumny */
}
.hero-buy { min-width: 0; }
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero-gallery { position: static; width: 100%; max-width: 100%; }
  .gallery, .gallery__main { max-width: 100%; }
}

/* ── Breadcrumbs ── */
.crumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted); padding: 20px 0 0;
}
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--muted); }

/* ── Sections ── */
.section { padding: 32px 0; }
.section--tight { padding: 0; }

/* ── Chip rating ── */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; background: var(--surface-2); border-radius: var(--r-pill);
  padding: 5px 12px; border: 1px solid var(--line);
}
.stars { color: #f5a623; font-size: 13px; letter-spacing: 1px; }

/* ── Price ── */
.price-wrap {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.price-now {
  font-family: var(--font-display); font-size: 32px; font-weight: 800;
  color: var(--accent); letter-spacing: -.02em; line-height: 1.05;
}
.price-old { font-size: 17px; color: var(--muted); text-decoration: line-through; opacity: .7; }
.price-pct {
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-size: 12px; font-weight: 800;
  padding: 3px 9px; border-radius: var(--r-pill);
}
.pr { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--accent); }

/* ── Scarcity ── */
.scarcity {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: #fff6e6; border: 1px solid #f3d488;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: #8a5a00;
}
.scarcity .pulse { width: 7px; height: 7px; border-radius: 50%; background: #d8870a; flex: 0 0 auto; animation: pulse 1.4s infinite; }

/* ── Delivery card ── */
.card { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.info-row { display: flex; align-items: center; gap: 12px; padding: 13px 15px; }
.info-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; font-size: 20px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: 0 0 auto; animation: pulse 1.4s infinite; }
@keyframes pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* ── Gratis ── */
.gratis {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 15px;
  background: var(--butter); border-radius: var(--r-md);
  color: var(--butter-ink); font-size: 13.5px; font-weight: 600;
}

/* ── Pull quote ── */
.pull {
  padding: 13px 16px; background: #f0faf2;
  border-radius: var(--r-md); border-left: 3px solid var(--green);
}
.pull p { margin: 0; font-size: 14px; font-style: italic; line-height: 1.5; }
.pull span { font-size: 11.5px; color: var(--muted); margin-top: 6px; display: inline-flex; align-items: center; gap: 5px; }

/* ── Risk ── */
.risk { font-size: 12px; color: var(--muted); text-align: center; }

/* ── Trust grid ── */
.trust {
  display: grid; grid-template-columns: repeat(3,1fr);
  overflow: hidden;
}
.card.trust {
  display: flex; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
}
.trust > div {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 14px 10px; text-align: center; gap: 5px;
  border-left: 1px solid var(--line);
}
.trust > div:first-child { border-left: none; }
.t-ic {
  width: 32px; height: 32px; border-radius: 8px;
  background: #fff;
  display: grid; place-items: center;
  font-size: 14px; color: var(--green);
}
.t-tx { font-size: 11px; font-weight: 700; color: var(--ink); line-height: 1.3; }
@media (max-width: 640px) {
  .card.trust { justify-content: center; }
  .trust > div { padding: 12px 8px; }
  .t-tx { font-size: 10.5px; }
}

/* ── Pays ── */
.pays { display: flex; gap: 6px; flex-wrap: wrap; }
.pay {
  padding: 4px 10px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 6px; font-size: 11.5px; font-weight: 700; color: var(--ink);
}
.pay-icons {
  display: flex; align-items: center; justify-content: center;
  gap: 5px; flex-wrap: nowrap; margin-bottom: 20px;
}
.pay-ic {
  height: 28px; padding: 4px 11px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 6px; display: flex; align-items: center; flex-shrink: 0;
}
.pay-ic img { height: 16px; width: auto; display: block; }
.pay-ic--blik img { height: 14px; }
.pay-ic--paypo img { height: 18px; }

/* ── Bundle ── */
.bundle { border: 1.5px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 20px; }
.bundle__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--navy); }
.bundle__title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 14px; font-weight: 700; color: #fff; }
.bundle__badge { background: var(--butter); color: var(--butter-ink); font-family: var(--font-display); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: var(--r-pill); }
.bundle__body { padding: 16px 18px; }
.bundle__item { display: flex; align-items: center; gap: 12px; }
.bundle__img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--line); }
.bundle__name { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 3px; }
.bundle__price { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--accent); }
.bundle__sizes { margin: 10px 0 4px; }
.bundle__size-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.bundle__size-row { display: flex; flex-wrap: wrap; gap: 6px; }
.bundle__sz { font-family: var(--font-body); font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .15s; }
.bundle__sz:hover { border-color: var(--ink); }
.bundle__sz.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.bundle__sep { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); border: 1.5px solid var(--line); font-weight: 800; font-size: 16px; color: var(--muted); margin: 14px auto; }
.bundle__foot { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 18px; background: var(--surface-2); border-top: 1px solid var(--line); gap: 10px; text-align: center; }
.bundle__total { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.bundle__old { text-decoration: line-through; opacity: .6; font-size: 13px; }
.bundle__now { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--ink); }
.bundle__pct { background: var(--accent); color: #fff; font-family: var(--font-display); font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: var(--r-pill); }
.bundle__cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; background: var(--accent); color: #fff; border: none; border-radius: var(--r-pill); font-family: var(--font-display); font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .15s, box-shadow .15s; box-shadow: 0 6px 18px -4px rgba(230,58,56,.55); }
.bundle__cta:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 24px -4px rgba(230,58,56,.6); }
.bundle__cta:disabled { background: var(--line); color: var(--muted); box-shadow: none; cursor: default; }

/* ── Accordion ── */
.acc-list { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__h {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 0; cursor: pointer; user-select: none;
}
.acc__h span:first-child { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.acc__pm { font-size: 22px; color: var(--muted); line-height: 1; font-weight: 300; transition: transform .2s; }
.acc.open .acc__pm { transform: rotate(45deg); }
.acc__c { overflow: hidden; max-height: 0; transition: max-height .28s ease; }
.acc.open .acc__c { max-height: 400px; }
.acc__c p { margin: 0 0 15px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ── Sticky ATC ── */
.sticky-atc {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  background: rgba(247,244,236,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 24px calc(11px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .28s ease;
}
.sticky-atc.visible { transform: translateY(0); }

/* ── Hero banner (homepage) ── */
.hero-banner {
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 6.2; min-height: 320px;
  display: flex; align-items: flex-end;
}
.hero-banner__content {
  position: relative; z-index: 3;
  padding: 0 56px 52px;
}
.hero-banner__eye {
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: #6b6050; margin: 0 0 14px;
}
.hero-banner__h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 96px); font-weight: 800;
  letter-spacing: -.035em; line-height: .9;
  color: var(--ink); margin: 0 0 28px; text-transform: uppercase;
}
.hero-banner__h1 em { font-style: normal; color: var(--accent); }
.hero-banner__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px; background: var(--ink); color: #fff;
  font-family: var(--font-display); font-size: 14px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap; transition: background .15s;
}
.hero-banner__cta:hover { background: #2e2e42; }
.hero-banner__visual { display: none; }
@media (max-width: 640px) {
  .hero-banner {
    aspect-ratio: unset; min-height: 480px;
    background-position: center bottom;
    align-items: flex-start;
  }
  .hero-banner__content { padding: 32px 20px 0; }
}

/* ── Cat strip ── */
.cat-strip {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 8px;
  padding: 20px 24px 28px;
}
.cat-strip-tile {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; display: block; text-decoration: none;
  border-radius: 12px;
}
.cat-strip-tile__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-size: cover; background-position: center; }
.cat-strip-tile::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 55%);
}
.cat-strip-tile__txt { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 16px 14px; }
.cat-strip-tile__name {
  font-family: var(--font-display);
  font-size: clamp(13px,1.4vw,20px); font-weight: 800; color: #fff;
  letter-spacing: .04em; text-transform: uppercase;
}
@media (max-width: 640px) {
  .cat-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 16px 16px;
    gap: 8px;
    border-top: none;
  }
  .cat-strip::-webkit-scrollbar { display: none; }
  .cat-strip-tile {
    flex: 0 0 42vw;
    aspect-ratio: 3/4;
    scroll-snap-align: start;
    display: block;
  }
  .cat-strip-tile:nth-child(4),
  .cat-strip-tile:nth-child(5) { display: block; }
}

/* ── Trust strip (homepage) ── */
.trust-hp { background: var(--navy); }
.trust-hp__in {
  max-width: 1220px; margin: 0 auto;
  padding: 28px 44px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
}
.trust-hp__item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 8px 28px 8px 0;
}
.trust-hp__item + .trust-hp__item {
  padding-left: 28px; padding-right: 28px;
  border-left: 1px solid rgba(255,255,255,.12);
}
.trust-hp__item:last-child { padding-right: 0; }
.trust-hp__ic {
  flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,.12);
  display: grid; place-items: center;
  font-size: 22px;
}
.trust-hp__tx { display: flex; flex-direction: column; gap: 3px; text-align: center; }
.trust-hp__tx b { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.2; }
.trust-hp__tx span { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.3; }
@media (max-width: 900px) {
  .trust-hp__in { grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px 20px; }
  .trust-hp__item { padding: 12px 0 !important; border-left: none !important; border-top: 1px solid rgba(255,255,255,.12); }
  .trust-hp__item:nth-child(1), .trust-hp__item:nth-child(2) { border-top: none; }
}

/* ── Sections (homepage) ── */
.sec { max-width: 1220px; margin: 0 auto; padding: 48px 44px; }
.sec--bg { background: var(--surface-2); }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.sec__eyebrow { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.sec__title { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.sec__link { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.sec__link:hover { text-decoration: underline; }

/* Grid bestsellery */
.best-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width: 940px) { .best-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .sec { padding: 32px 20px; } .best-grid { gap: 12px; } }

/* Why grid */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.why-card { padding: 24px; background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); }
.why-card__num { font-family: var(--font-display); font-size: 48px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.why-card__title { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.why-card__body { font-size: 14px; color: var(--muted); line-height: 1.55; }
@media (max-width: 780px) { .why-grid { grid-template-columns: 1fr; } }

/* Kolekcje grid */
.kol-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.kol-tile { position: relative; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 3/2; display: block; text-decoration: none; }
.kol-tile__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.kol-tile::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(135deg,rgba(0,0,0,.4) 0%,rgba(0,0,0,.1) 100%); }
.kol-tile__txt { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 20px; }
.kol-tile__name { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.kol-tile__sub { display: block; font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 10px; }
.kol-tile__cta { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(255,255,255,.15); border-radius: var(--r-pill); padding: 6px 14px; }
@media (max-width: 640px) { .kol-grid { grid-template-columns: 1fr; } }

/* TrustMate */
.tm-section { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; }
.tm-section__in { max-width: 1220px; margin: 0 auto; padding: 0 44px; }

/* ── Category page ── */
.cat-page { background: #fff; }
.cat-hero { max-width: 1220px; margin: 0 auto; padding: 28px 44px 20px; }
.cat-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.cat-crumbs a { text-decoration: none; color: var(--muted); }
.cat-crumbs a:hover { color: var(--ink); }
.cat-hero h1 { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -.025em; margin: 0 0 6px; }
.cat-hero p { font-size: 15px; color: var(--muted); margin: 0; }
.cat-toolbar {
  max-width: 1220px; margin: 0 auto; padding: 12px 44px;
  display: flex; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--line);
}
.cat-count { font-size: 13.5px; color: var(--muted); margin-left: auto; white-space: nowrap; }
.cat-sort select {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 8px 12px; background: #fff; color: var(--ink); cursor: pointer;
}
.cat-grid-wrap { max-width: 1220px; margin: 0 auto; padding: 28px 44px 64px; }
.cat-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.cat-sidebar { width: 240px; }
.cat-sidebar-section { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 16px; }
.cat-sb-title { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.cat-filter-opt { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.cat-fo-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--line); flex: 0 0 auto;
  display: grid; place-items: center; transition: border-color .12s;
}
.cat-fo-radio.on { border-color: var(--ink); }
.cat-fo-radio.on::after { content: ''; width: 9px; height: 9px; background: var(--ink); border-radius: 50%; }
.cat-fo-label { font-size: 14px; color: var(--ink); text-decoration: none; }
.cat-fo-label.active { font-weight: 700; }
.cat-fo-count { color: var(--muted); font-size: 12px; }
.cat-fo-check {
  width: 18px; height: 18px; border-radius: 4px;
  border: 1.5px solid var(--line); flex: 0 0 auto;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 800; color: #fff;
  transition: all .12s;
}
.cat-fo-check.on { background: var(--ink); border-color: var(--ink); }

/* EU size slider */
.sz-slider-wrap { padding: 6px 0 4px; }
.sz-slider-label-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.sz-slider-range-val { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--ink); }
.sz-slider-unit { font-size: 11px; color: var(--muted); font-weight: 600; }
.sz-slider-track-wrap { position: relative; height: 2px; background: var(--line); border-radius: 99px; margin: 10px 9px; }
.sz-slider-fill { position: absolute; top: 0; height: 100%; background: var(--accent); border-radius: 99px; pointer-events: none; }
.sz-slider-input {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: calc(100% + 18px); margin-left: -9px; height: 2px;
  background: none; outline: none;
  -webkit-appearance: none; appearance: none;
  cursor: pointer; pointer-events: none;
}
.sz-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--ink);
  pointer-events: all; cursor: grab; transition: transform .1s;
}
.sz-slider-input::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.15); }
.sz-slider-input::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--ink);
  pointer-events: all; cursor: grab;
}
.sz-slider-ticks { display: flex; justify-content: space-between; margin: 8px 9px 0; }
.sz-slider-tick { font-size: 10px; font-weight: 600; color: var(--muted); }
.cat-filter-btn {
  margin-top: 14px; width: 100%; padding: 10px;
  background: var(--ink); color: #fff; border: none; border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background .15s;
}
.cat-filter-btn:hover { background: #2e2e42; }

.cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cat-pagination { margin-top: 32px; display: flex; justify-content: center; gap: 8px; }
.cat-pagination a, .cat-pagination .current {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px;
  border: 1.5px solid var(--line); font-size: 14px; font-weight: 600;
  text-decoration: none; color: var(--ink);
}
.cat-pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-empty { padding: 60px 0; text-align: center; color: var(--muted); }
/* Mobile filter button — ukryty na desktop */
.cat-mob-filter-btn { display: none; }
.cat-mob-overlay { display: none; }
.cat-mob-drawer { display: none; }

@media (max-width: 1020px) {
  .cat-layout { grid-template-columns: 1fr; }
  .cat-sidebar { display: none; }
  .cat-grid { grid-template-columns: repeat(2,1fr); }

  /* Przycisk Filtry */
  .cat-mob-filter-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 16px; border-radius: var(--r-pill);
    border: 1.5px solid var(--line); background: #fff;
    font-family: var(--font-body); font-size: 14px; font-weight: 600;
    color: var(--ink); cursor: pointer; white-space: nowrap;
  }

  /* Overlay */
  .cat-mob-overlay {
    display: block;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(27,27,42,.45);
    z-index: 49;
    opacity: 0; pointer-events: none;
    transition: opacity .25s;
  }
  .cat-mob-overlay.open { opacity: 1; pointer-events: all; }

  /* Drawer */
  .cat-mob-drawer {
    display: block;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; border-radius: 20px 20px 0 0;
    z-index: 50;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.32,.72,0,1);
    max-height: 82vh;
    box-shadow: 0 -8px 40px rgba(27,27,42,.15);
  }
  .cat-mob-drawer.open { transform: translateY(0); }
  .cat-mob-drawer__handle {
    width: 40px; height: 4px; background: var(--line);
    border-radius: 99px; margin: 16px auto 4px;
  }
  .cat-mob-drawer__scroll {
    overflow-y: auto; padding: 8px 20px 40px;
    max-height: calc(82vh - 36px);
  }
}
@media (max-width: 640px) {
  .cat-grid-wrap { padding: 20px 16px 40px; }
  .cat-hero { padding: 20px 16px 12px; }
  .cat-toolbar { padding: 10px 16px; gap: 10px; }
  .cat-grid { gap: 12px; }
  .cat-count { display: none; }
  .cat-sort { margin-left: auto; }
  .cat-sort select { max-width: 180px; }
}

/* ── Footer ── */
.dfoot { background: var(--navy-deep); color: #fff; }
.dfoot__in {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding: 48px 0;
}
.dfoot__brand img { width: 130px; margin-bottom: 6px; }
.wm { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.dfoot__brand p { font-size: 13.5px; opacity: .7; margin: 6px 0 0; max-width: 240px; line-height: 1.5; }
.dfoot h4 { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .6; margin: 0 0 14px; }
.dfoot a { display: block; color: rgba(255,255,255,.82); text-decoration: none; font-size: 14px; margin-bottom: 10px; }
.dfoot a:hover { color: #fff; }
.dfoot__bar { border-top: 1px solid rgba(255,255,255,.12); }
.dfoot__bar-in { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 12.5px; opacity: .6; flex-wrap: wrap; gap: 10px; }
.dfoot__pays { display: flex; gap: 6px; }
.dfoot__contact { display: flex; flex-direction: column; gap: 14px; margin-top: 2px; }
.dfoot__contact-item { display: flex; align-items: center; gap: 11px; font-size: 13.5px; line-height: 1.4; color: rgba(255,255,255,.82); }
.dfoot__contact-item svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--butter); }
.dfoot__contact-item span { color: rgba(255,255,255,.82); }
.dfoot__contact-item a { color: rgba(255,255,255,.82); text-decoration: none; font-size: 13.5px; margin-bottom: 0; display: inline; }
.dfoot__contact-item a:hover { color: #fff; }
.dfoot__pays span { padding: 3px 9px; background: rgba(255,255,255,.1); border-radius: 5px; font-size: 11px; font-weight: 700; }
@media (max-width: 1020px) {
  .dfoot__in { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 0; }
}
@media (max-width: 640px) {
  .dfoot__in { grid-template-columns: 1fr; }
}

/* ── Funnel (cart + checkout) ── */
.fn-page { min-height: 100vh; background: #fff; }
.fn-nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.96); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.fn-nav__in {
  max-width: 1060px; margin: 0 auto; padding: 0 24px;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
}
.fn-brand { text-decoration: none; font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.fn-secure { font-size: 13px; color: var(--muted); }
.fn-progress { border-bottom: 1px solid var(--line); background: var(--surface-2); }
.fn-progress__in {
  max-width: 1060px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 0; height: 48px;
}
.fn-step {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 0 20px 0 0;
}
.fn-step.active { color: var(--ink); }
.fn-step.done { color: var(--green); }
.fn-step__n {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--line); color: var(--muted);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.fn-step.active .fn-step__n { background: var(--ink); color: #fff; }
.fn-step.done .fn-step__n { background: var(--green); color: #fff; }
.fn-body { max-width: 1060px; margin: 0 auto; padding: 28px 24px 80px; }
.fn-cols { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.checkout .woocommerce-notices-wrapper { width: 100%; margin-bottom: 16px; }
.fn-main { min-width: 0; }
.fn-aside { position: sticky; top: 116px; }
.fn-block { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 16px; overflow: hidden; }
.fn-block__h {
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.fn-block__h h3 { margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.fn-block__body { padding: 20px; }

/* Cart items */
.ci { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ci:last-child { border-bottom: none; }
.ci__img { width: 72px; height: 72px; border-radius: 8px; flex: 0 0 72px; overflow: hidden; position: relative; background: var(--line); }
.ci__name { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; line-height: 1.2; margin-bottom: 3px; }
.ci__meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.ci__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ci__price { font-family: var(--font-display); font-size: 16px; font-weight: 800; }
.ci__remove { font-size: 12px; color: var(--muted); background: none; border: none; cursor: pointer; text-decoration: underline; padding: 0; display: block; margin-top: 4px; }
.ci__remove:hover { color: var(--accent); }

/* Qty stepper */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { width: 32px; height: 32px; background: none; border: none; cursor: pointer; font-size: 17px; color: var(--ink); display: grid; place-items: center; }
.qty button:hover { background: var(--line); }
.qty span { width: 32px; text-align: center; font-size: 14px; font-weight: 700; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line); padding: 4px 0; }

/* Promo */
.promo { display: flex; gap: 8px; justify-content: center; }
.promo input { flex: 1; max-width: 220px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 13.5px; font-family: var(--font-body); color: var(--ink); outline: none; }
.promo input:focus { border-color: var(--ink); }
.promo button { padding: 9px 16px; background: var(--ink); color: #fff; border: none; border-radius: 8px; font-family: var(--font-display); font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; flex-shrink: 0; }

/* Summary aside */
.summ { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.summ__head { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.summ__head h3 { margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.summ__body { padding: 16px 20px; }
.summ__totals { padding: 0 20px; }
.summ__row { display: flex; justify-content: space-between; font-size: 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.summ__row--discount { color: var(--green); font-weight: 600; }
.summ__row--free span:last-child { color: var(--green); font-weight: 700; }
.summ__row--vat { font-size: 12px; color: var(--muted); border-top: none !important; padding-top: 2px !important; }
.summ__row--total { font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.summ__foot { padding: 16px 20px; }
.summ__prod { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.summ__prod:last-child { border-bottom: none; margin-bottom: 8px; }
.summ__img-wrap { position: relative; flex: 0 0 56px; width: 56px; height: 56px; }
.summ__prod-img { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--line); }
.summ__prod-img img { width: 100%; height: 100%; object-fit: cover; }
.summ__qty {
  position: absolute; top: -5px; right: -5px; z-index: 2;
  width: 18px; height: 18px; background: var(--ink); color: #fff;
  border-radius: 50%; font-size: 10px; font-weight: 800;
  display: grid; place-items: center;
}

/* Ship bar */
.ship-bar { padding: 14px 20px; background: #f8fdf9; border-bottom: 1px solid #ddf0e1; }
.ship-bar p { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.ship-bar span { color: var(--accent); }
.ship-track { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.ship-fill { height: 100%; background: var(--accent); border-radius: 99px; transition: width .4s ease; }

.fn-cta {
  display: block; width: 100%; padding: 16px;
  background: var(--accent); color: #fff; border: none; border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  cursor: pointer; text-align: center; text-decoration: none;
  box-shadow: 0 8px 22px -6px rgba(230,58,56,.65);
  transition: transform .15s, box-shadow .15s; margin-bottom: 12px;
}
.fn-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -6px rgba(230,58,56,.70); color: #fff; }

.fn-trust { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.fn-trust__row { padding: 10px 16px; font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--line); }
.fn-trust__row:last-child { border-bottom: none; }

/* Checkout fields */
.fn-field { margin-bottom: 14px; }
.fn-field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 5px; letter-spacing: .02em; }
.fn-field input, .fn-field select, .fn-field textarea {
  width: 100%; padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: 8px;
  font-size: 14.5px; font-family: var(--font-body); color: var(--ink);
  background: #fff; outline: none; transition: border-color .15s;
}
.fn-field input:focus, .fn-field select:focus, .fn-field textarea:focus { border-color: var(--ink); }
.fn-field input::placeholder { color: #b0adb8; }
.fn-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.req { color: var(--accent); }

/* Checkout option cards */
.fn-opt {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: 8px; cursor: pointer; margin-bottom: 8px;
  background: #fff; transition: border-color .15s;
}
.fn-opt.selected { border-color: var(--ink); background: #fafafa; }
.fn-opt__radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--line); flex: 0 0 auto;
  display: grid; place-items: center; transition: border-color .15s;
}
.fn-opt__radio.on { border-color: var(--ink); }
.fn-opt__radio.on::after { content: ''; width: 9px; height: 9px; background: var(--ink); border-radius: 50%; }
.fn-opt__name { font-size: 14px; font-weight: 700; line-height: 1.2; }
.fn-opt__sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.fn-opt__price { font-family: var(--font-display); font-size: 14px; font-weight: 800; margin-left: auto; white-space: nowrap; }
.fn-opt__icon { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex-shrink: 0; }
.fn-opt__icon img { height: 20px !important; width: auto !important; max-width: 80px !important; object-fit: contain; }
.fn-opt__price.free { color: var(--green); }

/* ── Apaczka widget ── */
.fn-shipping-widget { margin: 8px 0 4px 32px; }
.fn-shipping-widget input[type="button"].button {
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  padding: 9px 16px; border-radius: var(--r-pill);
  border: 1.5px solid var(--ink); background: #fff; color: var(--ink);
  cursor: pointer; transition: background .15s;
}
.fn-shipping-widget input[type="button"].button:hover { background: var(--ink); color: #fff; }
.apaczka-hidden { display: none; }
#selected-parcel-machine:not(.apaczka-hidden) { display: block; margin-top: 8px; font-size: 13px; }
.font-height-600 { font-weight: 700; }
.italic { font-style: italic; color: var(--muted); font-size: 12px; display: block; }

/* ── PayNow gateway fields — CSS steruje, nie JS (odporne na PayNow stopPropagation) ── */
.fn-opt + .fn-gw-fields         { display: none   !important; }
.fn-opt.selected + .fn-gw-fields { display: block  !important; }
.fn-gw-fields { padding: 12px 0 4px 0; }
.paynow-blik-white-label .row { display: block; }
.paynow-blik-white-label .col-md-4 { width: 100%; max-width: none; padding: 0; }
.paynow-blik-white-label label.form-control-label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.paynow-blik-white-label input.form-control {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  font-size: 16px; font-family: var(--font-body); color: var(--ink);
  background: #fff; outline: none; transition: border-color .15s; letter-spacing: .15em;
}
.paynow-blik-white-label input.form-control:focus { border-color: var(--ink); }
/* Bank grid */
.paynow-payment-option-pbls { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; margin: 10px 0 !important; }
.paynow-payment-option-pbl { position: relative !important; width: auto !important; height: auto !important; }
.paynow-payment-option-pbl input[type="radio"] { position: absolute !important; opacity: 0 !important; width: 0 !important; height: 0 !important; }
.paynow-payment-option-pbl label {
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 60px !important; height: 38px !important;
  border: 1.5px solid var(--line) !important; border-radius: 6px !important;
  cursor: pointer !important; transition: border-color .15s !important;
  overflow: hidden !important; background: #fff !important;
  padding: 4px !important; box-sizing: border-box !important;
}
.paynow-payment-option-pbl label img { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: contain !important; }
.paynow-payment-option-pbl input:checked + label { border-color: var(--ink) !important; box-shadow: 0 0 0 1px var(--ink) !important; }
.paynow-payment-option-pbl.disabled label { opacity: .4 !important; cursor: default !important; }
/* PayNow: ukryj "Obsługę szybkich..." tekst w polach bramek */
.fn-gw-fields > p:last-child { display: none; }
/* RODO */
.paynow-data-processing-info { display: none; }
.paynow-data-processing-info-less { font-size: 10.5px; color: var(--muted); line-height: 1.5; }
.paynow-data-processing-info .expand { color: var(--accent); cursor: pointer; text-decoration: underline; }
.paynow-data-processing-info-more.collapse { display: none; }
.paynow-data-processing-info-more.collapse.show { display: block; font-size: 10px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* summ__coupon — widoczny w podsumowaniu na mobile i desktop */
.summ__coupon-mob { display: block; padding: 12px 20px; border-top: 1px solid var(--line); }
.summ__foot--mob  { display: none; padding: 20px 24px; }

@media (max-width: 780px) {
  .fn-cols { grid-template-columns: 1fr; }
  .fn-aside { position: static; }
  .fn-field-row { grid-template-columns: 1fr; }
  .summ__foot--dk { display: none; }
  .summ__foot--mob { display: block; }
  .summ__coupon-mob { display: block; }
}

/* ── Toast ── */
.toast {
  position: fixed; left: 50%; bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff;
  padding: 12px 22px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  box-shadow: var(--shadow-pop);
  opacity: 0; pointer-events: none; white-space: nowrap;
  transition: opacity .25s, transform .25s; z-index: 60;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── WC notices ── */
.woocommerce-notices-wrapper { max-width: 1220px; margin: 16px auto; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  list-style: none; padding: 14px 20px; margin: 0 0 16px;
  border-radius: 8px; font-size: 14px; font-weight: 600;
}
.woocommerce-message { background: #f0faf2; border: 1px solid #b2dfc0; color: var(--green); }
.woocommerce-error  { background: #fdf0f0; border: 1px solid #f5b8b8; color: #c0392b; }
.woocommerce-info   { background: #f0f4ff; border: 1px solid #b8c8f5; color: var(--ink); }

/* Kupon + Flexible Shipping — style w functions.php jako inline (LiteSpeed-safe) */

/* ══════════════════════════════════════
   PRODUCT PAGE — SEKCJE POD HERO
══════════════════════════════════════ */

.prod-section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.prod-section--alt { background: var(--surface-2); }

/* Dark band sections */
.prod-band {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
  margin: 0;
}
.prod-band .eyebrow { color: rgba(255,255,255,.55); }
.prod-band .h2 { color: #fff; }

/* Cytaty klientów */
.quote-list { margin-top: 24px; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 940px) {
  .quote-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
}
.q-item p { font-style: italic; font-size: 15px; line-height: 1.55; margin: 0 0 10px; opacity: .88; color: #fff; }
.q-item span { font-size: 12.5px; opacity: .55; color: #fff; }

/* Personas */
.persona-list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 940px) {
  .persona-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
}
.persona {
  display: flex; gap: 14px; padding: 16px 18px;
  background: var(--surface); border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
}
.pe { font-size: 26px; flex: 0 0 auto; line-height: 1; }
.persona b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 3px; font-weight: 700; }
.persona p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* Tier pricing */
.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 24px; }
.tier {
  position: relative; padding: 18px 10px 16px; border: 1.5px solid var(--line);
  border-radius: var(--r-md); background: var(--surface); text-align: center;
  cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.tier:hover { border-color: var(--muted); }
.tier.active { border: 2px solid var(--ink); box-shadow: 0 4px 16px rgba(27,27,42,.08); }
.tier.best { border: 2px solid var(--ink); }
.tier__tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-family: var(--font-display);
  font-size: 9.5px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 9px; border-radius: var(--r-pill); white-space: nowrap;
}
.tier__qty { font-size: 11px; font-weight: 600; color: var(--muted); }
.tier__price { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--ink); margin: 4px 0 1px; }
.tier__pp { font-size: 10px; color: var(--muted); }
.tier__save { font-family: var(--font-display); font-size: 12px; font-weight: 800; color: var(--accent); margin-top: 5px; }
.tiers-cta { margin-top: 20px; text-align: center; }
.tiers-cta .btn-primary { display: inline-flex; width: auto; padding: 14px 36px; font-size: 15px; }

/* Skład / materiał */
.material-list { margin-top: 28px; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 940px) {
  .material-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
}
.material-row { display: flex; gap: 14px; align-items: flex-start; }
@media (min-width: 940px) {
  .material-row { flex-direction: column; gap: 6px; }
}
.material-pct { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--butter); flex-shrink: 0; }
.material-name { font-weight: 700; color: #fff; font-size: 14px; margin-bottom: 3px; }
.material-desc { font-size: 12.5px; color: rgba(255,255,255,.65); line-height: 1.5; }

/* Cross-sell */
.cross-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.cross-item { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.cross-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.cross__img {
  width: 64px; height: 64px; border-radius: var(--r-sm);
  flex: 0 0 64px; overflow: hidden; position: relative; background: var(--line);
}
.cross__img img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.cross-toggle-btn {
  padding: 9px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line);
  background: #fff; color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background .15s, color .15s, border-color .15s;
}
.cross-toggle-btn.open { background: var(--ink); color: #fff; border-color: var(--ink); }
.cross-size-picker {
  padding: 14px 16px; background: var(--surface-2); border-top: 1px solid var(--line);
  display: none;
}
.cross-size-picker.open { display: block; }
.cross-size-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.cross-size-btn {
  padding: 7px 12px; font-size: 13px; font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); transition: all .12s;
  font-family: var(--font-body);
}
.cross-size-btn.selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.cross-confirm {
  width: 100%; padding: 11px; background: var(--accent); color: #fff;
  border: none; border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: 13.5px; font-weight: 700;
  cursor: pointer; transition: background .15s;
}
.cross-confirm:disabled { background: #d7d3c7; cursor: default; }
.cross-confirm:not(:disabled):hover { background: #c73130; }

/* FAQ */
.faq-list { margin-top: 20px; }
@media (min-width: 940px) {
  .faq-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
}

/* Reviews widget */
.rw {
  background: var(--surface-2); border: 1px dashed var(--line);
  border-radius: var(--r-md); padding: 36px 24px; text-align: center; color: var(--muted);
  margin-top: 20px;
}
.rw .big { font-size: 32px; margin-bottom: 10px; }

/* ── Mobile: product page ── */
@media (max-width: 940px) {
  .prod-section { padding: 44px 0; }
  .prod-band    { padding: 44px 0; }
  .hero { padding-bottom: 32px; }
}

@media (max-width: 640px) {
  /* Sekcje */
  .prod-section { padding: 32px 0; }
  .prod-band    { padding: 32px 0; }

  /* Tiers — 1 kolumna na mobile */
  .tiers { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
  .tier  { padding: 16px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .tier__tag { top: -8px; font-size: 9px; }
  .tier__qty { font-size: 13px; font-weight: 700; color: var(--ink); text-align: left; }
  .tier__price { font-size: 18px; text-align: right; }
  .tier__pp { font-size: 11px; text-align: right; }
  .tier__save { font-size: 11px; }
  .tiers-cta { margin-top: 16px; }
  .tiers-cta .btn-primary { width: 100%; display: flex; }

  /* Gallery */
  .hero { padding-top: 16px; padding-bottom: 24px; }

  /* Buy block wewnętrzne odstępy */
  .hero-buy { padding: 0; }

  /* Galeria thumbs — nieco mniejsze na mobile */
  .thumb { width: 52px; height: 52px; flex: 0 0 52px; }

  /* Trust grid — 3 kolumny działają, ale zmniejsz padding */
  .trust > div { padding: 10px 4px; }
  .t-tx { font-size: 10.5px; }

  /* Pays */
  .pays { gap: 5px; }
  .pay { font-size: 10.5px; padding: 3px 8px; }

  /* Cross-sell */
  .cross-toggle-btn { padding: 8px 12px; font-size: 12.5px; }

  /* Material */
  .material-pct { font-size: 26px; }
  .prod-band .h2 { font-size: 20px; }

  /* Personas */
  .pe { font-size: 22px; }
  .persona { padding: 12px 14px; }

  /* FAQ */
  .acc__h { padding: 13px 0; }
  .acc__h span:first-child { font-size: 13.5px; }

  /* Sticky ATC */
  .sticky-atc { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .sticky-atc .btn-primary, .sticky-atc a.btn-primary { padding: 12px 20px; font-size: 14px; }
  .pr { font-size: 17px; }
}

/* Sticky ATC — CTA bez inline styles */
.satc-cta { width: auto; padding: 13px 26px; font-size: 15px; flex-shrink: 0; }

/* Bezpieczna strefa na sticky ATC */
@media (max-width: 940px) {
  .desk { padding-bottom: 76px; }
}
@media (max-width: 640px) {
  .satc-cta { padding: 11px 18px; font-size: 13.5px; }
}

/* WC: ukryj zbędne natywne elementy */
.single-product .woocommerce-variation-availability { display: none !important; }
.single-product .variations_form .variations        { display: none !important; }
.single-product .woocommerce-variation-price        { display: none !important; }
.single-product .woocommerce-variation-description  { display: none !important; }

/* ── Animations ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ══════════════════════════════════════
   CART DRAWER
══════════════════════════════════════ */
.cd-overlay {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(27,27,42,.5); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.cd-overlay.open { opacity: 1; pointer-events: all; }

.cd-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 400px; max-width: 100vw;
  background: #fff; z-index: 201;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.32,.72,0,1);
  box-shadow: -8px 0 40px rgba(27,27,42,.14);
}
.cd-drawer.open { transform: translateX(0); }

.cd-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.cd-head__title {
  font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--ink);
}
.cd-close {
  background: none; border: none; cursor: pointer; color: var(--muted);
  padding: 6px; display: grid; place-items: center; border-radius: 6px;
}
.cd-close:hover { background: var(--surface-2); color: var(--ink); }

.cd-body { flex: 1; overflow-y: auto; overflow-x: hidden; }

/* Ship bar */
.cd-ship {
  padding: 12px 20px; background: #f0fdf4;
  border-bottom: 1px solid #d1fae5;
}
.cd-ship__msg { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.cd-ship__msg span { color: var(--accent); }
.cd-ship__track { height: 5px; background: var(--line); border-radius: 99px; overflow: hidden; }
.cd-ship__fill { height: 100%; background: var(--green); border-radius: 99px; transition: width .4s ease; }

/* Items */
.cd-items { padding: 4px 20px; }
.cd-empty { text-align: center; padding: 48px 20px; }
.cd-empty__icon { font-size: 36px; margin-bottom: 10px; }
.cd-empty p { margin: 0; font-size: 14px; color: var(--muted); }

.cd-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.cd-item:last-child { border-bottom: none; }
.cd-item__img { width: 68px; height: 68px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--line); }
.cd-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cd-item__info { flex: 1; min-width: 0; }
.cd-item__name { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 2px; }
.cd-item__meta { font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
.cd-item__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cd-item__price { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--ink); }
.cd-item__remove { font-size: 11.5px; color: var(--muted); background: none; border: none; cursor: pointer; text-decoration: underline; padding: 0; }
.cd-item__remove:hover { color: var(--accent); }
.cd-item__gratis-badge { font-family: var(--font-display); font-size: 11px; font-weight: 800; background: var(--butter); color: var(--butter-ink); padding: 3px 9px; border-radius: var(--r-pill); }
.cd-item__price--gratis { color: var(--green); font-weight: 800; }
.cd-discount { display: flex; justify-content: space-between; align-items: center; padding: 7px 20px; background: #f0faf2; border-bottom: 1px solid #ddf0e1; font-size: 13px; font-weight: 700; color: var(--green); }
.cd-discount__amt { font-family: var(--font-display); font-weight: 800; }

/* Qty stepper */
.cd-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.cd-qty__btn { width: 28px; height: 28px; background: none; border: none; cursor: pointer; font-size: 16px; color: var(--ink); display: grid; place-items: center; }
.cd-qty__btn:hover { background: var(--surface-2); }
.cd-qty__val { width: 28px; text-align: center; font-size: 13px; font-weight: 700; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line); user-select: none; }

/* Cross-sell */
.cd-cross { border-top: 1px solid var(--line); background: #fff; padding: 16px 20px; }
.cd-cross__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cd-cross__title { font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--ink); }
.cd-cross__nav { display: flex; gap: 4px; }
.cd-cross__arr { width: 28px; height: 28px; border: 1.5px solid var(--line); background: #fff; border-radius: 6px; cursor: pointer; font-size: 17px; display: grid; place-items: center; color: var(--ink); transition: border-color .15s; }
.cd-cross__arr:hover { border-color: var(--ink); }
.cd-cross__arr:disabled { opacity: .3; cursor: default; }

.cd-xitem { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 8px; }
.cd-xitem:last-child { margin-bottom: 0; }
.cd-xitem__row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.cd-xitem__img { width: 48px; height: 48px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: var(--line); }
.cd-xitem__img img { width: 100%; height: 100%; object-fit: cover; }
.cd-xitem__name { font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.cd-xitem__price { font-family: var(--font-display); font-size: 13px; font-weight: 800; color: var(--ink); margin-top: 2px; }
.cd-xitem__add {
  margin-left: auto; flex-shrink: 0;
  background: var(--ink); color: #fff; border: none; border-radius: var(--r-pill);
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  padding: 7px 13px; cursor: pointer; white-space: nowrap;
  transition: background .15s;
}
.cd-xitem__add:hover:not(:disabled) { background: #2e2e42; }
.cd-xitem__add:disabled { background: #d7d3c7; cursor: default; }

/* Size chips for variable cross-sells */
.cd-xitem__sizes { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 12px 10px; }
.cd-xsize {
  padding: 4px 9px; font-size: 11.5px; font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 6px;
  background: #fff; color: var(--ink); transition: all .1s;
}
.cd-xsize.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Footer */
.cd-foot { border-top: 1px solid var(--line); padding: 16px 20px; flex-shrink: 0; background: #fff; }
.cd-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cd-total span:first-child { font-size: 14px; color: var(--muted); }
.cd-total__val { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--ink); }
.cd-cta {
  display: block; width: 100%; text-align: center; padding: 15px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  border-radius: var(--r-pill); margin-bottom: 12px;
  box-shadow: 0 8px 22px -6px rgba(230,58,56,.55);
  transition: transform .15s, box-shadow .15s;
}
.cd-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -6px rgba(230,58,56,.65); color: #fff; }
.cd-pays { display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; }
.cd-pays span { padding: 3px 9px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; font-size: 10.5px; font-weight: 700; color: var(--ink); }

@media (max-width: 440px) {
  .cd-drawer { width: 100vw; }
}


/* ── My Account — Login / Register ── */
.col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.col2-set h2 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; letter-spacing: -.015em;
  color: var(--ink); margin: 0 0 20px;
}
.woocommerce-form-row {
  margin-bottom: 14px;
}
.woocommerce-form-row label {
  display: block; font-size: 12.5px; font-weight: 700;
  color: var(--muted); margin-bottom: 5px; letter-spacing: .02em;
}
.woocommerce-Input--text {
  width: 100%; padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: 8px;
  font-size: 14.5px; font-family: var(--font-body); color: var(--ink);
  background: #fff; outline: none; transition: border-color .15s;
  box-sizing: border-box;
}
.woocommerce-Input--text:focus { border-color: var(--ink); }
.woocommerce-Input--text::placeholder { color: #b0adb8; }
.password-input { position: relative; display: block; }
.password-input .woocommerce-Input--text { padding-right: 44px; }
.show-password-input {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--muted); padding: 4px;
}
.woocommerce-form__label-for-checkbox {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--ink); cursor: pointer;
}
.woocommerce-form__input-checkbox { width: 16px; height: 16px; cursor: pointer; }
.woocommerce-form-login__submit,
.woocommerce-form-register__submit {
  font-family: var(--font-display);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  padding: 14px 28px; border: none; border-radius: var(--r-pill); cursor: pointer;
  box-shadow: 0 6px 18px -4px rgba(230,58,56,.55);
  transition: transform .15s, box-shadow .15s;
  margin-top: 8px;
}
.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -4px rgba(230,58,56,.6);
}
.woocommerce-LostPassword { margin-top: 12px; }
.woocommerce-LostPassword a {
  font-size: 13px; color: var(--muted); text-decoration: underline;
}
.woocommerce-LostPassword a:hover { color: var(--ink); }
.woocommerce-privacy-policy-text {
  font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 12px;
}
.woocommerce-privacy-policy-text a { color: var(--ink); }
.googlesitekit-sign-in-with-google__frontend-output-button {
  margin-bottom: 16px;
}
/* Separator między formularzami */
.u-column1 {
  border-right: 1px solid var(--line);
  padding-right: 40px;
}
@media (max-width: 700px) {
  .col2-set { grid-template-columns: 1fr; gap: 32px; }
  .u-column1 { border-right: none; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 32px; }
}

/* ── My Account — Dashboard ── */
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content {
  /* layout handled by parent wrapper below */
}
.woocommerce:has(.woocommerce-MyAccount-navigation) {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
.woocommerce-MyAccount-navigation ul {
  list-style: none; margin: 0; padding: 0;
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.woocommerce-MyAccount-navigation-link a {
  display: block; padding: 12px 18px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line);
  transition: background .12s;
}
.woocommerce-MyAccount-navigation-link:last-child a { border-bottom: none; }
.woocommerce-MyAccount-navigation-link a:hover { background: var(--surface-2); }
.woocommerce-MyAccount-navigation-link.is-active a {
  background: var(--ink); color: #fff;
}
.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: var(--accent);
}
.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  background: #fff5f5;
}
.woocommerce-MyAccount-content {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 24px 28px;
}
.woocommerce-MyAccount-content p { font-size: 14px; line-height: 1.6; color: var(--ink); margin: 0 0 12px; }
.woocommerce-MyAccount-content a { color: var(--accent); text-decoration: underline; }
.woocommerce-MyAccount-content strong { font-weight: 700; }
@media (max-width: 700px) {
  .woocommerce:has(.woocommerce-MyAccount-navigation) {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
