/* Wrapper */
.ivs-wll-wrap{font-family:inherit; color:#0f172a;}

/* =======================
   LOOP=1 Actions (heart + user)
   ======================= */
.ivs-wll-loop1-actions{
  display:inline-flex !important;
  align-items:center;
  gap:10px;
  flex-wrap:nowrap !important;
  white-space:nowrap !important;
}

/* force children to not stretch / not break line (Elementor sometimes does weird things) */
.ivs-wll-loop1-actions > *{
  flex:0 0 auto !important;
}

/* =======================
   LOOP=1 Trigger (heart)
   ======================= */
.ivs-wll-trigger{
  appearance:none;
  border:0;
  background:transparent !important;
  padding:6px;
  cursor:pointer;
  line-height:0;
  position:relative;
  color:#0f172a !important;
}
.ivs-wll-trigger:hover{opacity:.85}
.ivs-wll-trigger__icon{position:relative; display:inline-block;}
.ivs-wll-trigger svg{width:24px;height:24px;display:block;}
.ivs-wll-trigger path{
  stroke: currentColor;
  stroke-width: 1.6;
  fill: transparent;
}
.ivs-wll-trigger--has path{ fill: currentColor; }
.ivs-wll-trigger__count{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:9px;
  line-height:1;
  color:#fff;
  pointer-events:none;
}

/* =======================
   LOOP=1 User icon / avatar
   ======================= */
.ivs-wll-user{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  /* hard lock size */
  width:28px !important;
  height:28px !important;
  min-width:28px !important;
  min-height:28px !important;
  max-width:28px !important;
  max-height:28px !important;

  padding:0 !important;              /* <- important (themes often add padding to <a>) */
  margin:0 !important;
  box-sizing:border-box !important;  /* <- important */

  border-radius:999px !important;
  text-decoration:none !important;
  color:#0f172a !important;

  line-height:0 !important;
  font-size:0 !important;            /* keep */
  vertical-align:middle;

  background:transparent !important;

  transform:none !important;
}
.ivs-wll-user:hover{opacity:.9}

/* Guest: icon */
.ivs-wll-user__icon{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  height:100% !important;

  /* make sure icon container never grows */
  min-width:100% !important;
  min-height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
}

/* lock svg size hard */
.ivs-wll-user__icon svg{
  width:24px !important;
  height:24px !important;
  min-width:24px !important;
  min-height:24px !important;
  max-width:24px !important;
  max-height:24px !important;
  display:block !important;
}
.ivs-wll-user__icon path{
  stroke: currentColor !important;
  stroke-width: 1.6;
  fill: transparent !important;
}

/* Logged: initials badge */
.ivs-wll-user--logged{
  background:#F7F7F7 !important;
}

/* IMPORTANT: re-enable readable font size inside initials (we set .ivs-wll-user font-size:0) */
.ivs-wll-user__initials{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  width:24px !important;             /* <- lock too */
  height:24px !important;
  min-width:24px !important;
  min-height:24px !important;
  max-width:24px !important;
  max-height:24px !important;

  padding:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;

  font-weight:600 !important;
  font-size:10px !important;         /* re-enable readable size */
  letter-spacing:.15px !important;
  line-height:1 !important;

  color:#0f172a !important;
  text-transform:uppercase;
}

/* =======================
   Portal / Popup
   ======================= */
.ivs-wll-portal{
  position:fixed;
  inset:0;
  z-index:999999;
  pointer-events:none;
}
.ivs-wll-portal.is-open{pointer-events:auto;}
.ivs-wll-portal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.25);
  opacity:0;
  transition:opacity .18s ease;
}
.ivs-wll-portal.is-open .ivs-wll-portal__backdrop{opacity:1;}
/* Desktop popup panel */
.ivs-wll-portal__panel{
  position:absolute;
  width:360px;
  max-width:calc(100vw - 24px);
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  box-shadow:0 18px 40px rgba(15,23,42,.18);
  overflow:hidden;
  opacity:0;
  transform:translateY(-6px);
  transition:opacity .18s ease, transform .18s ease;
}
.ivs-wll-portal.is-open .ivs-wll-portal__panel{
  opacity:1;
  transform:translateY(0);
}
.ivs-wll-portal__inner{
  max-height:420px;
  overflow:auto;
  padding:12px;
}
.ivs-wll-spinner{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.ivs-wll-spinner:before{
  content:"";
  width:22px;height:22px;
  border-radius:999px;
  border:2px solid #e5e7eb;
  border-top-color:#0f172a;
  animation:ivs-wll-spin .7s linear infinite;
}
@keyframes ivs-wll-spin{to{transform:rotate(360deg)}}

/* =======================
   Mobile bottom-sheet
   ======================= */
@media (max-width: 768px){
  .ivs-wll-portal__panel{
    left:12px !important;
    right:12px !important;
    width:auto !important;
    bottom:12px !important;
    top:auto !important;
    transform:translateY(18px);
    border-radius:16px;
  }
  .ivs-wll-portal__inner{
    max-height:70vh;
    overflow:auto;
    padding:12px;
  }
}

/* =======================
   Existing list styles (full/mini)
   ======================= */
.ivs-wll-grid{
  display:grid;
  gap:10px;
  width:100%;
  max-width:100%;
}
.ivs-wll--loop0 .ivs-wll-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px){
  .ivs-wll--loop0 .ivs-wll-grid{grid-template-columns:1fr;}
}

/* Mini header */
.ivs-wll-mini-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
  width:100%;
}
.ivs-wll-mini-title{
  font-weight:800;
  font-size:16px;
  line-height:1.2;
  color:#0f172a;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  min-width:0;
}
.ivs-wll-mini-refresh{
  appearance:none;
  border:1px solid #e5e7eb !important;
  background:#fff !important;
  color:#0f172a !important;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  line-height:1;
  box-shadow:none !important;
  white-space:nowrap;
  flex:0 0 auto;
}
.ivs-wll-mini-refresh:hover{opacity:.85; color:#666 !important;}
.ivs-wll-mini-refresh[disabled]{opacity:.5; cursor:not-allowed;}

.ivs-wll-card{
  display:flex;
  gap:12px;
  align-items:stretch;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fff;
  overflow:hidden;
  min-height:92px;
  width:100%;
  max-width:100%;
}
.ivs-wll-card__img{
  flex:0 0 110px;
  display:block;
  background:#f3f4f6;
}
.ivs-wll-card__img img{
  width:110px;height:100%;
  object-fit:cover;
  display:block;
}
.ivs-wll-card__body{
  flex:1 1 auto;
  padding:10px 10px 10px 0;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  max-width:100%;
}
.ivs-wll-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  min-width:0;
}
.ivs-wll-card__title{
  font-size:18px;
  line-height:1.2;
  font-weight:700;
  color:#111827;
  text-decoration:none;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  min-width:0;
}
.ivs-wll-card__title:hover{text-decoration:underline;}
.ivs-wll-card__sub{
  font-size:13.5px;
  color:#6b7280;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ivs-wll-card__price{
  font-size:13.5px;
  color:#111827;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ivs-wll-heart{
  appearance:none;
  border:0;
  background:transparent !important;
  padding:6px;
  cursor:pointer;
  border-radius:0;
  line-height:0;
  flex:0 0 auto;
  color:#0f172a !important;
  box-shadow:none !important;
}
.ivs-wll-heart:hover{opacity:.75; color:#666;}
.ivs-wll-heart svg{width:20px;height:20px;display:block;}
.ivs-wll-heart path{ fill: currentColor; stroke: currentColor; }
.ivs-wll-heart[disabled]{opacity:.5; cursor:not-allowed;}

.ivs-wll-empty{
  border:1px dashed #d1d5db;
  border-radius:12px;
  padding:16px;
  background:#fff;
  text-align:center;
}
.ivs-wll-empty__title{font-weight:800; margin-bottom:6px;}
.ivs-wll-empty__text{color:#6b7280; margin-bottom:12px;}

.ivs-wll-cta{
  appearance:none;
  border:0;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:10px;
  background:#0D4F56;
  color:#fff !important;
  text-decoration:none;
  font-weight:700;
  width:100%;
  max-width:100%;
  margin:0 auto;
}
.ivs-wll-cta:hover{opacity:.92; color:white !important;}
.ivs-wll-cta[disabled]{opacity:.6; cursor:not-allowed;}
.ivs-wll-cta--secondary{
  background:#fff !important;
  color:#0D4F56 !important;
  border:2px solid #0D4F56 !important;
}
.ivs-wll-cta--secondary:hover{opacity:1; filter:brightness(.98);}

.ivs-wll-cta-row{
  display:flex;
  gap:10px;
  justify-content:center;
  width:100%;
  flex-wrap:wrap;
  margin-top:10px;
}
.ivs-wll-cta-row .ivs-wll-cta{flex:1 1 160px;}
.ivs-wll-mini-cta{margin-top:12px; display:flex; justify-content:center; width:100%;}

.ivs-wll-pagination{
  margin-top:14px;
  display:flex;
  gap:8px;
  justify-content:center;
  flex-wrap:wrap;
}
.ivs-wll-page{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:36px;
  padding:0 10px;
  border-radius:10px;
  border:1px solid #e5e7eb;
  background:#fff;
  color:#111827;
  text-decoration:none;
  font-weight:600;
}
.ivs-wll-page[aria-current="page"]{
  background:#111827;
  color:#fff;
  border-color:#111827;
}
