/* Greenland Ulubione — wishlist.css v1.0.0 */

/* ======== TOAST NOTIFICATION ======== */
.gl-wish-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #fff;
  border: 1px solid var(--gray-200, #e8e8e8);
  border-radius: 12px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  color: var(--black, #111);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .06);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  white-space: nowrap;
}
.gl-wish-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.gl-wish-toast svg {
  flex-shrink: 0;
}


/* ======== HEADER BADGE (na ikonie serduszka) ======== */
.gl-wish-count {
  position: absolute;
  top: 1px;
  right: 10px;
  background: var(--red, #cf0a2c);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  font-family: 'DM Sans', sans-serif;
  line-height: 1;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.gl-wish-count.visible {
  display: flex;
}


/* ======== PULSE ANIMATION (kliknięcie serduszka) ======== */
@keyframes gl-wish-pulse {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.35); }
  60%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.gl-wish-pulse {
  animation: gl-wish-pulse .4s ease;
}

/* Serduszko “on” — dopełnienie do istniejącego .pfav.on */
.pfav.on svg,
#fav-btn.on svg {
  fill: var(--red, #cf0a2c) !important;
  stroke: var(--red, #cf0a2c) !important;
}


/* ======== WISHLIST PAGE (archiwum) ======== */
.gl-wish-wrap {
  max-width: var(--mw, 1600px);
  margin: 0 auto;
  padding: 0 20px;
}

.gl-wish-breadcrumb {
  padding: 22px 0 0;
  font-size: 12px;
  color: var(--gray-500, #888);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.gl-wish-breadcrumb a {
  color: var(--gray-500, #888);
  text-decoration: none;
  transition: color .18s ease;
}
.gl-wish-breadcrumb a:hover { color: var(--black, #111); }
.gl-wish-breadcrumb .sep { margin: 0 8px; color: var(--gray-300, #d5d5d5); }
.gl-wish-breadcrumb .current { color: var(--black, #111); font-weight: 700; }

.gl-wish-page-title {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--black, #111);
  margin: 18px 0 6px;
}
.gl-wish-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--black, #111);
  margin: 0 0 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200, #e8e8e8);
}
.gl-wish-subtitle {
  font-size: 14px;
  color: var(--gray-500, #888);
  margin-bottom: 32px;
}

/* Grid — 5 kolumn jak homepage */
.gl-wish-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

/* Pojedynczy item na archiwum — wrap .pcard + przycisk usuń */
.gl-wish-item {
  position: relative;
  transition: opacity .3s ease, transform .3s ease;
}
.gl-wish-item.gl-wish-removing {
  opacity: 0;
  transform: scale(.9);
}

/* Przycisk usuń z archiwum */
.gl-wish-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gray-500, #888);
  background: none;
  border: 1px solid var(--gray-200, #e8e8e8);
  border-radius: var(--r, 5px);
  cursor: pointer;
  transition: all .18s ease;
}
.gl-wish-remove:hover {
  color: var(--red, #cf0a2c);
  border-color: var(--red, #cf0a2c);
}
.gl-wish-remove i {
  font-size: 12px;
}

/* Pusta lista */
.gl-wish-empty {
  text-align: center;
  padding: 80px 20px;
}
.gl-wish-empty i {
  font-size: 56px;
  color: var(--gray-300, #d5d5d5);
  margin-bottom: 20px;
  display: block;
}
.gl-wish-empty p {
  font-size: 17px;
  color: var(--gray-500, #888);
  margin-bottom: 24px;
}
.gl-wish-empty .gl-btn-back-shop {
  display: inline-block;
  background: var(--black, #111);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background .18s ease;
}
.gl-wish-empty .gl-btn-back-shop:hover {
  background: #333;
  color: #fff;
}


/* ======== RESPONSIVE ======== */
@media (max-width: 1199px) {
  .gl-wish-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 991px) {
  .gl-wish-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .gl-wish-count{top:0;right:2px;width:14px;height:14px;font-size:8px;}
  .gl-wish-wrap { padding: 0 12px; }
  .gl-wish-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .gl-wish-page-title { font-size: 22px; }
}
