/* Shop styles. Tokens live in tokens.css. */

/* ---------- Reset & base ---------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
}

body.page-alt { background: var(--page-alt); }

main { flex: 1 0 auto; }

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

h1, h2, h3, p, ul, ol, figure { margin: 0; }

a { color: var(--ink); }
a:hover { color: var(--ink-2); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

/* ---------- Typography helpers ---------- */

.h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.link-strong { font-size: 14px; font-weight: 700; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--ink-2); color: var(--white); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { color: var(--ink); filter: brightness(0.96); }
.btn--outline { border-color: var(--ink); background: var(--white); color: var(--ink); }
.btn--outline:hover { background: var(--surface); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--lg { min-height: 52px; font-size: 16px; font-weight: 800; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
}
.icon-btn:hover { background: var(--ink-2); color: var(--white); }

/* ---------- Form fields ---------- */

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; font-weight: 700; }
.field__input,
.field__select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--field);
  border-radius: var(--radius-field);
  background: var(--white);
  font-size: 15px;
}
.field__input:focus,
.field__select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(20 22 27 / 0.12); }
.field__error { font-size: 13px; font-weight: 600; color: var(--danger); }
.field--invalid .field__input { border-color: var(--danger); }

.input-pill {
  min-height: 48px;
  padding: 0 18px;
  border: 1.5px solid var(--field);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 15px;
}

/* ---------- Image placeholder tints ---------- */

.tint-1 { background: var(--tint-1); }
.tint-2 { background: var(--tint-2); }
.tint-3 { background: var(--tint-3); }
.tint-4 { background: var(--tint-4); }
.tint-5 { background: var(--tint-5); }

/* ---------- Pills & badges ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}
.badge--sale { background: var(--danger); color: var(--white); }
.badge--draft { background: var(--ink); color: var(--white); }
.badge--note { background: var(--warn-bg); color: var(--warn-fg); }

/* ---------- Header ---------- */

.topbar { background: var(--ink); color: var(--white); font-size: 13px; }
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar__links { display: flex; gap: 20px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--white); }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  text-decoration: none;
}
.logo:hover { color: var(--ink); }
.logo__dot { width: 10px; height: 10px; margin-bottom: 4px; border-radius: 50%; background: var(--accent); }
.logo--sm { font-size: 26px; }
.logo--sm .logo__dot { width: 9px; height: 9px; margin-bottom: 3px; }

.search {
  flex: 1 1 360px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 20px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
}
.search:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.search__input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  outline: none;
}

.account-nav { display: flex; align-items: center; gap: 4px; }
.account-nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 44px;
  padding: 6px 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.account-nav__count {
  position: absolute;
  top: 0;
  right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.category-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
}
.category-nav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.category-nav__link:hover { color: var(--ink); }
.category-nav__link--all { color: var(--ink); font-weight: 700; }
.category-nav__link--sale { color: var(--danger); font-weight: 700; }
.category-nav__link[aria-current="page"] { color: var(--ink); font-weight: 800; box-shadow: inset 0 -3px 0 var(--accent); }

@media (max-width: 600px) {
  .site-header__main { gap: 12px 8px; }
  .logo { margin-right: auto; }
  .search { order: 3; flex-basis: 100%; }
  .account-nav__link { padding: 6px 8px; }
  .topbar__inner { justify-content: center; text-align: center; }
}

/* ---------- Product card ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

@media (max-width: 520px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
}
.product-card__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  color: var(--ink);
  text-decoration: none;
}
.product-card__link:hover .product-card__name { text-decoration: underline; }
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  margin-bottom: 4px;
  overflow: hidden;
  border-radius: 14px;
}
.product-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.product-card__brand { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.product-card__name { min-height: 40px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.product-card__meta { font-size: 13px; color: var(--muted); }
.product-card__note { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--warn-fg); }
.product-card__note svg { flex: none; }
.product-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-card__omnibus { font-size: 12px; color: var(--muted); }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price__current { font-size: 19px; font-weight: 800; }
.price__current--sale { color: var(--danger); }
.price__old { font-size: 13px; color: var(--muted); }
.price__soon { font-size: 15px; font-weight: 700; color: var(--muted); }

@media (max-width: 520px) {
  .product-card { padding: 8px 8px 12px; border-radius: 16px; }
  .product-card__name { font-size: 14px; }
  .price__current { font-size: 17px; }
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 24px;
}
.site-footer__about { display: flex; flex-direction: column; gap: 12px; }
.site-footer__company { font-size: 14px; line-height: 1.5; color: var(--muted); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-nav__title { font-size: 14px; font-weight: 800; }
.footer-nav a { color: var(--ink-2); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.payment-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-logos span { padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; font-weight: 700; color: var(--ink-2); }

/* ---------- Home page ---------- */

.hero { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; padding-top: 32px; }
.hero__main {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 56px 48px;
  border-radius: var(--radius-panel);
  background: var(--surface);
}
.hero__badge { align-self: flex-start; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.hero__title { font-size: clamp(40px, 5.2vw, 60px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.hero__lead { max-width: 460px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__tiles {
  flex: 1 1 420px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-height: 440px;
}
.hero__tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-panel);
  color: var(--ink);
  text-decoration: none;
}
.hero__tile--photo { position: relative; grid-row: span 2; justify-content: flex-end; overflow: hidden; }
.hero__tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16px; mix-blend-mode: multiply; }
.hero__tile-label {
  position: relative;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
}
.hero__tile-link { font-size: 18px; font-weight: 800; line-height: 1.2; text-decoration: none; }
.hero__tile--dark { background: var(--ink); color: var(--white); }
.hero__eyebrow-accent { color: var(--accent); }
.hero__tile-text { font-size: 22px; font-weight: 800; line-height: 1.15; }
.hero__tile-more { color: var(--white); font-size: 14px; font-weight: 700; }
.hero__tile-more:hover { color: var(--white); }

@media (max-width: 600px) {
  .hero { padding-top: 16px; gap: 12px; }
  .hero__main { padding: 32px 24px; gap: 18px; }
  .hero__lead { font-size: 16px; }
  .hero__tiles { min-height: 0; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero__tile--photo { grid-row: auto; grid-column: span 2; min-height: 240px; }
  .hero__tile { padding: 18px; border-radius: var(--radius-card); }
  .hero__tile-text { font-size: 18px; }
  .hero__tile-link { font-size: 16px; }
}

.perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  padding-top: 24px;
}
.perk { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; }
.perk svg { flex: none; }
.perk div { display: flex; flex-direction: column; gap: 2px; }
.perk strong { font-size: 15px; }
.perk span { font-size: 13px; color: var(--muted); }

@media (max-width: 600px) {
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 12px; }
  .perk { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .perk strong { font-size: 14px; }
  .perk span { font-size: 12px; }
}

.home-section { padding-top: 56px; }
.home-section--last { padding-bottom: 56px; }
#kategorie.home-section { padding-top: 40px; }

.category-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.category-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 14px 18px;
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}
.category-tile:hover .category-tile__name { text-decoration: underline; }
.category-tile__media { aspect-ratio: 16 / 10; margin-bottom: 8px; overflow: hidden; border-radius: 16px; }
.category-tile__media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; mix-blend-mode: multiply; }
.category-tile__name { font-size: 18px; font-weight: 800; }
.category-tile__sub { font-size: 14px; color: var(--muted); }

.brand-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.brand-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  text-decoration: none;
}
.brand-tile:hover { border-color: var(--ink); }
.brand-tile__name { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }

.banners { display: flex; flex-wrap: wrap; gap: 16px; }
.banner {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: 220px;
  padding: 40px;
  border-radius: var(--radius-panel);
}
.banner p { max-width: 380px; font-size: 16px; }
.banner .btn { align-self: flex-start; }
.banner__title { font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.02em; font-weight: 800; line-height: 1.15; }
.banner--accent { background: var(--accent); }
.banner--dark { background: var(--ink); color: var(--white); }
.banner--dark p { color: #C9CCD3; }

@media (max-width: 600px) {
  .home-section { padding-top: 40px; }
  .banner { padding: 28px 24px; min-height: 0; }
}

.newsletter {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 40px;
  border-radius: var(--radius-panel);
  background: var(--surface);
}
.newsletter__text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 8px; }
.newsletter__text p { font-size: 15px; color: var(--ink-2); }
.newsletter__title { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.newsletter__form { flex: 1 1 400px; display: flex; flex-direction: column; gap: 6px; }
.newsletter__row { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter__input { flex: 1 1 220px; min-width: 0; }
.newsletter__input[aria-invalid="true"] { border-color: var(--danger); }
.newsletter__msg { font-size: 14px; font-weight: 700; }
.newsletter__msg--ok { color: var(--success); }
.newsletter__legal { font-size: 12px; line-height: 1.5; color: var(--muted); }

@media (max-width: 600px) {
  .newsletter { padding: 28px 20px; }
  .newsletter__row .btn { width: 100%; }
}

/* ---------- Breadcrumbs & pagination ---------- */

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding-top: 24px; }
.pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  font-weight: 600;
  text-decoration: none;
}
.pagination__item:hover { border-color: var(--ink); }
.pagination__item--current { border-color: var(--ink); background: var(--ink); color: var(--white); font-weight: 700; }
.pagination__gap { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--muted); }

/* ---------- Product list ---------- */

.catalog { padding-top: 24px; }
.catalog__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin: 12px 0 20px; }
.catalog__body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.catalog__results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.catalog__toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.catalog__suggest-title { margin-top: 16px; font-size: 22px; }

.pills { display: flex; gap: 8px; margin-bottom: 24px; padding-bottom: 4px; overflow-x: auto; }
.pill {
  flex: none;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.pill:hover { background: var(--line); }
.pill--active, .pill--active:hover { background: var(--ink); color: var(--white); font-weight: 700; }

.filters { flex: 1 1 240px; max-width: 100%; }
.filters__summary {
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  border: 1.5px solid var(--field);
  border-radius: var(--radius-pill);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.filters__summary::-webkit-details-marker { display: none; }
.filters__summary::after { content: "+"; font-size: 20px; font-weight: 700; }
.filters[open] .filters__summary::after { content: "−"; }
.filters__count { color: var(--muted); }
.filters__form { display: flex; flex-direction: column; gap: 4px; }
.filters__head { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding-bottom: 8px; }
.filters__title { font-size: 18px; font-weight: 800; }
.filters__clear { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.filters .btn { margin-top: 12px; }

.filter-group { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 16px 0; border: 0; border-top: 1px solid var(--line); }
.filter-group legend { float: left; width: 100%; padding: 0 0 12px; font-size: 15px; font-weight: 800; }

.check { display: flex; align-items: center; gap: 10px; min-height: 28px; font-size: 14px; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.check__label { flex: 1; }
.check__count { font-size: 13px; color: var(--muted); }

.price-range { display: flex; align-items: flex-end; gap: 8px; }
.price-range__field { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.price-range__field label { font-size: 12px; font-weight: 600; color: var(--muted); }
.price-range__dash { padding-bottom: 12px; color: var(--muted); }
.field__input--sm { min-height: 44px; padding: 0 12px; font-size: 14px; }
.field__select--sm { width: auto; min-height: 44px; font-size: 14px; font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.chip:hover { color: var(--ink); filter: brightness(0.95); }
.sort { display: flex; align-items: center; gap: 8px; }
.sort__label { font-size: 14px; font-weight: 600; color: var(--muted); }

.js [data-js-hide] { display: none; }

@media (max-width: 900px) {
  .catalog__body { gap: 16px; }
  .filters { flex-basis: 100%; }
  .filters__summary { display: flex; }
  .filters[open] .filters__summary { margin-bottom: 12px; }
  .filters__title { display: none; }
}

/* ---------- Product page ---------- */

.product-page { padding-top: 20px; }
.product-page .breadcrumbs { margin-bottom: 20px; }
.product-page__draft { margin-bottom: 20px; }
.product { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }

.gallery { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery__main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-panel);
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; mix-blend-mode: multiply; }
.gallery__badges { position: absolute; top: 18px; left: 18px; z-index: 1; display: flex; gap: 6px; }
.gallery__badges .badge { padding: 6px 12px; font-size: 13px; }
.gallery__empty { color: var(--muted); font-size: 14px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; padding: 0; list-style: none; }
.gallery__thumb {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--surface);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.gallery__thumb.is-active { border-color: var(--ink); }

.buybox { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.buybox__head { display: flex; flex-direction: column; gap: 10px; }
.buybox__brand { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; }
.buybox__title { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
.buybox__sub { font-size: 16px; color: var(--ink-2); }
.buybox__codes { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--ink-2); }
.buybox__codes a { color: var(--ink-2); }
.buybox__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.buybox__amount { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.buybox__amount--soon { font-size: 26px; color: var(--muted); }
.buybox__omnibus { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.buybox__form { display: flex; flex-direction: column; gap: 12px; }
.buybox__row { display: flex; flex-wrap: wrap; gap: 12px; }
.buybox__add { flex: 1 1 220px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.condition-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--warn-bg);
  color: var(--warn-fg);
}
.condition-note svg { flex: none; margin-top: 2px; }
.condition-note div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.condition-note strong { font-size: 15px; }
.condition-note a { color: var(--warn-fg); }

.options { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; }
.options legend { padding: 0 0 10px; font-size: 14px; font-weight: 700; }
.options legend span { font-weight: 600; color: var(--ink-2); }
.options__list { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { display: block; width: 48px; height: 48px; padding: 4px; border: 2px solid var(--line); border-radius: var(--radius-pill); }
.swatch svg { width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12); }
.swatch.is-active { border-color: var(--ink); }
.size {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--field);
  border-radius: var(--radius-field);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.size.is-active { border: 2px solid var(--ink); font-weight: 700; }
.size.is-unavailable { color: var(--muted); text-decoration: line-through; }

.qty { display: flex; align-items: center; padding: 2px; border: 1.5px solid var(--field); border-radius: var(--radius-pill); }
.qty__btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
}
.js .qty__btn { display: flex; }
.qty__btn:hover { background: var(--surface); }
.qty__input {
  width: 64px;
  min-height: 44px;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  -moz-appearance: textfield;
}
.js .qty__input { width: 40px; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }

.info-box { display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-card); list-style: none; }
.info-box li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; }
.info-box li + li { border-top: 1px solid var(--line); }
.info-box svg { flex: none; }
.info-box div { display: flex; flex-direction: column; gap: 2px; }
.info-box strong { font-size: 15px; }
.info-box span { font-size: 13px; color: var(--muted); }
.text-success { color: var(--success); }
.info-box li:first-child svg { color: var(--success); }

.details { margin-top: 56px; }
.details__tabs { display: none; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.js .details__tabs { display: flex; }
.details__tab {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.details__tab.is-active { color: var(--ink); box-shadow: inset 0 -3px 0 var(--ink); }
.details__panel { max-width: 820px; padding: 28px 0; scroll-margin-top: 16px; }
.details__panel + .details__panel { border-top: 1px solid var(--line); }
.details__title { margin-bottom: 16px; font-size: 22px; font-weight: 800; }
.js [data-tabs] .details__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.js [data-tabs] .details__panel { border-top: 0; }
.js [data-tabs] .details__panel[hidden] { display: none; }

.specs { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.specs__row { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 14px 18px; font-size: 15px; }
.specs__row:nth-child(odd) { background: var(--page-alt); }
.specs dt { flex: 0 0 220px; color: var(--muted); }
.specs dd { flex: 1 1 200px; margin: 0; font-weight: 600; }

.reviews-empty { display: flex; flex-wrap: wrap; gap: 32px; }
.reviews-empty__side { flex: 0 0 220px; display: flex; flex-direction: column; gap: 6px; }
.reviews-empty__side strong { font-size: 22px; }
.reviews-empty__box { flex: 1 1 360px; padding: 24px; border: 1.5px dashed var(--field); border-radius: 16px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.related { margin-top: 24px; }
.related .h2 { margin-bottom: 20px; font-size: 26px; }

@media (max-width: 900px) {
  .product { gap: 24px; }
  .gallery__main img { padding: 12px; }
  .buybox__amount { font-size: 30px; }
  .details { margin-top: 32px; }
}

/* ---------- Cart & checkout ---------- */

.checkout-header { background: var(--white); border-bottom: 1px solid var(--line); }
.checkout-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.checkout-header__secure { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.steps__item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.steps__item + .steps__item::before { content: ""; width: 28px; height: 2px; margin-right: 4px; background: var(--field); }
.steps__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.steps__item.is-current { color: var(--ink); }
.steps__item.is-current .steps__dot { background: var(--ink); color: var(--white); }
.steps__item.is-done { color: var(--ink); }
.steps__item.is-done .steps__dot { background: var(--accent); color: var(--ink); }

@media (max-width: 700px) {
  .steps__item:not(.is-current) .steps__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .steps__item + .steps__item::before { width: 14px; }
  .checkout-header__secure { display: none; }
}

.checkout-main { padding-top: 32px; padding-bottom: 64px; }
.checkout-main > .flash { margin: 0 0 16px; }
.checkout-footer { border-top: 1px solid var(--line); background: var(--white); font-size: 13px; color: var(--muted); }
.checkout-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 24px; }
.checkout-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.checkout-footer a { color: var(--ink-2); }

.panel { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }

.cart { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.cart__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cart__head { display: flex; align-items: baseline; gap: 12px; }
.cart__title { font-size: 34px; letter-spacing: -0.025em; font-weight: 800; }
.cart__empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 20px; text-align: center; font-size: 18px; }
.cart__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 16px 20px; font-size: 14px; }
.cart__free { color: var(--ink-2); }

.cart-line { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 20px; border-bottom: 1px solid var(--line); }
.cart-line__media { flex: none; width: 96px; height: 96px; overflow: hidden; border-radius: 16px; }
.cart-line__media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.cart-line__info { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cart-line__name { font-size: 16px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.cart-line__name:hover { text-decoration: underline; }
.cart-line__variant { font-size: 13px; color: var(--muted); }
.cart-line__stock { font-size: 13px; font-weight: 700; color: var(--success); }
.cart-line__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-left: auto; }
.cart-line__total { min-width: 110px; font-size: 18px; font-weight: 800; text-align: right; }
.cart-line__remove { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill); background: none; color: var(--muted); }
.cart-line__remove:hover { background: var(--surface); color: var(--danger); }
.qty__btn--nojs { display: flex; width: 40px; height: 40px; }
.qty__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.cart-line .qty__input { width: 40px; }
.cart-line.is-busy { opacity: 0.6; }

@media (max-width: 600px) {
  .cart-line { gap: 12px; padding: 16px; }
  .cart-line__media { width: 72px; height: 72px; }
  .cart-line__info { flex-basis: calc(100% - 84px); }
  .cart-line__actions { width: 100%; flex-wrap: nowrap; gap: 8px; justify-content: space-between; }
  .cart-line__total { margin-left: auto; }
  .cart-line__total { min-width: 0; }
  .cart__title { font-size: 28px; }
}

.summary { flex: 1 1 320px; gap: 14px; padding: 24px; }
.summary__title { font-size: 20px; font-weight: 800; }
.summary__code { display: flex; flex-direction: column; gap: 6px; }
.summary__code-row { display: flex; gap: 8px; }
.summary__code-row .field__input { flex: 1; min-width: 0; }
.summary__rows { display: flex; flex-direction: column; gap: 10px; margin: 0; padding-top: 6px; font-size: 15px; }
.summary__rows div { display: flex; justify-content: space-between; gap: 12px; }
.summary__rows dt { color: var(--ink-2); }
.summary__rows dd { margin: 0; font-weight: 600; text-align: right; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.summary__total span { font-size: 16px; font-weight: 800; }
.summary__total strong { font-size: 26px; letter-spacing: -0.02em; }
.summary__vat { font-size: 12px; text-align: center; color: var(--muted); }

/* ---------- Checkout form ---------- */

[hidden] { display: none !important; }

.checkout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.checkout__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.checkout__head { display: flex; align-items: center; gap: 12px; }
.checkout__section { gap: 12px; margin: 0; padding: 24px; min-width: 0; }
.checkout__title { float: left; width: 100%; padding: 0 0 4px; font-size: 19px; font-weight: 800; }
.checkout .checkout__extra { display: none; padding-top: 4px; }
.checkout__hint { display: block; margin-top: 6px; font-size: 13px; }
.checkout:has(#d-locker:checked) [data-for="d-locker"],
.checkout:has(#d-courier:checked) [data-for="d-courier"],
.checkout:has(#f-invoice:checked) [data-for="f-invoice"] { display: grid; }
@supports not selector(:has(*)) {
  .checkout .checkout__extra { display: grid; }
}
.checkout:has(#d-pickup:checked) .choice--cod { opacity: 0.5; }
.locker-pick { justify-self: start; gap: 8px; }
.locker-chosen { margin: 0; padding: 10px 14px; border-radius: var(--radius-field); background: var(--surface); font-size: 14px; font-weight: 700; }
.locker-dialog { width: min(1000px, calc(100vw - 32px)); height: min(720px, calc(100vh - 32px)); padding: 0; border: 0; border-radius: var(--radius-card); background: var(--white); color: var(--ink); }
.locker-dialog[open] { display: flex; flex-direction: column; }
.locker-dialog::backdrop { background: rgba(20, 22, 27, 0.55); }
.locker-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 10px 20px; }
.locker-dialog__head .checkout__title { float: none; padding: 0; }
.locker-dialog__map { flex: 1; min-height: 0; }
.locker-dialog__map inpost-geowidget { display: block; width: 100%; height: 100%; }

.icon-btn--light { border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.icon-btn--light:hover { background: var(--surface); color: var(--ink); }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.field__row { display: flex; gap: 8px; }
.field__row .field__input { flex: 1; min-width: 0; }

.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  cursor: pointer;
}
.choice:has(input:checked) { border: 2px solid var(--ink); background: var(--page-alt); padding: 15.5px; }
.choice input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.choice__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.choice__text strong { font-size: 15px; }
.choice__text span { font-size: 13px; color: var(--muted); }
.choice__price { font-size: 15px; font-weight: 800; white-space: nowrap; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }

.check--lg { font-size: 15px; font-weight: 700; }
.check--lg input { width: 20px; height: 20px; }
.check--top { align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.check--top input { margin-top: 2px; }

.summary__items { display: flex; flex-direction: column; gap: 12px; padding: 0; list-style: none; }
.summary__items li { display: flex; align-items: center; gap: 12px; }
.summary__thumb { flex: none; width: 52px; height: 52px; overflow: hidden; border-radius: 12px; }
.summary__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; mix-blend-mode: multiply; }
.summary__name { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.35; }
.summary__price { font-size: 14px; font-weight: 700; white-space: nowrap; }
.summary .summary__rows { padding-top: 12px; border-top: 1px solid var(--line); }
.summary__note { font-size: 12px; color: var(--muted); }

.thanks { align-items: center; gap: 14px; max-width: 560px; margin: 24px auto; padding: 48px 32px; border-radius: var(--radius-panel); text-align: center; }
.thanks p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.thanks strong { color: var(--ink); }
.thanks__icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: var(--radius-pill); background: var(--accent); }
.thanks__title { font-size: 32px; letter-spacing: -0.025em; font-weight: 800; }
.thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-top: 8px; }

/* ---------- Generic page sections ---------- */

.page { padding-top: 32px; padding-bottom: 64px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 20px; }

.notice {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--warn-bg);
  color: var(--warn-fg);
  font-size: 14px;
}

.flash { margin-top: 16px; padding: 12px 16px; border-radius: 14px; font-size: 14px; font-weight: 600; }
.flash--success { background: #E3F4EA; color: #145A35; }
.flash--error { background: #FDE8E7; color: #8E1B12; }

.prose { max-width: 760px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.prose h2, .prose h3 { color: var(--ink); font-weight: 800; }
.prose h2 { font-size: 22px; }
.prose h3 { font-size: 18px; }
.prose ul, .prose ol { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Legal pages: terms, privacy policy, returns */
.legal { max-width: 860px; }
.legal h2 { margin-top: 12px; scroll-margin-top: 24px; }
.legal ol ol, .legal li > ul { margin-top: 6px; }
.legal a { text-decoration: underline; }
.legal .btn { text-decoration: none; }
.seller { list-style: none; padding: 14px 18px !important; margin: 8px 0; border: 1px solid var(--line); border-radius: var(--radius-field); background: var(--page-alt); gap: 2px !important; }
.todo-mark { padding: 0 4px; border-radius: 4px; background: var(--warn-bg); color: var(--warn-fg); font-weight: 700; }
.legal-table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.legal-table th, .legal-table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 140px; }
.legal-table th { background: var(--surface); color: var(--ink); }
.legal-form { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px dashed var(--field); border-radius: var(--radius-field); }
.legal-form p { margin: 0; }
.legal-form__line { overflow: hidden; white-space: nowrap; }

/* Online withdrawal form */
.withdrawal { display: flex; flex-direction: column; gap: 18px; max-width: 560px; margin-top: 28px; }
.withdrawal fieldset { border: 0; padding: 0; margin: 0; }
.withdrawal legend { margin-bottom: 8px; }
.withdrawal .field { display: flex; flex-direction: column; gap: 6px; }
.field__textarea { min-height: 96px; padding: 12px 16px; resize: vertical; }

@media print {
  .site-header, .site-footer, .legal [data-print], .skip-link { display: none !important; }
  .legal a { color: inherit; }
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 640px;
  padding: 40px;
  border-radius: var(--radius-panel);
  background: var(--surface);
}
.empty-state .search { width: 100%; flex: none; }

/* Checkout: Paczkomat search results (InPost points near a postcode) */
.locker-search { display: grid; gap: 6px; }
.locker-results { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.locker-result { display: grid; gap: 2px; width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-field); background: var(--white); color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.locker-result:hover, .locker-result:focus-visible { border-color: var(--ink); }
.locker-result[aria-pressed="true"] { border-color: var(--ink); background: var(--surface); }
.locker-result span { color: var(--muted); font-size: 13px; }

/* Invoice: company row, then the address row (same as the courier address) */
.invoice-fields { gap: 14px; }
/* Address fields: street + number, then postcode + city — two columns at any width above a phone */
.form-grid--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .form-grid--pairs { grid-template-columns: 1fr; } }
