/* Drovo theme: wishlist styles, compiled from the original SCSS modules. */

/* app/wishlist/wishlist.module.scss */
.wl-page {
  width: 100%;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (max-width: 1399px) {
  .wl-page {
    max-width: 86%;
  }
}
@media (max-width: 1199px) {
  .wl-page {
    max-width: 92%;
  }
}
@media (max-width: 991px) {
  .wl-page {
    max-width: 96%;
  }
}
@media (max-width: 575px) {
  .wl-page {
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
}
.wl-page {
  min-height: 70vh;
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.wl-hero {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(15, 123, 108, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 123, 108, 0.15), rgba(255, 255, 255, 0.94) 46%), #fff;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 18px 48px rgba(42, 29, 25, 0.08);
}

.wl-hero p {
  margin: 0;
  color: var(--clr-primary, #0F7B6C);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.wl-hero h1 {
  margin: 0;
  color: var(--clr-text, #1A1A18);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.wl-hero span {
  color: #5A6370;
  font-size: 1rem;
}

.wl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 290px));
  justify-content: start;
  gap: 1rem;
}

.wl-card {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(15, 123, 108, 0.2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(30, 24, 22, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.wl-card:hover {
  border-color: rgba(15, 123, 108, 0.38);
  box-shadow: 0 22px 55px rgba(30, 24, 22, 0.1);
  transform: translateY(-2px);
}

.wl-image {
  display: grid;
  aspect-ratio: 1.18/1;
  min-height: 190px;
  max-height: 225px;
  place-items: center;
  margin: 0.55rem 0.55rem 0;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(180deg, #F7FDFB 0%, #F0FAF6 100%);
}

.wl-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
  transition: transform 180ms ease;
}

.wl-card:hover .wl-image img {
  transform: scale(1.025);
}

.wl-image b {
  color: var(--clr-primary, #0F7B6C);
  font-size: 2rem;
}

.wl-body {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 0.8rem 0.75rem 0.75rem;
}

.wl-body p {
  margin: 0;
  width: fit-content;
  border-radius: 999px;
  background: rgba(15, 123, 108, 0.1);
  padding: 0.18rem 0.45rem;
  color: var(--clr-primary, #0F7B6C);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.wl-body h2 {
  display: -webkit-box;
  min-height: 2.7em;
  margin: 0;
  overflow: hidden;
  color: var(--clr-text, #1A1A18);
  font-size: 0.92rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wl-body h2 a {
  color: inherit;
  text-decoration: none;
}

.wl-body strong {
  color: var(--clr-primary, #0F7B6C);
  font-size: 1rem;
}

.wl-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.wl-actions button,
.wl-empty a {
  min-height: 2.35rem;
  border: 1px solid var(--clr-primary, #0F7B6C);
  border-radius: 4px;
  background: var(--clr-primary, #0F7B6C);
  color: #fff;
  cursor: pointer;
  padding-inline: 0.8rem;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.wl-actions button:hover:not(:disabled),
.wl-empty a:hover {
  background: #107164;
  border-color: #107164;
}

.wl-actions button:active:not(:disabled) {
  transform: translateY(1px);
}

.wl-actions button:last-child {
  background: #fff;
  color: var(--clr-primary, #0F7B6C);
  padding-inline: 0.7rem;
}

.wl-actions button:last-child:hover:not(:disabled) {
  border-color: #116d60;
  background: rgba(15, 123, 108, 0.08);
  color: #116d60;
}

.wl-actions button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.wl-empty {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  border: 1px dashed rgba(15, 123, 108, 0.35);
  border-radius: 8px;
  background: #fff;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.wl-empty strong {
  color: var(--clr-text, #1A1A18);
  font-size: 1.35rem;
}

.wl-empty span {
  color: #5A6370;
}

.wl-empty a {
  display: inline-flex;
  align-items: center;
  padding: 0 1.2rem;
}

.wl-skeleton {
  min-height: 22rem;
  border-radius: 8px;
  background: linear-gradient(90deg, #EAF7F3, #fff, #EAF7F3);
  background-size: 240% 100%;
  animation: wl-pulse 1.3s ease infinite;
}

@keyframes wl-pulse {
  to {
    background-position: -240% 0;
  }
}
@media (max-width: 1180px) {
  .wl-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 285px));
  }
}
@media (max-width: 820px) {
  .wl-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}
@media (max-width: 560px) {
  .wl-grid {
    grid-template-columns: 1fr;
  }
  .wl-image {
    min-height: 220px;
    max-height: 280px;
  }
  .wl-actions {
    grid-template-columns: 1fr;
  }
}
