/* =============================================
   SK Wishlist — Complete Styles
   ============================================= */

/* ── Heart button (Elementor Loop) ──────────── */
.sk-wl-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  cursor: pointer;
  color: #aaa;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
  line-height: 1;
}
.sk-wl-heart:hover { color: #c0392b; background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,0.18); transform: scale(1.1); }
.sk-wl-heart--active svg { fill: #c0392b; stroke: #c0392b; }
.sk-wl-heart--active { color: #c0392b; background: #fff0f0; }

/* ── Text wishlist button ────────────────────── */
.sk-wl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid currentColor;
  background: transparent;
  border-radius: 4px;
  transition: all 0.2s ease;
  line-height: 1;
  color: #555;
}
.sk-wl-btn:hover   { background: #f9f0f0; color: #c0392b; border-color: #c0392b; }
.sk-wl-btn--active { background: #fff0f0; color: #c0392b; border-color: #c0392b; }
.sk-wl-btn--loading { opacity: 0.6; cursor: wait; }
.sk-wl-loop  { margin-top: 8px; width: 100%; justify-content: center; }
.sk-wl-single { margin: 12px 0; }

/* ── Header icon link ────────────────────────── */
.sk-wl-icon-link { position: relative; display: inline-flex; align-items: center; text-decoration: none; color: inherit; font-size: 22px; }
.sk-wl-icon-count {
  position: absolute;
  top: -8px; right: -10px;
  background: #c0392b; color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; line-height: 1;
}

/* ── Page wrapper ────────────────────────────── */
.sk-wishlist-page { max-width: 1100px; margin: 0 auto; padding: 10px 0 40px; font-family: inherit; }

/* ── Loading ─────────────────────────────────── */
.sk-wl-loading-wrap { display: flex; align-items: center; gap: 12px; padding: 40px 0; color: #888; }
.sk-wl-spinner {
  display: inline-block;
  width: 22px; height: 22px;
  border: 3px solid #eee;
  border-top-color: #c0392b;
  border-radius: 50%;
  animation: sk-spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes sk-spin { to { transform: rotate(360deg); } }

/* ── Empty state ─────────────────────────────── */
.sk-wl-empty-wrap { text-align: center; padding: 70px 20px; }
.sk-wl-empty-icon { font-size: 56px; line-height: 1; color: #ddd; margin-bottom: 16px; }
.sk-wl-empty-wrap h3 { font-size: 22px; font-weight: 600; color: #333; margin: 0 0 10px; }
.sk-wl-empty-wrap p { color: #888; font-size: 15px; max-width: 380px; margin: 0 auto 28px; line-height: 1.6; }
.sk-wl-shop-btn { display: inline-block; padding: 12px 28px; background: #222; color: #fff !important; text-decoration: none; border-radius: 4px; font-size: 14px; font-weight: 600; transition: background 0.2s; }
.sk-wl-shop-btn:hover { background: #c0392b; color: #fff !important; }

/* ── Top bar ─────────────────────────────────── */
.sk-wl-top-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 0 16px; border-bottom: 2px solid #f0f0f0; margin-bottom: 4px; }
.sk-wl-item-count { font-size: 14px; font-weight: 600; color: #555; }
.sk-wl-clear-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; font-size: 13px; cursor: pointer;
  background: transparent; border: 1px solid #ddd; border-radius: 4px;
  color: #888; font-weight: 500; transition: all 0.2s; line-height: 1;
}
.sk-wl-clear-btn:hover { border-color: #c0392b; color: #c0392b; }

/* ── Table ───────────────────────────────────── */
.sk-wl-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sk-wl-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sk-wl-table thead tr { border-bottom: 2px solid #e8e8e8; }
.sk-wl-table th { padding: 14px 12px; text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #999; white-space: nowrap; }
.sk-wl-table td { padding: 18px 12px; vertical-align: middle; border-bottom: 1px solid #f3f3f3; }
.sk-wl-row { transition: background 0.15s; }
.sk-wl-row:hover { background: #fafafa; }
.sk-wl-row:last-child td { border-bottom: none; }

.sk-wl-col-remove { width: 44px; }
.sk-wl-col-img    { width: 90px; }
.sk-wl-col-name   { min-width: 180px; }
.sk-wl-col-price  { width: 120px; white-space: nowrap; }
.sk-wl-col-stock  { width: 130px; }
.sk-wl-col-action { width: 150px; }

/* ── Remove (X) button ───────────────────────── */
.sk-wl-remove-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; padding: 0;
  border: 1px solid #e0e0e0; border-radius: 50%;
  background: transparent; color: #bbb; cursor: pointer; transition: all 0.2s;
}
.sk-wl-remove-btn:hover { border-color: #c0392b; color: #c0392b; background: #fff0f0; }

/* ── Product image ───────────────────────────── */
.sk-wl-img-link { display: block; width: 72px; height: 72px; border-radius: 6px; overflow: hidden; background: #f5f5f5; flex-shrink: 0; }
.sk-wl-img-link img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.sk-wl-img-link:hover img { opacity: 0.85; }

/* ── Name & SKU ──────────────────────────────── */
.sk-wl-name { font-size: 14px; font-weight: 600; color: #222; text-decoration: none; line-height: 1.4; display: block; }
.sk-wl-name:hover { color: #c0392b; }
.sk-wl-sku { font-size: 11px; color: #bbb; margin-top: 4px; display: block; }

/* ── Price ───────────────────────────────────── */
.sk-wl-price { font-size: 15px; font-weight: 700; color: #222; }
.sk-wl-price del { color: #bbb; font-weight: 400; font-size: 13px; }
.sk-wl-price ins { text-decoration: none; color: #c0392b; }

/* ── Stock badge ─────────────────────────────── */
.sk-wl-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.sk-wl-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.sk-wl-stock.in-stock { background: #eaf7ee; color: #27ae60; }
.sk-wl-stock.in-stock .sk-wl-dot { background: #27ae60; }
.sk-wl-stock.out-of-stock { background: #fdecea; color: #c0392b; }
.sk-wl-stock.out-of-stock .sk-wl-dot { background: #c0392b; }

/* ── ATC button ──────────────────────────────── */
.sk-wl-atc { display: inline-block; text-align: center; font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 4px; text-decoration: none; background: #222; color: #fff !important; transition: background 0.2s; white-space: nowrap; border: none; cursor: pointer; }
.sk-wl-atc:hover { background: #c0392b; color: #fff !important; }
.sk-wl-unavailable { font-size: 12px; color: #bbb; font-style: italic; }

/* ── Bottom bar ──────────────────────────────── */
.sk-wl-bottom-bar { padding: 20px 0 0; border-top: 1px solid #f0f0f0; margin-top: 8px; }
.sk-wl-continue-link { font-size: 13px; color: #888; text-decoration: none; transition: color 0.2s; }
.sk-wl-continue-link:hover { color: #c0392b; }

/* ── Toast ───────────────────────────────────── */
.sk-wl-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #222; color: #fff;
  padding: 12px 24px; border-radius: 30px;
  font-size: 14px; font-weight: 500;
  pointer-events: none; opacity: 0;
  transition: all 0.3s ease; z-index: 99999;
  white-space: nowrap; box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.sk-wl-toast--show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .sk-wl-table th.sk-wl-col-stock,
  .sk-wl-table td.sk-wl-col-stock { display: none; }
  .sk-wl-col-action { width: 110px; }
  .sk-wl-atc { padding: 8px 12px; font-size: 12px; }
}
@media (max-width: 500px) {
  .sk-wl-table th, .sk-wl-table td { padding: 12px 8px; }
  .sk-wl-img-link { width: 54px; height: 54px; }
  .sk-wl-name { font-size: 13px; }
}
