/* ================= WISHLIST DRAWER ================= */

.wl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
  z-index: 2000;
  opacity: 0;
  transition: opacity 240ms ease;
}

.wl-overlay[hidden] {
  display: none !important;
}

.wl-overlay.is-open {
  opacity: 1;
}

.wl-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(460px, 94vw);
  height: 100vh;
  z-index: 2100;
  background: #fff;
  border-left: 1px solid rgba(0, 0, 0, 0.11);
  box-shadow: -18px 0 45px rgba(0, 0, 0, 0.13);
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(100%);
  transition: transform 280ms ease;
}

.wl-drawer[hidden] {
  display: none !important;
}

.wl-drawer.is-open {
  transform: translateX(0);
}

.wl-head {
  padding: 24px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.wl-title {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.wl-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.wl-items {
  padding: 20px 24px;
  overflow: auto;
  display: grid;
  gap: 10px;
  align-content: start;
}

.wl-empty {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  padding: 20px 0;
}

.wl-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: #000;
  transition: border-color 0.2s ease;
}

.wl-item:hover {
  border-color: rgba(0, 0, 0, 0.16);
}

.wl-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #f3f3f3;
  border-radius: 6px;
}

.wl-item-brand {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 4px;
}

.wl-item-name {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.42;
}

.wl-remove {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.wl-foot {
  padding: 18px 24px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.wl-clear {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #fff;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ================= CATALOG HEART ACTIVE STATE ================= */

.catalog-fav.is-wishlisted svg {
  fill: #c9a24d;
  stroke: #c9a24d;
}
