:root {
  --umw-ink: #1b1b1b;
  --umw-line: #dedbd6;
  --umw-soft: #f7f5f2;
  --umw-accent: #ef6c1a;
}

li.product,
.woolentor-product,
.woolentor-product-image,
.ht-product {
  position: relative;
}

.umw-toggle {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(27, 27, 27, 0.2);
  background: rgba(255, 255, 255, 0.94);
  color: var(--umw-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  z-index: 4;
}

.umw-toggle svg,
.umw-card-remove svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
}

.umw-toggle:hover {
  transform: translateY(-1px);
}

.umw-toggle.is-active {
  color: #fff;
  background: var(--umw-ink);
}

.umw-toggle.is-active svg {
  fill: currentColor;
}

.umw-toggle--loop {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

.umw-toggle--loop .umw-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.umw-gallery-host {
  position: relative;
}

.umw-toggle--single {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  color: var(--umw-ink);
  background: transparent;
  z-index: 20;
}

.umw-toggle--single:hover {
  color: var(--umw-ink);
  background: transparent;
  transform: scale(1.04);
}

.umw-toggle--single.is-active {
  color: var(--umw-ink);
  background: transparent;
}

.umw-toggle--single svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.4;
}

.umw-toggle--single .umw-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.umanski-wishlist-header {
  position: relative;
}

.umw-header-count {
  position: absolute;
  top: -7px;
  right: -8px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 99px;
  color: #fff;
  background: var(--umw-ink);
  font: 600 10px/17px Arial, sans-serif;
  text-align: center;
  pointer-events: none;
}

.umw-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 28px 100px;
  color: var(--umw-ink);
}

.umw-page-head {
  text-align: center;
  margin-bottom: 40px;
}

.umw-page-head p {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.umw-page-head h1 {
  margin: 0;
  font-size: clamp(30px, 2.7vw, 38px);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.umw-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 54px 24px;
}

.umw-card {
  position: relative;
  text-align: center;
}

.umw-card-media {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--umw-soft);
  overflow: hidden;
}

.umw-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.umw-card-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(27, 27, 27, 0.15);
  border-radius: 50%;
  color: #fff;
  background: var(--umw-ink);
  cursor: pointer;
}

.umw-card-remove svg {
  fill: currentColor;
}

.umw-card h2 {
  margin: 17px 0 7px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.umw-card h2 a {
  color: inherit;
  text-decoration: none;
}

.umw-card-price {
  margin: 0 0 16px;
  font-size: 14px;
}

.umw-card-action,
.umw-empty a {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.umw-empty {
  padding: 80px 20px;
  text-align: center;
}

.umw-empty p {
  margin: 0 0 24px;
  font-size: 18px;
}

@media (max-width: 1024px) {
  .umw-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .umw-toggle--loop {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .umw-page {
    padding: 18px 16px 72px;
  }

  .umw-page-head {
    margin-bottom: 30px;
  }

  .umw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 12px;
  }

  .umw-card h2 {
    font-size: 12px;
  }
}
