/* Karta produktu — mockup kartaproduktu (1180px, Helvetica + Courier) */

body.single-product.cw-single-product-page,
body.cw-single-product-page {
  --fw-navy: #0e1a2b;
  --fw-navy-2: #1b2c44;
  --fw-gold: #c19a5b;
  --fw-gold-d: #a9823f;
  --fw-muted: #7b8494;
  --fw-line: #e6e6e2;
  --fw-grey: #f3f2ee;
  --fw-r: 5px;
  --fw-font: "Helvetica Neue", Arial, "Segoe UI", system-ui, sans-serif;
  --fw-mono: "Courier New", ui-monospace, monospace;
  font-family: var(--fw-font);
  -webkit-font-smoothing: antialiased;
}

body.single-product .woocommerce,
body.single-product .woocommerce .cw-product,
body.single-product .woocommerce .cw-product-summary,
body.single-product .woocommerce .similar {
  font-family: var(--fw-font);
}

body.single-product .woocommerce .mono,
body.single-product .woocommerce .up.mono,
body.single-product .woocommerce .cw-product-breadcrumb,
body.single-product .woocommerce .cw-product-cat,
body.single-product .woocommerce .cw-product-sku,
body.single-product .woocommerce .cw-product-price-block__vat,
body.single-product .woocommerce .cw-product-price-block__omnibus,
body.single-product .woocommerce .deliv-qty,
body.single-product .woocommerce .deliv-price,
body.single-product .woocommerce .col-name,
body.single-product .woocommerce .cw-var-color__picked,
body.single-product .woocommerce .similar-title,
body.single-product .woocommerce .cw-product-gallery__counter {
  font-family: var(--fw-mono);
}

body.single-product .site-main,
body.cw-single-product-page .site-main {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.woocommerce div.product.cw-product::before,
.woocommerce div.product.cw-product::after {
  display: none !important;
  content: none !important;
}

.woocommerce div.product.cw-product .product-info,
.woocommerce div.product.cw-product .product-wrap,
.woocommerce div.product.cw-product .gallery,
.woocommerce div.product.cw-product .cw-product-gallery,
.woocommerce div.product.cw-product div.images,
.woocommerce div.product.cw-product div.summary {
  float: none !important;
  clear: none !important;
}

/* Breadcrumb / okruszki — 1180 jak karta */
body.single-product .woocommerce .breadcrumb-inner,
body.cw-single-product-page .woocommerce .breadcrumb-inner {
  max-width: 1180px !important;
  width: 100%;
  margin: 0 auto;
  padding: 24px clamp(16px, 2.5vw, 32px) 0;
  font-size: 10px;
  color: var(--fw-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--fw-mono);
  box-sizing: border-box;
}

body.single-product .woocommerce .breadcrumb,
body.cw-single-product-page .woocommerce .cw-product-breadcrumb {
  border-bottom: none;
  display: block !important;
  visibility: visible !important;
  margin: 0;
  padding: 0;
}

body.single-product .woocommerce .breadcrumb-inner a {
  color: var(--fw-muted);
  text-decoration: none;
}

body.single-product .woocommerce .breadcrumb-inner a:hover {
  color: var(--fw-navy);
}

body.single-product .woocommerce .breadcrumb-inner .crumb-sep {
  color: var(--fw-muted);
  font-weight: 600;
}

body.single-product .woocommerce .breadcrumb-inner b,
body.single-product .woocommerce .breadcrumb-inner span[aria-current="page"],
body.single-product .woocommerce .breadcrumb-inner b[aria-current="page"] {
  color: var(--fw-gold-d);
  font-weight: 700;
}

/* Layout 2 kolumny — 1180 jak kartaproduktu */
body.single-product .woocommerce div.product.cw-product .product-wrap {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 44px !important;
  align-items: start !important;
  justify-content: stretch !important;
  flex-wrap: unset !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 28px clamp(16px, 2.5vw, 32px) 0 !important;
  box-sizing: border-box !important;
}

body.single-product .woocommerce div.product.cw-product .product-wrap > .gallery,
body.single-product .woocommerce div.product.cw-product .product-wrap > .cw-product-gallery {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: none !important;
  position: sticky !important;
  top: 16px;
  align-self: start;
}

body.single-product .woocommerce div.product.cw-product .product-info,
body.single-product .woocommerce div.product.cw-product .cw-product-summary.product-info,
body.single-product .woocommerce .product-wrap .cw-product-summary {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: none !important;
  flex-shrink: 1 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  box-sizing: border-box !important;
}

/* Galeria — zdjęcie + miniatury pod spodem */
body.single-product .woocommerce .cw-product-gallery {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: none !important;
}

body.single-product .woocommerce .cw-product-gallery__main {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  aspect-ratio: 4 / 5;
  height: auto !important;
  overflow: hidden;
  background: #fff;
  border: 0 !important;
  border-radius: 8px;
  box-shadow: none !important;
}

body.single-product .woocommerce .cw-product-gallery__stage {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  aspect-ratio: unset !important;
  position: relative;
  display: block !important;
  overflow: hidden;
  background: #fff;
}

body.single-product .woocommerce .cw-product-gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

body.single-product .woocommerce .cw-product-gallery__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  height: 100%;
}

body.single-product .woocommerce .cw-product-gallery__zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

body.single-product .woocommerce .cw-product-gallery__img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain;
  object-position: center center;
  transform-origin: center center;
  transition: transform 0.12s ease-out;
  will-change: transform;
}

/* Zoom jak kartaproduktu — scale pod kursorem (origin = mysz) */
body.single-product .woocommerce .cw-product-gallery__main.zoom .cw-product-gallery__slide.is-active .cw-product-gallery__img,
body.single-product .woocommerce .cw-product-gallery__main.is-zooming .cw-product-gallery__slide.is-active .cw-product-gallery__img {
  transform: scale(1.55);
  transition: none;
}

body.single-product .woocommerce .cw-product-gallery__zoom-layer {
  display: none !important;
}

body.single-product .woocommerce .cw-product-gallery__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: var(--fw-gold);
  color: var(--fw-navy);
  font-size: 9px;
  font-weight: 800;
  padding: 7px 12px;
  border-radius: var(--fw-r);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.single-product .woocommerce .cw-product-gallery__zoom-ic {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: var(--fw-r);
  background: #fff;
  border: 1px solid var(--fw-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fw-navy);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

body.single-product .woocommerce .cw-product-gallery__counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  z-index: 3;
  font-size: 10px;
  color: var(--fw-navy);
  background: rgba(255, 255, 255, 0.7);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: var(--fw-mono);
}

body.single-product .woocommerce .cw-product-gallery__down,
body.single-product .woocommerce .cw-product-gallery__loupe,
body.single-product .woocommerce .cw-product-gallery__thumbs-col--placeholder,
body.single-product .woocommerce .cw-product-gallery__thumbs-col--spacer {
  display: none !important;
}

/* Miniatury — poziomo; przy overflow ostatni kafelek = strzałka */
body.single-product .woocommerce .cw-product-gallery__thumbs-col {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  height: auto !important;
  align-items: stretch;
  overflow: visible !important;
}

body.single-product .woocommerce .cw-product-gallery__thumbs-scroll {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: visible;
}

body.single-product .woocommerce .cw-product-gallery__thumbs-col[data-overflow="1"] .cw-product-gallery__thumbs-scroll {
  grid-column: 1 / span 3;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  container-type: inline-size;
}

body.single-product .woocommerce .cw-product-gallery__thumbs-col[data-overflow="1"] .cw-product-gallery__thumbs-scroll::-webkit-scrollbar {
  display: none;
}

body.single-product .woocommerce .cw-product-gallery__thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  flex-direction: unset !important;
  max-height: none !important;
  overflow: visible !important;
  width: 100%;
}

body.single-product .woocommerce .cw-product-gallery__thumbs-col[data-overflow="1"] .cw-product-gallery__thumbs {
  display: flex !important;
  grid-template-columns: none !important;
  width: max-content;
  min-width: 100%;
}

body.single-product .woocommerce .cw-product-gallery__thumbs-col[data-overflow="1"] .cw-product-gallery__thumb {
  flex: 0 0 calc((100cqw - 24px) / 3);
  width: calc((100cqw - 24px) / 3);
  max-width: none;
}

body.single-product .woocommerce .cw-product-gallery__more {
  display: none;
  grid-column: 4;
  aspect-ratio: 4 / 5;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-r);
  background: #fff;
  color: var(--fw-navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

body.single-product .woocommerce .cw-product-gallery__thumbs-col[data-overflow="1"] .cw-product-gallery__more {
  display: flex;
}

body.single-product .woocommerce .cw-product-gallery__more:hover {
  background: var(--fw-grey);
  border-color: var(--fw-navy);
}

body.single-product .woocommerce .cw-product-gallery__more.is-at-end .cw-product-gallery__more-icon--next {
  display: none;
}

body.single-product .woocommerce .cw-product-gallery__more.is-at-end .cw-product-gallery__more-icon--top {
  display: block;
}

body.single-product .woocommerce .cw-product-gallery__more:not(.is-at-end) .cw-product-gallery__more-icon--next {
  display: block;
}

body.single-product .woocommerce .cw-product-gallery__more:not(.is-at-end) .cw-product-gallery__more-icon--top {
  display: none;
}

body.single-product .woocommerce .cw-product-gallery__thumb {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #fff;
  border: 0 !important;
  border-radius: var(--fw-r);
  padding: 0;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
  opacity: 0.55;
  transition: opacity 0.15s ease;
}

body.single-product .woocommerce .cw-product-gallery__thumb:hover {
  opacity: 0.85;
}

body.single-product .woocommerce .cw-product-gallery__thumb.is-active,
body.single-product .woocommerce .cw-product-gallery__thumb.active {
  outline: none !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: 1;
}

body.single-product .woocommerce .cw-product-gallery__thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center center;
  display: block;
}

/* Meta */
body.single-product .woocommerce .cw-product-cat {
  font-size: 10px;
  color: var(--fw-gold-d);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--fw-mono);
}

body.single-product .woocommerce .cw-product-cat a {
  color: inherit;
  text-decoration: none;
}

body.single-product .woocommerce .product_title,
body.single-product .woocommerce .cw-product-summary .product_title {
  font-family: var(--fw-font) !important;
  font-size: 24px !important;
  line-height: 1 !important;
  margin: 0 0 6px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  text-transform: uppercase;
  color: var(--fw-navy) !important;
}

/* Ocena pod tytułem — czarne gwiazdki, tylko gdy są opinie */
body.single-product .woocommerce .cw-product-rating {
  display: block !important;
  margin: 0 0 10px;
}

body.single-product .woocommerce .cw-product-rating__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: inherit;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-product .woocommerce .cw-product-rating__link:hover .cw-product-rating__meta {
  color: var(--fw-navy);
}

body.single-product .woocommerce .cw-product-rating__stars {
  position: relative;
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 1px;
  width: 5.2em;
  height: 1em;
  vertical-align: middle;
}

body.single-product .woocommerce .cw-product-rating__stars-bg,
body.single-product .woocommerce .cw-product-rating__stars-fill {
  display: block;
  white-space: nowrap;
  overflow: hidden;
}

body.single-product .woocommerce .cw-product-rating__stars-bg {
  color: #d8d6cf;
}

body.single-product .woocommerce .cw-product-rating__stars-fill {
  position: absolute;
  left: 0;
  top: 0;
  color: #0e1a2b;
  width: 0;
}

body.single-product .woocommerce .cw-product-rating__meta {
  font-size: 12px;
  color: var(--fw-muted);
  font-weight: 500;
  line-height: 1;
}

body.single-product .woocommerce .cw-product-rating__count {
  font-weight: 400;
}

body.single-product .woocommerce .cw-product-sku {
  font-size: 10px;
  color: var(--fw-muted);
  margin: 0 0 22px;
  font-family: var(--fw-mono);
}

/* Cena — wiersz */
body.single-product .woocommerce .cw-product-price-block {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  border-top: 1px solid var(--fw-line) !important;
  border-bottom: 1px solid var(--fw-line) !important;
  padding: 18px 0 !important;
  margin: 0 0 24px !important;
  visibility: visible !important;
}

body.single-product .woocommerce .cw-product-price-block__main {
  display: flex !important;
  align-items: baseline;
  gap: 10px;
  margin: 0 !important;
  flex: 1 1 auto;
}

body.single-product .woocommerce .cw-product-price-block__amount,
body.single-product .woocommerce .cw-product-price-block__amount.price,
body.single-product .woocommerce .cw-product-price-block .price,
body.single-product .woocommerce .cw-product-price-block__amount .woocommerce-Price-amount,
body.single-product .woocommerce .cw-product-price-block__amount .amount {
  display: inline !important;
  visibility: visible !important;
  font-family: inherit !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: var(--fw-navy) !important;
  line-height: 1 !important;
  opacity: 1 !important;
}

body.single-product .woocommerce .cw-product-price-block__regular {
  font-size: 15px !important;
  color: var(--fw-muted) !important;
  text-decoration: line-through !important;
  margin: 0 !important;
}

body.single-product .woocommerce .cw-product-price-block__saving {
  font-size: 10px !important;
  font-weight: 800 !important;
  color: var(--fw-gold-d) !important;
  border: 1px solid var(--fw-gold) !important;
  background: transparent !important;
  padding: 4px 8px !important;
  border-radius: var(--fw-r) !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 !important;
}

body.single-product .woocommerce .cw-product-price-block__vat {
  font-size: 11px !important;
  color: var(--fw-muted) !important;
  margin-left: auto !important;
  font-family: var(--fw-mono);
}

body.single-product .woocommerce .cw-product-price-block__omnibus {
  flex-basis: 100%;
  font-size: 11px !important;
  color: var(--fw-muted) !important;
  margin: 0 !important;
}

body.single-product .woocommerce .cw-product-price-block__regular--hidden,
body.single-product .woocommerce .cw-product-price-block__omnibus--hidden,
body.single-product .woocommerce .cw-product-price-block__saving--hidden {
  display: none !important;
}

/* Warianty — Rozmiar przed Kolorem */
body.single-product .woocommerce table.variations tbody {
  display: flex !important;
  flex-direction: column !important;
}

body.single-product .woocommerce table.variations tr:has(.cw-var-size-field) {
  order: 1;
}

body.single-product .woocommerce table.variations tr:has(.cw-var-color-field) {
  order: 2;
}

body.single-product .woocommerce table.variations tr {
  order: 3;
}

/* Warianty */
body.single-product .woocommerce .opt-label {
  font-size: 10px !important;
  color: var(--fw-navy) !important;
  margin: 0 0 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: none !important;
  padding: 0 !important;
  display: block !important;
  width: 100% !important;
  overflow: visible !important;
}

body.single-product .woocommerce .opt-label .cw-size-guide-link {
  float: right;
  color: var(--fw-gold-d) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: 0.16em;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  font-family: var(--fw-mono) !important;
}

body.single-product .woocommerce .opt-label .cw-size-guide-link:hover {
  color: var(--fw-navy) !important;
}

body.single-product .woocommerce .cw-var-size-field {
  display: flex;
  flex-direction: column;
  margin: 0 0 12px;
  width: 100%;
}

body.single-product .woocommerce .cw-var-color-field {
  display: flex;
  flex-direction: column;
  margin: 0 0 12px;
  width: 100%;
}

body.single-product .woocommerce .cw-var-size--buttons .cw-var-size__list,
body.single-product .woocommerce .cw-var-size--buttons .sizes {
  position: static !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  max-height: none !important;
  height: auto !important;
  min-height: 48px !important;
  width: 100% !important;
  overflow: visible !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 4px 0 0 !important;
  list-style: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.single-product .woocommerce .cw-var-size--buttons .cw-var-size__list[hidden] {
  display: flex !important;
}

body.single-product .woocommerce .cw-var-size--buttons .cw-size-tip-wrap,
body.single-product .woocommerce .cw-var-size--buttons .size-wrap.cw-size-tip-wrap {
  position: relative !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
}

body.single-product .woocommerce .cw-var-size--buttons .cw-var-size__row,
body.single-product .woocommerce .cw-var-size--buttons .size {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  place-content: center !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  min-width: 54px !important;
  width: auto !important;
  max-width: none !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--fw-line) !important;
  border-radius: var(--fw-r) !important;
  background: #fff !important;
  font-family: var(--fw-font) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #3a4353 !important;
  cursor: pointer;
  box-shadow: none !important;
  text-align: center !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  gap: 0 !important;
  float: none !important;
  text-indent: 0 !important;
  transition: border-color 0.13s, background 0.13s, color 0.13s;
}

body.single-product .woocommerce .cw-var-size--buttons .cw-var-size__row::-moz-focus-inner,
body.single-product .woocommerce .cw-var-size--buttons .size::-moz-focus-inner {
  border: 0 !important;
  padding: 0 !important;
}

body.single-product .woocommerce .cw-var-size--buttons .cw-var-size__row:hover,
body.single-product .woocommerce .cw-var-size--buttons .size:hover {
  border-color: var(--fw-navy) !important;
}

body.single-product .woocommerce .cw-var-size--buttons .cw-var-size__row.active,
body.single-product .woocommerce .cw-var-size--buttons .cw-var-size__row.is-active,
body.single-product .woocommerce .cw-var-size--buttons .size.active {
  background: var(--fw-navy) !important;
  color: #fff !important;
  border-color: var(--fw-navy) !important;
  text-decoration: none !important;
}

body.single-product .woocommerce .cw-var-size--buttons .cw-var-size__row.unavail,
body.single-product .woocommerce .cw-var-size--buttons .size.unavail {
  color: var(--fw-muted) !important;
  text-decoration: line-through !important;
  text-decoration-color: var(--fw-gold) !important;
  border-style: dashed !important;
  cursor: help !important;
  background: #fff !important;
}

body.single-product .woocommerce .cw-var-size--buttons .cw-var-size__row.unavail:hover,
body.single-product .woocommerce .cw-var-size--buttons .size.unavail:hover {
  border-color: var(--fw-gold) !important;
  color: var(--fw-navy) !important;
}

body.single-product .woocommerce .cw-var-size--buttons .tip,
body.single-product .woocommerce .cw-size-tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px) scale(0.96);
  width: 220px;
  background: var(--fw-navy);
  color: #fff;
  border-radius: var(--fw-r);
  padding: 14px 15px;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transition: 0.18s;
  box-shadow: 0 12px 30px rgba(14, 26, 43, 0.28);
  pointer-events: none;
  text-align: left;
  box-sizing: border-box;
}

body.single-product .woocommerce .cw-size-tip-wrap:hover .tip,
body.single-product .woocommerce .cw-size-tip-wrap .tip.show,
body.single-product .woocommerce .cw-var-size--buttons .size-wrap:hover .tip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

body.single-product .woocommerce .cw-var-size--buttons .tip::after,
body.single-product .woocommerce .cw-size-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--fw-navy);
}

body.single-product .woocommerce .cw-var-size--buttons .tip b,
body.single-product .woocommerce .cw-size-tip b {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 5px;
  color: #fff;
  text-decoration: none;
}

body.single-product .woocommerce .cw-var-size--buttons .tip span,
body.single-product .woocommerce .cw-size-tip span {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: #c3ccd8;
  margin-bottom: 9px;
}

body.single-product .woocommerce .cw-var-size--buttons .tip a,
body.single-product .woocommerce .cw-size-tip a {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: var(--fw-gold);
  text-decoration: none;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--fw-gold);
  padding-bottom: 1px;
}

body.single-product .woocommerce .cw-var-size--buttons .tip a:hover,
body.single-product .woocommerce .cw-size-tip a:hover {
  color: #fff;
  border-color: #fff;
}

@media (max-width: 560px) {
  body.single-product .woocommerce .cw-var-size--buttons .tip,
  body.single-product .woocommerce .cw-size-tip {
    left: 0;
    transform: translateX(0) translateY(6px) scale(0.96);
    width: min(240px, 78vw);
  }

  body.single-product .woocommerce .cw-size-tip-wrap:hover .tip,
  body.single-product .woocommerce .cw-size-tip-wrap .tip.show {
    transform: translateX(0) translateY(0) scale(1);
  }

  body.single-product .woocommerce .cw-var-size--buttons .tip::after,
  body.single-product .woocommerce .cw-size-tip::after {
    left: 26px;
    transform: none;
  }
}

body.single-product .woocommerce .cw-var-size__native,
body.single-product .woocommerce .cw-var-color__native,
body.single-product .woocommerce .cw-var-size select,
body.single-product .woocommerce .cw-var-size-field select {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  appearance: none !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .woocommerce .cw-var-size {
  position: relative;
  width: 100%;
}

body.single-product .woocommerce .cw-var-size__trigger,
body.single-product .woocommerce .size-select {
  display: none !important;
}

body.single-product .woocommerce table.variations,
body.single-product .woocommerce table.variations th,
body.single-product .woocommerce table.variations td {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  overflow: visible !important;
}

body.single-product .woocommerce table.variations td.value {
  overflow: visible !important;
  clip-path: none !important;
}

body.single-product .woocommerce table.variations .label {
  display: none;
}

body.single-product .woocommerce .cw-var-color {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 0;
  overflow: visible !important;
}

body.single-product .woocommerce .cw-var-color__track {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-height: none !important;
  overflow: visible !important;
  grid-template-columns: none !important;
  padding: 3px;
  margin: -3px;
}

body.single-product .woocommerce .cw-var-color__btn {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  padding: 0 !important;
  overflow: visible !important;
  background: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.13s ease;
  flex-shrink: 0;
}

body.single-product .woocommerce .cw-var-color__btn:hover {
  transform: translateY(-2px);
}

body.single-product .woocommerce .cw-var-color__btn.is-active,
body.single-product .woocommerce .cw-var-color__btn.active {
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--fw-navy);
  outline: none !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  z-index: 1;
}

/* Check na wybranym kolorze — biały; na jasnych (np. biały) czarny */
body.single-product .woocommerce .cw-var-color__btn.is-active::after,
body.single-product .woocommerce .cw-var-color__btn.active::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  z-index: 2;
  pointer-events: none;
  background-color: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l5 5L19 7' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l5 5L19 7' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.single-product .woocommerce .cw-var-color__btn--light.is-active::after,
body.single-product .woocommerce .cw-var-color__btn--light.active::after,
body.single-product .woocommerce .cw-var-color__btn.is-active:has(.cw-var-color__swatch--light)::after,
body.single-product .woocommerce .cw-var-color__btn.active:has(.cw-var-color__swatch--light)::after {
  background-color: var(--fw-navy);
}

body.single-product .woocommerce .cw-var-color__swatch,
body.single-product .woocommerce .cw-var-color__fallback {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

body.single-product .woocommerce .cw-var-color__swatch--light,
body.single-product .woocommerce .cw-var-color__fallback--light {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

body.single-product .woocommerce .cw-var-color__img {
  display: none !important;
}

body.single-product .woocommerce .cw-var-color__picked,
body.single-product .woocommerce .col-name {
  font-size: 11px;
  color: var(--fw-navy);
  font-weight: 700;
  margin: 0;
  font-family: var(--fw-mono);
}

body.single-product .woocommerce .cw-var-color__more {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--fw-line);
  background: #fff;
  font-size: 10px;
  font-weight: 700;
}

body.single-product .woocommerce .variations tr:has(.cw-var-material-hidden) {
  display: none !important;
}

/* CTA: design (opcjonalnie) nad koszykiem + like — jak kartaproduktu */
body.single-product .woocommerce .cw-product-summary form.cart {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 0 28px !important;
  width: 100% !important;
}

/* Woo „Brak w magazynie” — zamiast tego tip na rozmiarze (Chwilowo niedostępny) */
body.single-product .woocommerce .woocommerce-variation-availability,
body.single-product .woocommerce .woocommerce-variation-description,
body.single-product .woocommerce .single_variation .stock,
body.single-product .woocommerce .single_variation_wrap .stock,
body.single-product .woocommerce p.stock {
  display: none !important;
}

/* Cena wariantu tylko u góry (price-current) — ukryj Woo pod kolorami */
body.single-product .woocommerce .woocommerce-variation-price,
body.single-product .woocommerce .single_variation .woocommerce-variation-price,
body.single-product .woocommerce .woocommerce-variation .price {
  display: none !important;
}

body.single-product .woocommerce .cw-product-summary .woocommerce-variation-add-to-cart,
body.single-product .woocommerce .cw-product-summary form.cart.cart:not(.variations_form),
body.single-product .woocommerce .cw-product-summary form.cart:not(.variations_form) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 56px !important;
  align-items: stretch !important;
  gap: 10px 10px !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Simple product: form.cart sam jest siatką CTA */
body.single-product .woocommerce .cw-product-summary form.cart:not(.variations_form) {
  margin-bottom: 28px !important;
}

body.single-product .woocommerce .cw-product-summary form.variations_form {
  gap: 0 !important;
  margin-bottom: 28px !important;
}

/* Woo „Wyczyść” po wyborze wariantu — zbędne */
body.single-product .woocommerce .reset_variations,
body.single-product .woocommerce a.reset_variations {
  display: none !important;
}

body.single-product .woocommerce .cw-product-summary form.variations_form .woocommerce-variation-add-to-cart {
  margin-top: 0 !important;
}

body.single-product .woocommerce .cw-product-summary .quantity {
  display: none !important;
}

/* Design — spokojny obrys, nie „duży CTA” */
body.single-product .woocommerce .btn-design,
body.single-product .woocommerce .cw-product-zaprojektuj__btn {
  grid-column: 1 / -1 !important;
  order: unset !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  cursor: pointer;
  border: 1px solid var(--fw-gold) !important;
  border-radius: var(--fw-r);
  background: #fff !important;
  color: var(--fw-navy) !important;
  padding: 14px 16px !important;
  margin: 0 0 2px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.25 !important;
  text-transform: uppercase;
  text-decoration: none !important;
  box-sizing: border-box;
  box-shadow: none !important;
  transition: background 0.18s, border-color 0.18s;
}

body.single-product .woocommerce .btn-design svg,
body.single-product .woocommerce .cw-product-zaprojektuj__btn svg {
  width: 16px !important;
  height: 16px !important;
  color: var(--fw-gold-d);
  flex-shrink: 0;
}

body.single-product .woocommerce .btn-design:hover,
body.single-product .woocommerce .cw-product-zaprojektuj__btn:hover {
  background: var(--fw-grey) !important;
  border-color: var(--fw-gold-d) !important;
  color: var(--fw-navy) !important;
}

/* Zamów z logo — link akcent + panel + dropzone */
body.single-product .woocommerce .cw-logo-order-wrap {
  width: 100%;
  margin: 6px 0 12px;
  text-align: center;
}

body.single-product .woocommerce .cw-product-logo-order {
  display: inline !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
  text-decoration: none !important;
  font-family: var(--fw-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: var(--fw-gold-d) !important;
  cursor: pointer;
  transition: color 0.15s;
}

body.single-product .woocommerce .cw-product-logo-order:hover,
body.single-product .woocommerce .cw-logo-order-wrap.is-open .cw-product-logo-order {
  background: transparent !important;
  border: 0 !important;
  color: var(--fw-navy) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

body.single-product .woocommerce .cw-product-logo-order__hint {
  display: inline;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: inherit;
  opacity: 0.72;
}

body.single-product .woocommerce .cw-logo-order-panel {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(14, 26, 43, 0.08);
  border-radius: 8px;
  background: #fafbfc;
  box-shadow: none;
  text-align: left;
}

body.single-product .woocommerce .cw-logo-order-panel[hidden] {
  display: none !important;
}

body.single-product .woocommerce .cw-logo-order-panel.is-open {
  animation: cwLogoPanelIn 0.15s ease;
}

@keyframes cwLogoPanelIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.single-product .woocommerce .cw-logo-order-panel__alerts {
  margin: 0 0 8px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #fff5f5;
  border: 1px solid #f0c7c7;
  color: #8b2e2e;
  font-size: 12px;
}

body.single-product .woocommerce .cw-logo-order-panel__alerts ul {
  margin: 0;
  padding-left: 1rem;
}

body.single-product .woocommerce .cw-logo-order-panel__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.single-product .woocommerce .cw-logo-order-panel__fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.single-product .woocommerce .cw-logo-order-panel__fieldset legend {
  margin: 0 0 4px;
  padding: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fw-muted);
}

body.single-product .woocommerce .cw-logo-order-panel__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.single-product .woocommerce .cw-logo-order-panel__field--qty {
  max-width: 88px;
}

body.single-product .woocommerce .cw-logo-order-panel__field > label,
body.single-product .woocommerce .cw-logo-order-panel__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fw-muted);
}

body.single-product .woocommerce .cw-logo-order-panel__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.single-product .woocommerce .cw-logo-order-panel__opt {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #a3a8b3;
}

body.single-product .woocommerce .cw-logo-order-panel__field input[type='text'],
body.single-product .woocommerce .cw-logo-order-panel__field input[type='number'],
body.single-product .woocommerce .cw-logo-order-panel__field select {
  box-sizing: border-box;
  width: 100%;
  min-height: 32px;
  padding: 5px 8px;
  border: 1px solid #e1e4ea;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  color: var(--fw-navy);
  font-family: var(--fw-font);
  transition: border-color 0.15s;
}

body.single-product .woocommerce .cw-logo-order-panel__field input:focus,
body.single-product .woocommerce .cw-logo-order-panel__field select:focus,
body.single-product .woocommerce .cw-logo-order-panel__sizes input:focus {
  outline: none;
  border-color: var(--fw-gold);
}

body.single-product .woocommerce .cw-logo-order-panel__hint {
  display: none;
}

body.single-product .woocommerce .cw-logo-order-panel__sizes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e6e8ee;
  border-radius: 6px;
  background: #fff;
}

body.single-product .woocommerce .cw-logo-order-panel__sizes li {
  flex: 1 0 auto;
  min-width: 52px;
  border-right: 1px solid #eef0f4;
}

body.single-product .woocommerce .cw-logo-order-panel__sizes li:last-child {
  border-right: 0;
}

body.single-product .woocommerce .cw-logo-order-panel__sizes label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px 8px;
  margin: 0;
}

body.single-product .woocommerce .cw-logo-order-panel__size-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--fw-navy);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

body.single-product .woocommerce .cw-logo-order-panel__sizes input {
  box-sizing: border-box;
  width: 44px;
  min-height: 28px;
  padding: 2px;
  border: 1px solid #e1e4ea;
  border-radius: 4px;
  background: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--fw-navy);
  font-family: var(--fw-font);
}

body.single-product .woocommerce .cw-logo-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 7px 10px;
  border: 1px dashed #c5cad3;
  border-radius: 6px;
  background: #f7f7f8;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

body.single-product .woocommerce .cw-logo-drop:hover,
body.single-product .woocommerce .cw-logo-drop.is-dragover {
  border-color: var(--fw-navy);
  background: #f2f2f3;
}

body.single-product .woocommerce .cw-logo-drop.has-file {
  border-style: solid;
  border-color: #c5cad3;
  background: #f7f7f8;
}

body.single-product .woocommerce .cw-logo-drop__input {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  cursor: pointer;
  border: 0 !important;
  background: transparent !important;
}

body.single-product .woocommerce .cw-logo-drop__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 6px;
  background: var(--fw-navy);
  color: #fff;
}

body.single-product .woocommerce .cw-logo-drop__text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  pointer-events: none;
}

body.single-product .woocommerce .cw-logo-drop__title {
  font-size: 12px;
  font-weight: 700;
  color: var(--fw-navy);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.single-product .woocommerce .cw-logo-drop__meta {
  font-size: 10px;
  font-weight: 500;
  color: #8b909b;
  line-height: 1.3;
}

body.single-product .woocommerce .cw-logo-order-panel__pricing {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.single-product .woocommerce .cw-logo-order-panel__pricing-title {
  display: none;
}

body.single-product .woocommerce .cw-logo-order-panel__tiers {
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

body.single-product .woocommerce .cw-logo-order-panel__tiers li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e6e8ee;
  font-size: 10px;
  line-height: 1.3;
  color: #5c6370;
}

body.single-product .woocommerce .cw-logo-order-panel__tiers strong {
  font-weight: 700;
  color: var(--fw-navy);
  white-space: nowrap;
}

body.single-product .woocommerce .cw-logo-order-panel__total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  font-size: 12px;
  color: #5c6370;
}

body.single-product .woocommerce .cw-logo-order-panel__total-sep {
  opacity: 0.45;
}

body.single-product .woocommerce .cw-logo-order-panel__total strong[data-cw-logo-sum] {
  font-size: 13px;
  font-weight: 800;
  color: var(--fw-gold-d);
}

body.single-product .woocommerce .cw-logo-order-panel__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  margin-top: 0;
  padding: 8px 12px;
  border: 1px solid var(--fw-gold);
  border-radius: 6px;
  background: var(--fw-gold);
  color: var(--fw-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--fw-font);
  transition: background 0.15s, border-color 0.15s;
}

body.single-product .woocommerce .cw-logo-order-panel__submit:hover {
  background: var(--fw-gold-d);
  border-color: var(--fw-gold-d);
  color: #fff;
}
body.single-product .woocommerce .single_add_to_cart_button,
body.single-product .woocommerce .cw-product-summary form.cart .single_add_to_cart_button {
  grid-column: 1 !important;
  order: unset !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  border-radius: var(--fw-r) !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px !important;
  border: 1px solid var(--fw-gold) !important;
  background: var(--fw-gold) !important;
  color: var(--fw-navy) !important;
  padding: 16px 16px !important;
  margin: 0 !important;
  box-shadow: none !important;
}

body.single-product .woocommerce .single_add_to_cart_button:hover {
  background: var(--fw-gold-d) !important;
  border-color: var(--fw-gold-d) !important;
  color: #fff !important;
}

body.single-product .woocommerce .single_add_to_cart_button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body.single-product .woocommerce .cw-product-wish,
body.single-product .woocommerce .btn-fav {
  grid-column: 2 !important;
  order: unset !important;
  width: 56px !important;
  flex: none !important;
  max-width: 56px !important;
  height: auto !important;
  min-height: 0 !important;
  align-self: stretch !important;
  border: 1px solid var(--fw-line) !important;
  background: #fff !important;
  border-radius: var(--fw-r) !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--fw-navy) !important;
  font-size: 0 !important;
}

body.single-product .woocommerce .cw-product-wish:hover {
  background: var(--fw-grey) !important;
  border-color: var(--fw-navy) !important;
}

body.single-product .woocommerce .cw-product-wish svg {
  width: 20px !important;
  height: 20px !important;
  display: block;
}

body.single-product .woocommerce .cw-product-wish.is-active,
body.single-product .woocommerce .cw-product-wish[aria-pressed="true"] {
  background: var(--fw-navy) !important;
  border-color: var(--fw-navy) !important;
}

body.single-product .woocommerce .cw-product-wish.is-active svg,
body.single-product .woocommerce .cw-product-wish[aria-pressed="true"] svg {
  fill: var(--fw-gold);
  stroke: var(--fw-gold);
}

/* Bez personalizacji — koszyk zajmuje kolumnę 1 */
body.single-product .woocommerce .woocommerce-variation-add-to-cart:not(:has(.btn-design)) .single_add_to_cart_button,
body.single-product .woocommerce form.cart:not(:has(.btn-design)) .single_add_to_cart_button {
  grid-column: 1 !important;
}

/* Dostawa — płaska lista, bez kafelków */
body.single-product .woocommerce .cw-product-deliv {
  border: 0;
  border-radius: 0;
  margin: 0 0 22px;
  padding: 4px 0 0;
  overflow: visible;
  background: transparent;
}

body.single-product .woocommerce .deliv-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(14, 26, 43, 0.08);
  background: transparent;
}

body.single-product .woocommerce .deliv-row:last-of-type {
  border-bottom: 0;
}

body.single-product .woocommerce .deliv-row > svg {
  width: 18px;
  height: 18px;
  color: var(--fw-navy);
  flex-shrink: 0;
  opacity: 0.75;
}

body.single-product .woocommerce .deliv-row small {
  display: block;
  font-size: 9px;
  color: var(--fw-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

body.single-product .woocommerce .deliv-row b {
  font-size: 12.5px;
  color: var(--fw-navy);
  font-weight: 700;
}

body.single-product .woocommerce .deliv-row > div {
  flex: 1;
  min-width: 0;
}

body.single-product .woocommerce .deliv-qty,
body.single-product .woocommerce .deliv-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--fw-muted);
  font-family: var(--fw-mono);
}

body.single-product .woocommerce .dot-ok,
body.single-product .woocommerce .dot-off {
  width: 18px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

body.single-product .woocommerce .dot-ok::before,
body.single-product .woocommerce .dot-off::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

body.single-product .woocommerce .dot-ok::before {
  background: #2e8b57;
  box-shadow: none;
}

body.single-product .woocommerce .dot-off::before {
  background: #c45c5c;
  box-shadow: none;
}

body.single-product .woocommerce .deliv-row.highlight {
  background: transparent;
}

body.single-product .woocommerce .deliv-row.highlight svg,
body.single-product .woocommerce .deliv-row.highlight .deliv-price {
  color: var(--fw-navy);
  opacity: 0.75;
}

body.single-product .woocommerce .deliv-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(14, 26, 43, 0.08);
  background: transparent;
}

body.single-product .woocommerce .deliv-foot span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--fw-muted);
}

body.single-product .woocommerce .deliv-foot svg {
  width: 14px;
  height: 14px;
  color: var(--fw-gold-d);
  flex-shrink: 0;
}

/* Ukryj stary trust 2×2 jeśli został */
body.single-product .woocommerce .cw-product-trust.trust,
body.single-product .woocommerce .cw-product-trust.perks {
  display: none !important;
}

/* Płatności / certy */
body.single-product .woocommerce .cw-product-pay {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}

body.single-product .woocommerce .pay-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--fw-muted);
  margin-right: 4px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.single-product .woocommerce .pay-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--fw-navy);
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-r);
  padding: 5px 9px;
  background: #fff;
}

body.single-product .woocommerce .cw-product-certs {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

body.single-product .woocommerce .cert {
  font-size: 11px;
  color: var(--fw-gold-d);
  font-weight: 700;
}

/* Skład + accordion — jak kartaproduktu */
body.single-product .woocommerce .cw-product-comp,
body.single-product .woocommerce .comp-block {
  margin: 0;
  padding: 18px 2px 20px;
  border-top: 1px solid var(--fw-line);
}

body.single-product .woocommerce .comp-title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fw-navy);
}

body.single-product .woocommerce .comp-specs,
body.single-product .woocommerce .comp-block .specs {
  margin: 0;
}

body.single-product .woocommerce .comp-specs > div,
body.single-product .woocommerce .comp-block .specs > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px dotted var(--fw-line);
  padding: 9px 0;
  font-size: 12px;
  color: var(--fw-muted);
}

body.single-product .woocommerce .comp-specs > div:last-child,
body.single-product .woocommerce .comp-block .specs > div:last-child {
  border-bottom: none;
}

body.single-product .woocommerce .comp-specs .comp-v,
body.single-product .woocommerce .comp-block .specs .comp-v,
body.single-product .woocommerce .comp-block .specs span:last-child {
  color: var(--fw-navy);
  font-weight: 700;
  text-align: right;
}

body.single-product .woocommerce .comp-text {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--fw-muted);
}

body.single-product .woocommerce .comp-text b {
  color: var(--fw-navy);
  font-weight: 700;
}

body.single-product .woocommerce .cw-product-accordions {
  margin: 0;
  border-top: 0 !important;
}

body.single-product .woocommerce .cw-product-acc {
  border-top: 1px solid var(--fw-line) !important;
  border-bottom: 0 !important;
  display: block;
  background: transparent;
}

body.single-product .woocommerce .cw-product-acc:last-child {
  border-bottom: 1px solid var(--fw-line) !important;
}

body.single-product .woocommerce .cw-product-acc summary {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 18px 2px !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fw-navy) !important;
  list-style: none;
  background: none;
  border: 0;
  gap: 12px;
}

body.single-product .woocommerce .cw-product-acc summary::-webkit-details-marker {
  display: none;
}

body.single-product .woocommerce .cw-product-acc__label {
  flex: 1;
  text-align: left;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

body.single-product .woocommerce .cw-product-acc__chev,
body.single-product .woocommerce .cw-product-acc .plus {
  flex: none;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  min-width: 1em;
  font-family: var(--fw-mono) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: var(--fw-gold-d) !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.single-product .woocommerce .cw-product-acc__chev::before,
body.single-product .woocommerce .cw-product-acc__chev::after {
  content: none !important;
  display: none !important;
}

body.single-product .woocommerce .cw-product-acc__body,
body.single-product .woocommerce .panel-body {
  color: var(--fw-muted);
  font-size: 13px;
  line-height: 1.7;
  padding: 0 2px 20px !important;
}

body.single-product .woocommerce .cw-product-acc__body--prose p {
  margin: 0 0 0.75em;
}

body.single-product .woocommerce .cw-product-acc__body--prose p:last-child {
  margin-bottom: 0;
}

body.single-product .woocommerce .cw-product-acc__body .woocommerce-product-attributes,
body.single-product .woocommerce .cw-product-acc__body table.shop_attributes {
  width: 100%;
  border: 0 !important;
  margin: 0;
}

body.single-product .woocommerce .cw-product-acc__body .woocommerce-product-attributes tr,
body.single-product .woocommerce .cw-product-acc__body table.shop_attributes tr {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px dotted var(--fw-line) !important;
  padding: 9px 0;
  font-size: 12px;
}

body.single-product .woocommerce .cw-product-acc__body .woocommerce-product-attributes tr:last-child,
body.single-product .woocommerce .cw-product-acc__body table.shop_attributes tr:last-child {
  border-bottom: none !important;
}

body.single-product .woocommerce .cw-product-acc__body .woocommerce-product-attributes th,
body.single-product .woocommerce .cw-product-acc__body .woocommerce-product-attributes td,
body.single-product .woocommerce .cw-product-acc__body table.shop_attributes th,
body.single-product .woocommerce .cw-product-acc__body table.shop_attributes td {
  border: 0 !important;
  background: none !important;
  padding: 0 !important;
  font-size: 12px;
  font-weight: 400;
  color: var(--fw-muted);
}

body.single-product .woocommerce .cw-product-acc__body .woocommerce-product-attributes td,
body.single-product .woocommerce .cw-product-acc__body table.shop_attributes td,
body.single-product .woocommerce .cw-product-acc__body table.shop_attributes td p {
  color: var(--fw-navy) !important;
  font-weight: 700 !important;
  text-align: right;
  margin: 0;
}

body.single-product .woocommerce .cw-product-acc__body .comp-specs,
body.single-product .woocommerce .cw-product-acc__body .specs.comp-specs {
  margin: 0 0 4px;
}

body.single-product .woocommerce .cw-product-acc__body .comp-text {
  margin: 12px 0 0;
}

body.single-product .woocommerce .cw-product-staff-hint {
  font-size: 12px;
  color: var(--fw-muted);
  margin: 0 0 12px;
}

body.single-product .woocommerce .divider,
body.single-product .woocommerce .woocommerce-product-rating {
  display: none !important;
}

/* ============ OPINIE (kartaproduktu) ============ */
body.single-product .woocommerce .cw-product-reviews {
  clear: both !important;
  float: none !important;
  width: 100% !important;
  max-width: 1180px;
  margin: 60px auto 0;
  padding: 30px clamp(16px, 2.5vw, 32px) 0;
  border-top: 1px solid var(--fw-navy);
  box-sizing: border-box;
}

body.single-product .woocommerce .cw-product-reviews .rev-headrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 12px;
}

body.single-product .woocommerce .cw-product-reviews .rev-h {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--fw-mono);
  color: var(--fw-navy);
}

body.single-product .woocommerce .cw-product-reviews .rev-summary {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 11px;
  color: var(--fw-muted);
  font-family: var(--fw-mono);
}

body.single-product .woocommerce .cw-product-reviews .rev-summary b {
  font-size: 15px;
  color: var(--fw-navy);
  font-weight: 800;
}

body.single-product .woocommerce .cw-product-reviews .rev-summary .stars {
  letter-spacing: 1.5px;
  color: var(--fw-gold);
}

body.single-product .woocommerce .cw-product-reviews .rev-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: start;
}

body.single-product .woocommerce .cw-product-reviews .commentlist,
body.single-product .woocommerce .cw-product-reviews .rev-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .woocommerce .cw-product-reviews .rev-card {
  border-top: 1px solid var(--fw-line);
  padding: 18px 0;
  margin: 0 !important;
}

body.single-product .woocommerce .cw-product-reviews .rev-card:first-child {
  border-top: none;
  padding-top: 0;
}

body.single-product .woocommerce .cw-product-reviews .rev-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
  gap: 12px;
}

body.single-product .woocommerce .cw-product-reviews .rev-name {
  font-weight: 800;
  font-size: 13px;
  color: var(--fw-navy);
}

body.single-product .woocommerce .cw-product-reviews .rev-stars {
  font-size: 12px;
  margin-top: 3px;
  letter-spacing: 2px;
  color: var(--fw-gold);
}

body.single-product .woocommerce .cw-product-reviews .rev-date {
  font-size: 10px;
  color: var(--fw-muted);
  font-family: var(--fw-mono);
  white-space: nowrap;
}

body.single-product .woocommerce .cw-product-reviews .rev-text,
body.single-product .woocommerce .cw-product-reviews .rev-text p {
  font-size: 13px;
  color: #4a5262;
  line-height: 1.65;
  margin: 8px 0;
}

body.single-product .woocommerce .cw-product-reviews .verified {
  font-size: 10px;
  color: var(--fw-gold-d);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.single-product .woocommerce .cw-product-reviews .rev-empty,
body.single-product .woocommerce .cw-product-reviews .rev-verify-note,
body.single-product .woocommerce .cw-product-reviews .rev-pending {
  font-size: 13px;
  color: var(--fw-muted);
  margin: 0;
}

body.single-product .woocommerce .cw-product-reviews .rev-form {
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-r);
  padding: 22px;
  background: var(--fw-grey);
}

body.single-product .woocommerce .cw-product-reviews .rev-form .comment-reply-title,
body.single-product .woocommerce .cw-product-reviews .rev-form h3 {
  font-size: 11px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fw-navy);
}

body.single-product .woocommerce .cw-product-reviews .rev-form .comment-form-rating {
  margin: 0 0 16px;
}

body.single-product .woocommerce .cw-product-reviews .rev-form p.stars {
  display: flex;
  gap: 4px;
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1;
}

body.single-product .woocommerce .cw-product-reviews .rev-form p.stars a {
  color: #d8d6cf;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-product .woocommerce .cw-product-reviews .rev-form p.stars a:hover,
body.single-product .woocommerce .cw-product-reviews .rev-form p.stars a.active,
body.single-product .woocommerce .cw-product-reviews .rev-form p.stars:hover a,
body.single-product .woocommerce .cw-product-reviews .rev-form p.stars.selected a.active ~ a {
  color: #d8d6cf;
}

body.single-product .woocommerce .cw-product-reviews .rev-form p.stars:hover a:hover,
body.single-product .woocommerce .cw-product-reviews .rev-form p.stars:hover a:hover ~ a,
body.single-product .woocommerce .cw-product-reviews .rev-form p.stars.selected a.active,
body.single-product .woocommerce .cw-product-reviews .rev-form p.stars.selected a:not(.active) {
  color: var(--fw-gold);
}

body.single-product .woocommerce .cw-product-reviews .rev-form p.stars.selected a.active ~ a {
  color: #d8d6cf;
}

body.single-product .woocommerce .cw-product-reviews .rev-form #rating {
  display: none;
}

body.single-product .woocommerce .cw-product-reviews .rev-form input[type="text"],
body.single-product .woocommerce .cw-product-reviews .rev-form input[type="email"],
body.single-product .woocommerce .cw-product-reviews .rev-form textarea {
  width: 100%;
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-r);
  padding: 12px;
  font-size: 12px;
  font-family: inherit;
  margin: 0 0 12px;
  background: #fff;
  color: var(--fw-navy);
  box-sizing: border-box;
}

body.single-product .woocommerce .cw-product-reviews .rev-form input:focus,
body.single-product .woocommerce .cw-product-reviews .rev-form textarea:focus {
  outline: none;
  border-color: var(--fw-gold);
}

body.single-product .woocommerce .cw-product-reviews .rev-form textarea {
  resize: vertical;
  min-height: 92px;
}

body.single-product .woocommerce .cw-product-reviews .rev-form .form-submit {
  margin: 0;
}

body.single-product .woocommerce .cw-product-reviews .rev-form .btn,
body.single-product .woocommerce .cw-product-reviews .rev-form input[type="submit"],
body.single-product .woocommerce .cw-product-reviews .rev-form #respond input#submit,
body.single-product .woocommerce #reviews .rev-form input#submit {
  width: 100% !important;
  background: var(--fw-navy) !important;
  background-color: var(--fw-navy) !important;
  color: #fff !important;
  padding: 15px !important;
  border: 1px solid var(--fw-navy) !important;
  border-radius: var(--fw-r) !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  opacity: 1 !important;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

body.single-product .woocommerce .cw-product-reviews .rev-form .btn:hover,
body.single-product .woocommerce .cw-product-reviews .rev-form input[type="submit"]:hover,
body.single-product .woocommerce .cw-product-reviews .rev-form #respond input#submit:hover,
body.single-product .woocommerce #reviews .rev-form input#submit:hover {
  background: var(--fw-gold) !important;
  background-color: var(--fw-gold) !important;
  color: var(--fw-navy) !important;
  border-color: var(--fw-gold) !important;
  opacity: 1 !important;
}

body.single-product .woocommerce .cw-product-reviews .form-note {
  font-size: 10px;
  color: var(--fw-muted);
  margin: 10px 0 0;
  line-height: 1.5;
}

body.single-product .woocommerce .cw-product-reviews .comment-form-cookies-consent {
  display: none !important;
}

@media (max-width: 900px) {
  body.single-product .woocommerce .cw-product-reviews .rev-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

/* Polecane — jedna kreska navy w szerokości treści (nie szersza niż header) */
body.single-product .woocommerce .similar {
  clear: both !important;
  float: none !important;
  width: 100% !important;
  max-width: 1180px;
  margin: 60px auto 0;
  padding: 0 clamp(16px, 2.5vw, 32px) 80px;
  border-top: none;
  box-sizing: border-box;
}

body.single-product .woocommerce .similar-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 24px;
  padding: 30px 0 0;
  gap: 12px;
  border-top: 1px solid var(--fw-navy);
  border-bottom: none;
}

body.single-product .woocommerce .similar-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--fw-mono);
  color: var(--fw-navy);
}

body.single-product .woocommerce .similar-link {
  font-size: 11px;
  color: var(--fw-gold-d);
  text-decoration: none;
  font-weight: 700;
}

body.single-product .woocommerce .similar .related.products > h2 {
  display: none;
}

body.single-product .woocommerce .similar .related.products ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.single-product .woocommerce .similar .related.products ul.products::before,
body.single-product .woocommerce .similar .related.products ul.products::after {
  display: none;
}

body.single-product .woocommerce .similar .related.products ul.products > li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible;
  background: transparent;
  display: flex !important;
  flex-direction: column;
}

body.single-product .woocommerce .similar .cw-product-card {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: transparent;
  border: 0;
}

body.single-product .woocommerce .similar .cw-product-card__media-wrap {
  position: relative;
  background: #fff;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
}

body.single-product .woocommerce .similar .cw-product-card__media,
body.single-product .woocommerce .similar .cw-product-card__media-link {
  display: block;
  width: 100%;
  height: 100%;
}

body.single-product .woocommerce .similar .cw-product-card__img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center center;
}

body.single-product .woocommerce .similar .cw-product-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-decoration: none;
  color: var(--fw-navy);
  min-height: 5.5rem;
}

body.single-product .woocommerce .similar .cw-product-card__price {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--fw-navy);
  line-height: 1.2;
}

body.single-product .woocommerce .similar .cw-product-card__price del {
  color: var(--fw-muted);
  font-weight: 500;
  margin-right: 6px;
}

body.single-product .woocommerce .similar .cw-product-card__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  min-height: 2.7em;
}

body.single-product .woocommerce .similar .cw-product-card__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

body.single-product .woocommerce .similar .cw-product-card__size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 4px 7px;
  border: 1px solid var(--fw-line);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  color: #3a4353;
  letter-spacing: 0.02em;
  background: #fff;
}

body.single-product .woocommerce .similar .cw-product-card__color-thumbs {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

body.single-product .woocommerce .similar .cw-product-card:hover .cw-product-card__color-thumbs,
body.single-product .woocommerce .similar .cw-product-card:focus-within .cw-product-card__color-thumbs {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.single-product .woocommerce .similar .cw-product-card__color-thumbs-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.single-product .woocommerce .similar .cw-product-card__color-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.95);
  padding: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(14, 26, 43, 0.14);
  flex: 0 0 auto;
}

body.single-product .woocommerce .similar .cw-product-card__color-thumb img {
  display: none !important;
}

body.single-product .woocommerce .similar .cw-product-card__color-dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

body.single-product .woocommerce .similar .cw-product-card__color-more {
  min-width: 22px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.96);
  color: var(--fw-navy);
  text-decoration: none;
  border: 1px solid var(--fw-line);
}

@media (hover: none) {
  body.single-product .woocommerce .similar .cw-product-card__color-thumbs {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

body.single-product .woocommerce .similar .cw-product-card__nav {
  /* jak w sklepie — strzałki po hoverze */
  display: flex;
}

body.single-product .woocommerce .btn-design,
body.single-product .woocommerce .cw-product-zaprojektuj__btn,
body.single-product .woocommerce .single_add_to_cart_button,
body.single-product .woocommerce .cw-product-acc summary,
body.single-product .woocommerce .opt-label,
body.single-product .woocommerce .pay-label,
body.single-product .woocommerce .pay-tag,
body.single-product .woocommerce .cert,
body.single-product .woocommerce .similar-link,
body.single-product .woocommerce .cw-product-card,
body.single-product .woocommerce .cw-product-card__name,
body.single-product .woocommerce .cw-product-card__price {
  font-family: var(--fw-font) !important;
}

body.single-product .woocommerce .up {
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

body.single-product .woocommerce .mono {
  font-family: var(--fw-mono);
}

@media (max-width: 980px) {
  body.single-product .woocommerce .similar .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.single-product .woocommerce div.product.cw-product .product-wrap {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding-top: 18px !important;
  }

  body.single-product .woocommerce div.product.cw-product .product-wrap > .cw-product-gallery {
    position: static !important;
  }

  body.single-product .woocommerce .product_title {
    font-size: 22px !important;
  }

  body.single-product .woocommerce .single_add_to_cart_button {
    grid-column: 1 !important;
  }

  body.single-product .woocommerce .cw-product-wish {
    grid-column: 2 !important;
  }
}

@media (max-width: 480px) {
  body.single-product .woocommerce .product_title {
    font-size: 20px !important;
  }

  body.single-product .woocommerce .cw-product-gallery__thumbs {
    gap: 8px !important;
  }

  body.single-product .woocommerce .deliv-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

body.single-product.cw-size-guide-open,
body.cw-single-product-page.cw-size-guide-open,
html:has(body.cw-size-guide-open) {
  overflow: hidden !important;
}

.cw-size-guide-overlay,
body.single-product .cw-size-guide-overlay,
body.cw-single-product-page .cw-size-guide-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  margin: 0 !important;
  pointer-events: none;
}

.cw-size-guide-overlay.is-open,
.cw-size-guide-overlay:not([hidden]),
body.single-product .cw-size-guide-overlay.is-open,
body.single-product .cw-size-guide-overlay:not([hidden]),
body.cw-single-product-page .cw-size-guide-overlay.is-open,
body.cw-single-product-page .cw-size-guide-overlay:not([hidden]) {
  display: flex !important;
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.cw-size-guide-overlay[hidden],
body.single-product .cw-size-guide-overlay[hidden],
body.cw-single-product-page .cw-size-guide-overlay[hidden] {
  display: none !important;
  pointer-events: none !important;
}

.cw-size-guide-overlay__backdrop,
body.single-product .cw-size-guide-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 26, 43, 0.55);
  cursor: pointer;
}

.cw-size-guide-modal,
body.single-product .cw-size-guide-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: var(--fw-r, 5px);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(14, 26, 43, 0.28);
  font-family: var(--fw-font, "Helvetica Neue", Arial, sans-serif);
  color: var(--fw-navy, #0e1a2b);
  animation: cw-size-guide-in 0.22s cubic-bezier(0.2, 0.9, 0.25, 1);
}

@keyframes cw-size-guide-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

body.single-product .cw-size-guide-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: var(--fw-muted, #7b8494);
  padding: 4px 8px;
}

body.single-product .cw-size-guide-modal__close:hover {
  color: var(--fw-navy, #0e1a2b);
}

body.single-product .cw-size-guide-modal__title {
  margin: 0 40px 8px 0;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.single-product .cw-size-guide-modal__intro {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--fw-navy, #0e1a2b);
}

body.single-product .cw-size-guide-modal__desc {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--fw-muted, #7b8494);
  line-height: 1.5;
}

body.single-product .cw-size-guide-modal__grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: end;
}

body.single-product .cw-size-guide-modal__img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
}

body.single-product .cw-size-guide-modal__legend {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--fw-navy, #0e1a2b);
}

body.single-product .cw-size-guide-modal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

body.single-product .cw-size-guide-modal__table th,
body.single-product .cw-size-guide-modal__table td {
  border: 1px solid var(--fw-line, #e6e6e2);
  padding: 10px;
  text-align: center;
}

body.single-product .cw-size-guide-modal__table thead th {
  background: var(--fw-navy, #0e1a2b);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
}

body.single-product .cw-size-guide-modal__table tbody th {
  background: var(--fw-grey, #f3f2ee);
  font-weight: 800;
  color: var(--fw-navy, #0e1a2b);
}

body.single-product .cw-size-guide-modal__table tbody tr:hover td {
  background: #faf8f3;
}

body.single-product .cw-size-guide-modal__note {
  margin: 18px 0 0;
  font-size: 11px;
  color: var(--fw-muted, #7b8494);
  line-height: 1.5;
}

@media (max-width: 640px) {
  body.single-product .cw-size-guide-modal {
    padding: 22px 16px;
  }

  body.single-product .cw-size-guide-modal__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  body.single-product .cw-size-guide-modal__img {
    max-width: 140px;
    margin: 0 auto;
  }

  body.single-product .cw-size-guide-modal__legend {
    text-align: center;
  }
}
