/* Karta produktu — 1:1 z mockupu „Karta produktu” (zoom galerii bez zmian JS) */

body.single-product,
body.cw-single-product-page {
  --cw-ink: #2c2c2a;
  --cw-muted: #8b8b86;
  --cw-line: #ececec;
  --cw-line-2: #dcdcda;
  --cw-accent: #f1f1ef;
  --cw-accent-line: #d6d6d2;
  --cw-radius: 14px;
}

body.single-product .woocommerce div.product.cw-product::before,
body.single-product .woocommerce div.product.cw-product::after {
  display: none !important;
  content: none !important;
}

body.single-product .woocommerce div.product .images,
body.single-product .woocommerce div.product .summary,
body.single-product .woocommerce div.product .product-info {
  float: none !important;
  clear: none !important;
}

body.single-product .cw-product {
  max-width: 1140px;
  margin: 0 auto;
  padding: 44px 22px 64px;
  color: var(--cw-ink);
}

body.single-product .product-wrap {
  display: grid !important;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 44px;
  align-items: start;
  float: none !important;
  clear: both !important;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.single-product .product-wrap > * {
  min-width: 0;
}

/* Galeria — główne zdjęcie + miniatury (stała szerokość kadru, inaczej flex → 0) */
body.single-product .gallery,
body.single-product .cw-product-gallery {
  position: sticky;
  top: 16px;
  display: flex !important;
  flex-direction: row;
  gap: 14px;
  width: auto !important;
  max-width: calc(520px + 74px + 14px);
  flex-shrink: 0;
}

body.single-product .gallery-strip,
body.single-product .cw-product-gallery__thumbs-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 74px;
  flex-shrink: 0;
  order: 2;
}

body.single-product .cw-product-gallery__thumbs-col--placeholder {
  display: none !important;
}

body.single-product .cw-product-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.single-product .gthumb,
body.single-product .cw-product-gallery__thumb {
  width: 74px;
  aspect-ratio: 4 / 5;
  height: auto;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--cw-line);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.15s;
}

body.single-product .gthumb.active,
body.single-product .gthumb.is-active,
body.single-product .cw-product-gallery__thumb.active,
body.single-product .cw-product-gallery__thumb.is-active {
  border: 1.5px solid var(--cw-ink);
}

body.single-product .gthumb img,
body.single-product .cw-product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 6px;
  box-sizing: border-box;
  background: #fff;
}

body.single-product .gallery-main,
body.single-product .cw-product-gallery__main {
  position: relative;
  order: 1;
  flex: 0 0 520px;
  width: 520px;
  max-width: 520px;
  aspect-ratio: 4 / 5;
  height: auto;
  background: #fff;
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  overflow: hidden;
  min-width: 0;
  display: block;
}

body.single-product .gallery-main .cw-product-gallery__stage,
body.single-product .cw-product-gallery__main .cw-product-gallery__stage {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  aspect-ratio: auto !important;
}

body.single-product .gallery-main .cw-product-gallery__slide,
body.single-product .cw-product-gallery__slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

body.single-product .cw-product-gallery__slide.is-active {
  opacity: 1 !important;
  z-index: 2 !important;
  pointer-events: auto !important;
}

body.single-product .gallery-main .cw-product-gallery__zoom,
body.single-product .cw-product-gallery__zoom {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

body.single-product .gallery-main img,
body.single-product .cw-product-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

body.single-product .cw-product-gallery__counter,
body.single-product .cw-product-gallery__down {
  display: none !important;
}

/* Lupa — wygląd jak w mockupu; zoom JS bez zmian */
body.single-product .cw-product-gallery__loupe {
  top: auto !important;
  bottom: 14px !important;
  right: 14px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 9px !important;
  border: 1px solid var(--cw-line-2) !important;
  background: #fff !important;
  box-shadow: none !important;
}

/* Info */
body.single-product .product-info,
body.single-product .cw-product-summary.product-info,
body.single-product .product-wrap .product-info,
body.single-product .cw-product-summary {
  width: auto !important;
  max-width: 100% !important;
  flex-shrink: 1;
  float: none !important;
  margin: 0 !important;
}

body.single-product .crumbs,
body.single-product .cw-product-crumbs {
  font-size: 12px;
  color: var(--cw-muted);
  margin-bottom: 16px;
}

body.single-product .crumbs a,
body.single-product .cw-product-crumbs a,
body.single-product .crumbs .woocommerce-breadcrumb a {
  color: var(--cw-muted);
  text-decoration: none;
}

body.single-product .crumbs a:hover,
body.single-product .cw-product-crumbs a:hover {
  color: var(--cw-ink);
}

body.single-product .crumbs .woocommerce-breadcrumb {
  margin: 0;
  padding: 0;
  font-size: inherit;
  color: inherit;
  background: none;
}

body.single-product .product-title,
body.single-product .product_title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--cw-ink);
}

body.single-product .price-block,
body.single-product .cw-product-price-block {
  margin-bottom: 8px;
}

body.single-product .price-current,
body.single-product .cw-product-price-block__main {
  font-family: inherit;
  font-size: 25px;
  font-weight: 500;
  color: var(--cw-ink);
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

body.single-product .price-current .vat,
body.single-product .cw-product-price-block__vat {
  font-size: 12px;
  color: var(--cw-muted);
  font-weight: 400;
}

body.single-product .price-old,
body.single-product .cw-product-price-block__regular {
  font-size: 13px;
  color: var(--cw-muted);
  text-decoration: line-through;
  margin-top: 3px;
}

body.single-product .cw-product-price-block__regular--hidden {
  display: none;
}

body.single-product .price-lowest,
body.single-product .cw-product-price-block__omnibus {
  font-size: 11px;
  color: var(--cw-muted);
  margin-top: 3px;
  line-height: 1.6;
}

body.single-product .cw-product-price-block__omnibus--hidden {
  display: none;
}

body.single-product .price-saving,
body.single-product .cw-product-price-block__saving {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--cw-ink);
  color: #fff;
  padding: 3px 10px;
  margin-top: 9px;
  border-radius: 4px;
  font-weight: 500;
}

body.single-product .cw-product-price-block__saving--hidden {
  display: none;
}

body.single-product .cw-product-price-block__amount .woocommerce-Price-amount,
body.single-product .cw-product-price-block__amount {
  font: inherit;
  color: inherit;
}

body.single-product .cw-product-stock,
body.single-product .stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #4b8a5a;
  margin-bottom: 14px;
}

body.single-product .cw-product-stock.is-out-of-stock,
body.single-product .stock.is-out-of-stock {
  color: #a35d5d;
}

body.single-product .cw-product-stock__dot,
body.single-product .stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

body.single-product .opt-label,
body.single-product .label,
body.single-product .cw-var-color__heading {
  font-size: 13px;
  color: var(--cw-muted);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  background: none;
  padding: 0;
  text-transform: none;
  font-weight: 400;
  display: block;
}

body.single-product .opt-label b,
body.single-product .label b,
body.single-product .cw-var-color__heading b {
  color: var(--cw-ink);
  font-weight: 500;
}

body.single-product .cw-var-color-field--single,
body.single-product .cw-product-summary table.variations tr:has(.cw-var-color-field--single) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

body.single-product .swatches-wrap:not(.cw-var-color-field--single),
body.single-product .cw-var-color-field:not(.cw-var-color-field--single) {
  margin-bottom: 26px;
}

body.single-product .swatches-grid,
body.single-product .cw-var-color__track {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  max-height: none;
  overflow: visible;
}

body.single-product .swatch,
body.single-product .cw-var-color__btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  outline: 1px solid var(--cw-line-2);
  outline-offset: 2px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  background: none;
  flex-shrink: 0;
  transition: outline 0.15s;
}

body.single-product .swatch.active,
body.single-product .swatch.is-active,
body.single-product .cw-var-color__btn.is-active {
  outline: 2px solid var(--cw-ink);
  border: none;
}

body.single-product .swatch img,
body.single-product .cw-var-color__img,
body.single-product .cw-var-color__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

body.single-product .swatch-more-btn,
body.single-product .cw-var-color__more {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--cw-line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  color: var(--cw-muted);
  cursor: pointer;
  background: #fff;
}

body.single-product .cw-var-color__native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Rozmiar — siatka desktop / dropdown mobile */
body.single-product .size-wrap,
body.single-product .cw-var-size-field {
  margin-bottom: 0;
}

/* Woo „Wyczyść” — wyłączone całkowicie (nie zajmuje miejsca) */
body.single-product .reset_variations,
body.single-product a.reset_variations,
body.single-product .cw-product-summary .reset_variations,
body.single-product .woocommerce .reset_variations {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

body.single-product .cw-product-summary table.variations {
  margin-bottom: 0 !important;
}

body.single-product .cw-product-summary table.variations td.value {
  position: relative;
  padding-bottom: 0 !important;
}

body.single-product .cw-product-summary .single_variation_wrap {
  margin: 0 !important;
  padding: 0 !important;
}

/* Pusty blok ceny wariantu pod rozmiarami — nie rozpycha układu */
body.single-product .cw-product-summary .woocommerce-variation:empty,
body.single-product .cw-product-summary .woocommerce-variation {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
}

body.single-product .cw-product-summary .woocommerce-variation-description,
body.single-product .cw-product-summary .woocommerce-variation-price,
body.single-product .cw-product-summary .woocommerce-variation-availability {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

body.single-product .cw-product-summary .woocommerce-variation-add-to-cart {
  margin-top: 10px !important;
}

/* Desktop — ciaśniejszy stos info → rozmiar → CTA */
@media (min-width: 481px) {
  body.single-product .cw-product-stock,
  body.single-product .stock {
    margin-bottom: 12px;
  }

  body.single-product .cw-product-variations,
  body.single-product .cw-var-size,
  body.single-product .cw-var-size-field {
    margin-bottom: 0 !important;
  }

  body.single-product .cw-product-summary table.variations tr,
  body.single-product .cw-product-summary table.variations td,
  body.single-product .cw-product-summary table.variations th {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.single-product .cw-var-size-field > .opt-label {
    margin-bottom: 8px;
  }

  body.single-product .cw-product-summary .woocommerce-variation-add-to-cart {
    margin-top: 12px !important;
  }

  body.single-product .cw-product-summary form.cart:not(.variations_form),
  body.single-product .cw-product-summary .woocommerce-variation-add-to-cart {
    margin-bottom: 22px;
    gap: 8px;
  }

  body.single-product .cw-product-zaprojektuj {
    margin-bottom: 0;
  }
}

body.single-product .cw-var-size {
  position: relative;
  z-index: 1;
}

body.single-product .cw-var-size.is-open {
  z-index: 80;
}

body.single-product .cw-var-size__trigger {
  display: none;
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--cw-ink);
  background: #fff;
  border: 1px solid var(--cw-line-2);
  border-radius: 9px;
  cursor: pointer;
  text-align: left;
  align-items: center;
  justify-content: space-between;
  appearance: none;
  background-image: none;
  height: auto;
}

body.single-product .cw-var-size.is-open .cw-var-size__trigger {
  border-color: var(--cw-ink);
}

/* Strzałka rozmiaru — chevron SVG (nie „rogalik” z borderów) */
body.single-product .cw-var-size__chev {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-width: 0 !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8b86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / 18px 18px no-repeat !important;
  transform: none !important;
  transition: transform 0.2s ease;
}

body.single-product .cw-var-size.is-open .cw-var-size__chev {
  transform: rotate(180deg) !important;
  margin: 0 !important;
}

body.single-product .cw-var-size__list {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: none;
  background: transparent;
  max-height: none;
  overflow: visible;
  position: static;
  box-shadow: none;
}

body.single-product .cw-var-size__list[hidden] {
  display: grid !important;
}

body.single-product .cw-var-size__row {
  padding: 11px 0;
  border-radius: 9px;
  border: 1px solid var(--cw-line-2);
  background: #fff;
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

body.single-product .cw-var-size__row:hover {
  border-color: var(--cw-ink);
}

body.single-product .cw-var-size__row.is-selected,
body.single-product .cw-var-size__row[aria-selected="true"] {
  border: 1.5px solid var(--cw-ink);
  background: #fafafa;
  font-weight: 500;
}

body.single-product .cw-var-size__size {
  display: block;
}

body.single-product .cw-var-size__right,
body.single-product .cw-var-size__meta {
  display: none;
}

body.single-product .cw-var-size__native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Zaprojektuj sam — tylko gdy jest personalizacja; pełny rząd nad koszykiem */
body.single-product .cw-product-zaprojektuj {
  flex: 0 0 100%;
  width: 100%;
  margin-bottom: 0;
  margin-top: 0;
}

body.single-product .btn-design,
body.single-product .cw-product-zaprojektuj__btn {
  width: 100%;
  padding: 16px;
  height: auto;
  border-radius: 11px;
  border: 1px solid var(--cw-accent-line);
  background: var(--cw-accent);
  color: var(--cw-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.15s, border-color 0.15s;
  box-sizing: border-box;
}

body.single-product .btn-design:hover,
body.single-product .cw-product-zaprojektuj__btn:hover {
  background: #e7e7e3;
  border-color: #c7c7c2;
  color: var(--cw-ink);
}

body.single-product .btn-design svg,
body.single-product .cw-product-zaprojektuj__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Koszyk + ulubione w jednym rzędzie */
body.single-product .cw-product-summary .woocommerce-variation-add-to-cart,
body.single-product .cw-product-summary form.cart:not(.variations_form),
body.single-product .cw-product-summary form.cart .single_variation_wrap .woocommerce-variation-add-to-cart {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 30px;
  width: 100%;
}

body.single-product .cw-product-summary form.cart {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

body.single-product .cw-product-summary .quantity {
  display: none;
}

body.single-product .btn-cart,
body.single-product .single_add_to_cart_button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px;
  padding: 0 16px !important;
  border-radius: 11px;
  border: none;
  background: var(--cw-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  margin: 0 !important;
  box-sizing: border-box;
  transition: background 0.15s;
}

body.single-product .btn-cart:hover,
body.single-product .single_add_to_cart_button:hover {
  background: #000;
  color: #fff;
}

body.single-product .btn-cart:disabled,
body.single-product .single_add_to_cart_button:disabled {
  background: #bbb;
  cursor: not-allowed;
}

body.single-product .btn-fav,
body.single-product .cw-product-wish {
  width: 52px !important;
  min-width: 52px !important;
  max-width: 52px;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px;
  margin: 0 !important;
  border-radius: 11px;
  border: 1px solid var(--cw-line-2);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  color: var(--cw-muted);
  padding: 0 !important;
  gap: 0;
  letter-spacing: 0;
  font-size: 0;
  box-sizing: border-box;
  transition: color 0.15s, border-color 0.15s;
}

body.single-product .btn-fav:hover,
body.single-product .cw-product-wish:hover {
  color: var(--cw-ink);
  border-color: var(--cw-ink);
}

body.single-product .btn-fav svg,
body.single-product .cw-product-wish svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

body.single-product .cw-product-wish.is-active {
  color: var(--cw-ink);
}

body.single-product .cw-product-wish.is-active svg path {
  fill: currentColor;
}

/* Trust — kwadratowe kafelki */
body.single-product .perks,
body.single-product .cw-product-trust,
body.single-product .trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
  margin-bottom: 8px;
}

body.single-product .cw-product-trust__tile,
body.single-product .trust-tile {
  border: 1px solid var(--cw-line-2);
  border-radius: 6px;
  padding: 14px 8px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

body.single-product .cw-product-trust__icon,
body.single-product .trust-ico {
  width: 26px;
  height: 26px;
  color: var(--cw-ink);
  flex-shrink: 0;
}

body.single-product .cw-product-trust__icon svg,
body.single-product .trust-ico svg {
  width: 26px;
  height: 26px;
  display: block;
}

body.single-product .cw-product-trust__title,
body.single-product .trust-t {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
}

body.single-product .cw-product-trust__sub,
body.single-product .trust-s {
  font-size: 11.5px;
  color: var(--cw-muted);
  margin: 0;
  line-height: 1.3;
}

body.single-product .cw-product-trust__badge,
body.single-product .cw-product-trust__text,
body.single-product .cw-product-trust__row {
  display: none;
}

/* Specs */
body.single-product .comp-block,
body.single-product .cw-product-comp,
body.single-product .specs {
  margin-top: 20px;
  border-top: 1px solid var(--cw-line);
  padding-top: 14px;
}

body.single-product .comp-title,
body.single-product .specs-title {
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cw-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

body.single-product .specs-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  padding: 3px 0;
}

body.single-product .specs-row span {
  color: var(--cw-muted);
}

body.single-product .specs-row b {
  font-weight: 500;
  text-align: right;
  color: var(--cw-ink);
}

body.single-product .comp-text,
body.single-product .specs-extra {
  font-size: 13px;
  color: #5f5f58;
  line-height: 1.6;
  margin-top: 8px;
}

/* Akordeon — pełna szerokość pod kolumnami */
body.single-product .accord,
body.single-product .cw-product-accordions,
body.single-product .accordion {
  margin-top: 20px;
  border-top: 1px solid var(--cw-line);
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0 8px;
}

body.single-product .accord-item,
body.single-product .cw-product-acc {
  border-bottom: 1px solid var(--cw-line);
  border-top: none;
  display: block;
}

body.single-product .accord-trigger,
body.single-product .cw-product-acc summary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 2px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--cw-ink);
  letter-spacing: 0;
  text-align: left;
  list-style: none;
  font-family: inherit;
}

body.single-product .cw-product-acc summary::-webkit-details-marker {
  display: none;
}

body.single-product .cw-product-acc__chev {
  flex-shrink: 0;
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  color: var(--cw-muted);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8b86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / 18px 18px no-repeat !important;
  transform: none !important;
  transition: transform 0.25s ease;
}

body.single-product .cw-product-acc__chev::before {
  content: none !important;
  display: none !important;
}

body.single-product .cw-product-acc[open] .cw-product-acc__chev {
  transform: rotate(180deg) !important;
}

body.single-product .cw-product-acc[open] .cw-product-acc__chev::before {
  content: none !important;
  transform: none !important;
}

body.single-product .accord-body,
body.single-product .cw-product-acc__body {
  font-size: 14px;
  color: #5f5f58;
  line-height: 1.7;
  padding: 0 2px 22px;
}

body.single-product .cw-product-acc__body table {
  width: 100%;
  border-collapse: collapse;
}

body.single-product .cw-product-acc__body td,
body.single-product .cw-product-acc__kv {
  padding: 9px 0;
  border-bottom: 1px solid var(--cw-line);
  font-size: 13.5px;
}

body.single-product .cw-product-acc__k {
  color: var(--cw-muted);
  display: inline-block;
  min-width: 45%;
}

body.single-product .cw-product-acc__ident {
  display: flex;
  flex-direction: column;
}

/* Polecane */
body.single-product .similar,
body.single-product .rec {
  clear: both !important;
  float: none !important;
  width: 100% !important;
  max-width: 1080px;
  margin: 60px auto 0;
  padding: 0;
  border-top: none;
  box-sizing: border-box;
  overflow-x: clip;
}

body.single-product .similar-header,
body.single-product .rec-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: none;
  padding-bottom: 0;
  min-width: 0;
}

body.single-product .similar-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  min-width: 0;
}

body.single-product .similar-link,
body.single-product .rec-more {
  font-size: 13px;
  color: var(--cw-muted);
  text-decoration: none;
  letter-spacing: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

body.single-product .similar-link:hover,
body.single-product .rec-more:hover {
  color: var(--cw-ink);
}

body.single-product .similar .related.products {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

body.single-product .similar .related.products > h2 {
  display: none;
}

body.single-product .similar-grid,
body.single-product .similar .related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

body.single-product .similar .related.products ul.products::before,
body.single-product .similar .related.products ul.products::after {
  display: none !important;
  content: none !important;
}

body.single-product .similar .related.products ul.products > li.product {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box;
}

/* Karty w polecanych — pełna szerokość komórki (nie fixed 200px ze sklepu/home) */
body.single-product .similar .cw-product-card,
body.single-product .similar .cw-product-card--shop,
body.single-product .similar .cw-product-card--home {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex-shrink: 1 !important;
  box-sizing: border-box;
}

body.single-product .cw-product-variations {
  margin: 0;
}

body.single-product .cw-product-summary table.variations,
body.single-product .cw-product-summary .variations {
  width: 100%;
  border: 0;
}

body.single-product .cw-product-summary table.variations td,
body.single-product .cw-product-summary table.variations th {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
}

body.single-product .cw-product-summary table.variations th.label {
  display: none;
}

body.single-product .cw-var-size-field > .opt-label,
body.single-product .cw-var-color-field > .opt-label {
  display: block !important;
  font-size: 13px;
  color: var(--cw-muted);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
  background: none;
  padding: 0;
  text-transform: none;
  font-weight: 400;
}

body.single-product .divider {
  display: none;
}

@media (max-width: 860px) {
  body.single-product .cw-product {
    padding: 26px 15px 48px;
  }

  body.single-product .product-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body.single-product .gallery,
  body.single-product .cw-product-gallery {
    position: static;
    flex-direction: column;
    width: 100%;
  }

  body.single-product .gallery-strip,
  body.single-product .cw-product-gallery__thumbs-col {
    order: 2;
    flex-direction: row;
    width: auto;
    margin-top: 2px;
  }

  body.single-product .cw-product-gallery__thumbs {
    flex-direction: row;
    width: 100%;
    gap: 12px;
  }

  body.single-product .gthumb,
  body.single-product .cw-product-gallery__thumb {
    flex: 1;
    width: auto;
    aspect-ratio: 4 / 5;
  }

  body.single-product .gallery-main,
  body.single-product .cw-product-gallery__main {
    order: 1;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }

  body.single-product .gallery,
  body.single-product .cw-product-gallery {
    max-width: 100%;
  }

  body.single-product .similar,
  body.single-product .rec {
    overflow: visible;
  }

  /* Mobile — slider lewo/prawo zamiast siatki */
  body.single-product .similar-grid,
  body.single-product .similar .related.products ul.products {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    margin-left: -15px !important;
    margin-right: -15px !important;
    padding: 0 15px 6px !important;
    width: calc(100% + 30px) !important;
    max-width: none !important;
    grid-template-columns: none !important;
  }

  body.single-product .similar-grid::-webkit-scrollbar,
  body.single-product .similar .related.products ul.products::-webkit-scrollbar {
    display: none;
  }

  body.single-product .similar .related.products ul.products > li.product {
    flex: 0 0 158px !important;
    width: 158px !important;
    max-width: 158px !important;
    min-width: 158px !important;
    scroll-snap-align: start;
  }

  body.single-product .similar .cw-product-card,
  body.single-product .similar .cw-product-card--shop,
  body.single-product .similar .cw-product-card--home {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 480px) {
  body.single-product .product_title,
  body.single-product .product-title {
    font-size: 25px;
  }

  body.single-product .product-wrap {
    gap: 24px;
  }

  /* Dropdown rozmiaru ponad koszykiem / trust — bez przycinania */
  body.single-product .cw-product-summary table.variations,
  body.single-product .cw-product-summary table.variations tbody,
  body.single-product .cw-product-summary table.variations tr,
  body.single-product .cw-product-summary table.variations td,
  body.single-product .cw-product-summary table.variations td.value,
  body.single-product .cw-product-variations,
  body.single-product .cw-var-size-field,
  body.single-product .cw-product-summary form.cart,
  body.single-product .cw-product-summary .single_variation_wrap {
    overflow: visible !important;
  }

  body.single-product .cw-var-size__trigger {
    display: flex;
  }

  body.single-product .cw-var-size.is-open {
    z-index: 120;
  }

  body.single-product .cw-var-size__list {
    display: none !important;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 120;
    grid-template-columns: 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid var(--cw-line-2);
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.28);
    max-height: 260px;
    overflow-y: auto;
  }

  body.single-product .cw-var-size__list[hidden] {
    display: none !important;
  }

  body.single-product .cw-var-size.is-open .cw-var-size__list,
  body.single-product .cw-var-size.is-open .cw-var-size__list[hidden] {
    display: block !important;
  }

  body.single-product .cw-var-size__row {
    border: none;
    border-radius: 0;
    border-top: 1px solid var(--cw-line);
    padding: 12px 14px;
    justify-content: flex-start;
    background: #fff;
  }

  body.single-product .cw-var-size__row:first-child {
    border-top: none;
  }

  body.single-product .cw-var-size__row:hover {
    background: #f5f5f4;
    border-color: var(--cw-line);
  }

  body.single-product .cw-var-size__row.is-selected {
    background: #fafafa;
    border: none;
    border-top: 1px solid var(--cw-line);
    font-weight: 500;
  }

  body.single-product .cw-var-size__row.is-selected:first-child {
    border-top: none;
  }

  body.single-product .cw-product-trust,
  body.single-product .trust {
    gap: 8px;
  }

  body.single-product .cw-product-trust__tile,
  body.single-product .trust-tile {
    padding: 10px 5px;
    gap: 6px;
  }

  body.single-product .cw-product-trust__icon,
  body.single-product .trust-ico,
  body.single-product .cw-product-trust__icon svg,
  body.single-product .trust-ico svg {
    width: 22px;
    height: 22px;
  }

  body.single-product .cw-product-trust__title,
  body.single-product .trust-t {
    font-size: 11px;
    line-height: 1.25;
  }

  body.single-product .cw-product-trust__sub,
  body.single-product .trust-s {
    font-size: 10.5px;
  }

  body.single-product .similar-title {
    font-size: 19px;
  }

  body.single-product .similar .related.products ul.products > li.product {
    flex-basis: 148px !important;
    width: 148px !important;
    max-width: 148px !important;
    min-width: 148px !important;
  }
}
