/* #precomanda + lista de wishlist (folosită și pe /wishlist.html) */
.pre-grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (min-width: 960px) { .pre-grid { grid-template-columns: 0.85fr 1.15fr; } .pre-intro { position: sticky; top: calc(var(--nav-h) + 24px); } }
.pre-free { font-size: var(--step-1); padding: 14px 18px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.pre-points { padding-left: 1.2em; color: var(--muted); }
.pre-points li { margin-bottom: 0.4em; }
.pre-status:empty { display: none; }
.pre-status { margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--text); font-weight: 600; }
.pre-empty, .pre-total { margin: 0; }
.pre-fineprint { margin: 0; text-align: center; font-size: var(--step--1); }
html:not(.js) .js-only { display: none; }

.wl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wl-list:empty { display: none; }
.wl-row {
  display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "icon main remove" "icon qty qty";
  gap: 8px 12px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface);
}
@media (min-width: 560px) { .wl-row { grid-template-columns: 44px 1fr auto auto; grid-template-areas: "icon main qty remove"; } }
.wl-row__icon { grid-area: icon; width: 44px; height: 44px; padding: 8px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); align-self: start; }
.wl-row__icon svg { width: 100%; height: 100%; }
.wl-row__main { grid-area: main; display: grid; gap: 6px; min-width: 0; }
.wl-row__name { font-weight: 700; }
.wl-row__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.wl-row__opts select {
  min-height: 36px; padding: 4px 28px 4px 10px; border-radius: 8px; border: 1.5px solid var(--border);
  background: var(--surface); font-size: 0.88rem; max-width: 100%;
}
.wl-row__price { font-size: 0.92rem; color: var(--muted); font-weight: 600; }
.wl-row__qty { grid-area: qty; display: inline-flex; align-items: center; gap: 4px; justify-self: start; }
.wl-row__qty output { min-width: 26px; text-align: center; font-weight: 800; }
.wl-row__qty .icon-btn { width: 36px; height: 36px; font-size: 1.2rem; font-weight: 700; }
.wl-row__remove { grid-area: remove; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: inline-grid; place-items: center; align-self: start; }
.wl-row__remove:hover { background: var(--surface-2); color: var(--danger); }
.wl-row__remove svg { width: 18px; height: 18px; }
