:root {
  --lw-orange: #ff6500;
  --lw-orange-dark: #e85b00;
  --lw-orange-soft: #fff3e9;
  --lw-cream: #fffaf6;
  --lw-line: #eadfd7;
  --lw-text: #181614;
  --lw-muted: #776e68;
  --lw-green: #16a15f;
}

.luciole-wishlist-heart {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: #fff;
  color: var(--lw-orange);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.luciole-wishlist-heart svg {
  width: 22px !important;
  height: 22px !important;
  fill: transparent !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
}
.luciole-wishlist-heart:hover { color: var(--lw-orange-dark) !important; transform: translateY(-1px); }
.luciole-wishlist-heart.is-active { background: var(--lw-orange) !important; color: #fff !important; }
.luciole-wishlist-heart.is-active svg { fill: currentColor !important; }
.woocommerce ul.products li.product, .wc-block-grid__product { position: relative !important; }
.woocommerce ul.products li.product .luciole-wishlist-heart.is-card,
.wc-block-grid__product .luciole-wishlist-heart.is-card,
.luciole-wishlist-heart.is-card {
  position: absolute !important;
  z-index: 18 !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #ffd2b3 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--lw-orange) !important;
  line-height: 1 !important;
  box-shadow: 0 5px 16px rgba(80, 35, 8, .13) !important;
  transform: none !important;
  appearance: none !important;
}
.woocommerce ul.products li.product .luciole-wishlist-heart.is-card:hover,
.wc-block-grid__product .luciole-wishlist-heart.is-card:hover,
.luciole-wishlist-heart.is-card:hover { background: var(--lw-orange-soft) !important; color: var(--lw-orange-dark) !important; }
.woocommerce ul.products li.product .luciole-wishlist-heart.is-card.is-active,
.wc-block-grid__product .luciole-wishlist-heart.is-card.is-active,
.luciole-wishlist-heart.is-card.is-active { background: var(--lw-orange) !important; border-color: var(--lw-orange) !important; color: #fff !important; }
.luciole-wishlist-heart.is-card > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.luciole-wishlist-heart.is-single {
  min-height: 48px !important;
  margin: 12px 0 0 !important;
  padding: 0 18px !important;
  border: 1px solid #ffd2b3 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--lw-orange) !important;
  font-weight: 800 !important;
}
.luciole-wishlist-heart.is-single.is-active { border-color: var(--lw-orange) !important; }
.luciole-wishlist-header-link .luciole-wishlist-header-heart { width: 25px; height: 25px; fill: none; stroke: var(--lw-orange) !important; stroke-width: 1.8; }
.luciole-wishlist-header-link em[hidden] { display: none !important; }

.luciole-wishlist-overlay {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  z-index: 100020;
  background: rgba(25, 20, 16, .58);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.luciole-wishlist-overlay.is-open { opacity: 1; visibility: visible; }
.luciole-wishlist-panel {
  box-sizing: border-box;
  position: absolute;
  right: 0;
  top: 0;
  width: min(560px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-left: 1px solid var(--lw-line);
  background: #fff;
  color: var(--lw-text);
  box-shadow: -24px 0 70px rgba(0,0,0,.2);
  transform: translateX(100%);
  transition: transform .28s ease;
}
.luciole-wishlist-overlay.is-open .luciole-wishlist-panel { transform: translateX(0); }
.luciole-wishlist-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 30px 22px;
  border-bottom: 1px solid var(--lw-line);
}
.luciole-wishlist-eyebrow { display: block; margin-bottom: 6px; color: var(--lw-orange); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.luciole-wishlist-head h2 { margin: 0; color: var(--lw-text); font-size: 34px; line-height: 1.05; }
.luciole-wishlist-head h2 em {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  margin-left: 7px;
  border-radius: 99px;
  background: var(--lw-orange-soft);
  color: var(--lw-orange-dark);
  font: 800 12px/1 sans-serif;
  vertical-align: middle;
}
.luciole-wishlist-close {
  appearance: none !important;
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  padding: 0 !important;
  border: 1px solid #f0d8c8 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--lw-orange) !important;
  box-shadow: none !important;
  cursor: pointer;
}
.luciole-wishlist-close svg { width: 20px !important; height: 20px !important; fill: none !important; stroke: currentColor !important; stroke-width: 1.8 !important; stroke-linecap: round; }
.luciole-wishlist-close:hover { background: var(--lw-orange-soft) !important; }
.luciole-wishlist-account-status,
.luciole-wishlist-sync {
  margin: 16px 24px 0;
  border: 1px solid #ffd4b7;
  border-radius: 12px;
  background: #fff7f0;
}
.luciole-wishlist-account-status { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.luciole-wishlist-account-status[hidden] { display: none !important; }
.luciole-wishlist-account-status > span { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: var(--lw-orange); color: #fff; font-weight: 900; }
.luciole-wishlist-account-status p { margin: 0; color: #4e4640; font-size: 14px; }
.luciole-wishlist-sync { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 13px 14px; }
.luciole-wishlist-sync[hidden] { display: none !important; }
.luciole-wishlist-sync strong { font-size: 14px; }
.luciole-wishlist-sync span { color: var(--lw-muted); font-size: 12px; }
.luciole-wishlist-sync button {
  appearance: none !important;
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  padding: 9px 13px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--lw-orange) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-weight: 800;
  cursor: pointer;
}

.luciole-wishlist-items { flex: 1; overflow: auto; padding: 18px 24px; }
.luciole-wishlist-item {
  position: relative;
  display: grid;
  grid-template-columns: 126px minmax(0,1fr) 34px;
  gap: 18px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--lw-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(58, 36, 20, .05);
}
.luciole-wishlist-item-image { display: block; width: 126px; height: 142px; overflow: hidden; border-radius: 11px; background: var(--lw-cream); }
.luciole-wishlist-item-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.luciole-wishlist-item-body { min-width: 0; padding-right: 2px; }
.luciole-wishlist-item-name { display: -webkit-box; overflow: hidden; color: var(--lw-text) !important; font-size: 15px; font-weight: 800; line-height: 1.42; text-decoration: none !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.luciole-wishlist-item-attrs { margin: 5px 0; color: var(--lw-muted); font-size: 11px; }
.luciole-wishlist-item-price { margin: 12px 0 8px; color: var(--lw-orange); font-size: 19px; font-weight: 900; }
.luciole-wishlist-item-price del { margin-left: 7px; color: #918a85; font-size: 12px; font-weight: 500; }
.luciole-wishlist-item-price ins { text-decoration: none; }
.luciole-wishlist-stock { display: inline-flex; align-items: center; gap: 6px; color: #28764d; font-size: 12px; font-weight: 800; }
.luciole-wishlist-stock:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lw-green); }
.luciole-wishlist-stock.is-out { color: #a14b42; }
.luciole-wishlist-stock.is-out:before { background: #c65a50; }
.luciole-wishlist-item-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.luciole-wishlist-item-action,
.luciole-wishlist-item-view {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px !important;
  border-radius: 9px !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
}
.luciole-wishlist-item-action { border: 1px solid var(--lw-orange) !important; background: var(--lw-orange) !important; color: #fff !important; }
.luciole-wishlist-item-view { border: 1px solid var(--lw-orange) !important; background: #fff !important; color: var(--lw-orange) !important; }
.luciole-wishlist-remove {
  appearance: none !important;
  display: grid !important;
  place-items: center !important;
  align-self: start;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  padding: 0 !important;
  border: 1px solid #f0d8c8 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--lw-orange) !important;
  box-shadow: none !important;
  cursor: pointer;
}
.luciole-wishlist-remove svg { width: 17px !important; height: 17px !important; fill: none !important; stroke: currentColor !important; stroke-width: 1.7 !important; stroke-linecap: round; stroke-linejoin: round; }
.luciole-wishlist-remove:hover { background: var(--lw-orange-soft) !important; }

.luciole-wishlist-empty { margin: auto; padding: 42px 28px; text-align: center; }
.luciole-wishlist-empty > span { display: block; color: var(--lw-orange); font-size: 62px; line-height: 1; }
.luciole-wishlist-empty strong { display: block; margin: 10px 0 5px; font-size: 20px; }
.luciole-wishlist-empty p { max-width: 320px; margin: 0 auto 18px; color: var(--lw-muted); font-size: 14px; }
.luciole-wishlist-empty a { display: inline-flex; padding: 11px 16px; border-radius: 9px; background: var(--lw-orange); color: #fff !important; font-weight: 800; text-decoration: none !important; }
.luciole-wishlist-foot { padding: 18px 24px 22px; border-top: 1px solid var(--lw-line); background: #fff; }
.luciole-wishlist-add-all {
  appearance: none !important;
  width: 100% !important;
  min-height: 52px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--lw-orange) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-weight: 900;
  cursor: pointer;
}
.luciole-wishlist-add-all:hover { background: var(--lw-orange-dark) !important; }
.luciole-wishlist-foot > div { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; }
.luciole-wishlist-foot a,
.luciole-wishlist-foot > div button { appearance: none !important; border: 0 !important; background: transparent !important; color: #5d514a !important; box-shadow: none !important; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.luciole-wishlist-toast { position: fixed; z-index: 100050; left: 50%; bottom: 28px; max-width: min(420px,calc(100% - 28px)); padding: 12px 18px; border-radius: 10px; background: var(--lw-orange); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 12px 34px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transform: translate(-50%,12px); transition: .2s ease; }
.luciole-wishlist-toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.luciole-wishlist-lock { overflow: hidden; }

.luciole-wishlist-page { max-width: 1240px; margin: 0 auto; padding: 24px 0 64px; }
.luciole-wishlist-page > header { margin-bottom: 28px; padding: 26px; border: 1px solid var(--lw-line); border-radius: 14px; background: #fff; }
.luciole-wishlist-page > header span { color: var(--lw-orange); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.luciole-wishlist-page > header h1 { margin: 6px 0 7px; color: var(--lw-text); font-size: clamp(30px,5vw,46px); }
.luciole-wishlist-page > header p { margin: 0; color: var(--lw-muted); }
.luciole-wishlist-page-actions { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 18px; }
.luciole-wishlist-page-actions button { min-height: 42px; padding: 9px 14px; border: 1px solid #f0d8c8; border-radius: 9px; background: #fff; color: var(--lw-text); font-weight: 800; cursor: pointer; }
.luciole-wishlist-page-actions button:first-child { border-color: var(--lw-orange); background: var(--lw-orange); color: #fff; }
.luciole-wishlist-page-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.luciole-wishlist-page-grid .luciole-wishlist-item { display: flex; flex-direction: column; margin: 0; padding: 14px; }
.luciole-wishlist-page-grid .luciole-wishlist-item-image { width: 100%; height: auto; aspect-ratio: 1/1; }
.luciole-wishlist-page-grid .luciole-wishlist-remove { position: absolute; z-index: 2; top: 20px; right: 20px; }
.luciole-wishlist-page .luciole-wishlist-empty.is-page { padding: 70px 20px; }

@media (max-width: 980px) {
  .luciole-wishlist-page-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lgh-tools { gap: 15px !important; }
  .luciole-wishlist-header-link small { display: none !important; }
}
@media (max-width: 700px) {
  .woocommerce ul.products li.product .luciole-wishlist-heart.is-card,
  .wc-block-grid__product .luciole-wishlist-heart.is-card,
  .luciole-wishlist-heart.is-card { top: 9px !important; right: 9px !important; width: 36px !important; height: 36px !important; min-width: 36px !important; min-height: 36px !important; }
  .luciole-wishlist-panel { width: 100%; }
  .luciole-wishlist-head { padding: 21px 18px 16px; }
  .luciole-wishlist-head h2 { font-size: 29px; }
  .luciole-wishlist-account-status, .luciole-wishlist-sync { margin: 12px 14px 0; }
  .luciole-wishlist-items { padding: 14px; }
  .luciole-wishlist-item { grid-template-columns: 92px minmax(0,1fr) 30px; gap: 11px; padding: 11px; }
  .luciole-wishlist-item-image { width: 92px; height: 112px; }
  .luciole-wishlist-item-name { font-size: 13px; }
  .luciole-wishlist-item-price { margin: 8px 0 5px; font-size: 16px; }
  .luciole-wishlist-item-actions { gap: 6px; margin-top: 9px; }
  .luciole-wishlist-item-action, .luciole-wishlist-item-view { min-height: 34px; padding: 6px 9px !important; font-size: 11px; }
  .luciole-wishlist-remove { width: 30px !important; height: 30px !important; min-width: 30px !important; }
  .luciole-wishlist-foot { padding: 14px 14px 18px; }
  .luciole-wishlist-page { padding: 12px 0 50px; }
  .luciole-wishlist-page-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .luciole-wishlist-page-actions { justify-content: stretch; }
  .luciole-wishlist-page-actions button { flex: 1; }
  .luciole-wishlist-header-link > span:nth-child(2) { display: none !important; }
  .luciole-wishlist-header-link { position: relative; }
  .luciole-wishlist-header-link em { position: absolute; top: -8px; right: -8px; margin: 0 !important; }
}
@media (max-width: 430px) {
  .luciole-wishlist-page-grid { grid-template-columns: 1fr; }
  .luciole-wishlist-item-actions { flex-direction: column; }
  .luciole-wishlist-item-action, .luciole-wishlist-item-view { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .luciole-wishlist-overlay, .luciole-wishlist-panel, .luciole-wishlist-toast, .luciole-wishlist-heart { transition: none; }
}
