/* =========================
   WCLA – GLOBAL / WRAPPERS
   ========================= */

.wcla-box{
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:16px;
  padding:16px;
  margin:14px auto;
  max-width:1100px;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
}

.wcla-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.wcla-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border:1px solid rgba(0,0,0,.08);
  background:#fafafa;
  border-radius:999px;
  font-size:13px;
  line-height:1.15;
}

.wcla-pill strong{
  font-weight:700;
}

.wcla-err{
  color:#b00020;
  margin:10px 0;
  font-weight:700;
  padding:8px 10px;
  border-radius:10px;
}

.wcla-ok{
  color:#0a7d2a;
  margin:10px 0;
  font-weight:700;
  padding:8px 10px;
  border-radius:10px;
}

/* JS warning/closed stílusok */
.wcla-warning{
  background:#f0ad4e !important;
  border-color:#eea236 !important;
  color:#000 !important;
}

.wcla-warn{
  background:#fff3cd;
  border:1px solid #ffeeba;
  color:#856404;
  padding:8px 10px;
  border-radius:10px;
  font-weight:700;
}

/* =========================
   AUCTION LIST / LOT CARDS
   ========================= */

.wcla-box.wcla-lots{
  --wcla-main:#5F7F73;
  --wcla-main-2:#4f6b61;
  --wcla-soft:#eef3f1;
  --wcla-accent:#2f4f45;
  --wcla-muted:#6f7378;
  --wcla-border:#d9dde0;
}

.wcla-box.wcla-lots ul{
  list-style:none !important;
  padding-left:0 !important;
  margin:14px 0 0 0 !important;
}

.wcla-box.wcla-lots ul > li{
  list-style:none !important;
  margin:0 0 14px 0 !important;
  padding:0 !important;
}

.wcla-box.wcla-lots form.wcla-row{
  padding:10px 12px;
  background:#fbfbfb;
  border:1px solid #eee;
  border-radius:12px;
}

.wcla-box.wcla-lots label{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
}

.wcla-box.wcla-lots select,
.wcla-box.wcla-lots input[type="text"],
.wcla-box.wcla-lots input[type="number"]{
  border:1px solid #ddd;
  border-radius:10px;
  padding:7px 10px;
  height:38px;
  background:#fff;
}

.wcla-card{
  display:grid;
  grid-template-columns:160px 1fr;
  gap:14px;
  background:#fff;
  border:1px solid var(--wcla-border, #eee);
  border-radius:16px;
  padding:12px;
  box-shadow:0 10px 26px rgba(0,0,0,.07);
  transition:transform .12s ease, box-shadow .12s ease;
}

.wcla-card:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}

/* Egységes képmező: akkor is tartja a helyet, ha nincs kép */
.wcla-card__img{
  position:relative;
  width:160px;
  height:160px;
  border-radius:14px;
  border:1px solid #eee;
  background:#fff;
  overflow:hidden;
}

.wcla-card__img img{
  width:100%;
  height:100%;
  border:0;
  border-radius:0;
  background:transparent;
  object-fit:contain;
  display:block;
}

.wcla-card__img img[src=""]{
  display:none;
}

.wcla-card__badge{
  position:absolute;
  left:10px;
  top:10px;
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  letter-spacing:.3px;
}

.wcla-badge-closed{
  background:#e8f5e9;
  border:1px solid #2e7d32;
  color:#1b5e20;
}

.wcla-card__body{
  min-width:0;
}

.wcla-card__title{
  display:inline-block;
  font-size:18px;
  font-weight:800;
  line-height:1.25;
  margin-bottom:6px;
  text-decoration:none;
  color:inherit;
  word-break:break-word;
}

.wcla-card__title:hover{
  text-decoration:underline;
}

.wcla-box.wcla-lots .wcla-card__title{
  font-weight:900;
}

.wcla-card__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:8px;
}

.wcla-metaitem{
  font-size:13px;
  color:#333;
  background:#f6f6f6;
  padding:4px 10px;
  border-radius:999px;
}

.wcla-meta-k{
  color:#666;
  font-weight:600;
  margin-right:6px;
}

.wcla-box.wcla-lots .wcla-card__meta,
.wcla-box.wcla-lots .wcla-metaitem,
.wcla-box.wcla-lots .wcla-meta-k{
  color:var(--wcla-muted);
  font-size:12px;
}

/* Ár/meta blokk – listanézet egyszerűsítése */
.wcla-card__prices{
  display:grid;
  grid-template-columns:repeat(6, minmax(0,1fr));
  gap:10px;
  margin-top:10px;
}

.wcla-card__prices .wcla-pill{
  background:var(--wcla-soft, #eef3f1);
  border-color:transparent;
  padding:10px 14px;
}

.wcla-card__prices .wcla-pill:nth-child(-n+3){
  grid-column:span 2;
}

.wcla-card__prices .wcla-pill:nth-child(n+4){
  grid-column:span 2;
  background:#fff;
  border-color:var(--wcla-border, #d9dde0);
  padding:7px 10px;
  border-radius:999px;
  font-size:11px;
  line-height:1.15;
}

.wcla-card__prices strong{
  color:var(--wcla-accent, #2f4f45);
  font-weight:900;
  letter-spacing:.2px;
}

.wcla-card__prices .wcla-pill:nth-child(1) strong{
  font-size:16px;
  opacity:.92;
}

.wcla-card__prices .wcla-pill:nth-child(2) strong{
  font-size:22px;
}

.wcla-card__prices .wcla-pill:nth-child(3) strong{
  font-size:18px;
}

/* Dzsungelirtás: 7. adattól listaoldalon rejtve, részletek/modalban megmaradhat */
.wcla-box.wcla-lots .wcla-card__prices .wcla-pill:nth-child(n+7){
  display:none;
}

.wcla-card__extras{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

.wcla-card__actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:12px;
}

.wcla-card__actions .button,
.wcla-btn-details,
.wcla-btn-bid,
.wcla-bid-toggle{
  border-radius:10px !important;
  font-weight:800 !important;
}

.wcla-btn-view{
  border-radius:10px !important;
  padding:9px 12px !important;
  border:1px solid #111 !important;
  background:#111 !important;
  color:#fff !important;
  font-weight:800 !important;
}

.wcla-btn-view:hover{
  opacity:.92;
}

.wcla-btn-bid{
  padding:9px 12px !important;
}

.wcla-box.wcla-lots .wcla-card__actions .button,
.wcla-box.wcla-lots .wcla-btn-details{
  background:var(--wcla-main) !important;
  border-color:var(--wcla-main) !important;
  color:#fff !important;
  font-weight:900 !important;
  border-radius:12px !important;
  padding:10px 14px !important;
}

.wcla-box.wcla-lots .wcla-card__actions .button:hover,
.wcla-box.wcla-lots .wcla-btn-details:hover{
  background:var(--wcla-main-2) !important;
  border-color:var(--wcla-main-2) !important;
}

/* =========================
   BID PANEL
   ========================= */

.wcla-bidpanel{
  display:none;
  margin-top:12px;
  padding:12px;
  border:1px solid #eee;
  border-radius:14px;
  background:#fbfbfb;
}

.wcla-bidpanel.is-open{
  display:block;
}

.wcla-bidpanel__inner{
  position:relative;
}

.wcla-bidpanel__top,
.wcla-bidpanel__inner .wcla-row{
  gap:10px;
}

.wcla-bidpanel__inner hr{
  border:0;
  border-top:1px solid #eee;
}

.wcla-bidpanel__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-bottom:1px solid rgba(0,0,0,.08);
  margin-bottom:10px;
}

.wcla-bidpanel__head .wcla-js-bidpanel-close{
  line-height:1;
  padding:6px 10px;
}

.wcla-bidpanel__actions .button{
  border-radius:10px !important;
}

/* Proxy sor */
.wcla-proxy-form,
#wcla-proxy-form{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:nowrap;
}

.wcla-proxy-form input,
#wcla-proxy-form input{
  flex:1 1 auto;
  min-width:220px;
  height:40px;
  padding:6px 12px;
  border-radius:10px;
  text-align:right;
  font-size:16px;
  font-variant-numeric:tabular-nums;
}

.wcla-proxy-form button,
#wcla-proxy-form button{
  flex:0 0 auto;
  height:40px;
  border-radius:10px;
  white-space:nowrap;
}

/* =========================
   GALLERY THUMBS
   ========================= */

.wcla-card__g{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
}

.wcla-gthumb{
  width:42px;
  height:42px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid #eee;
  cursor:pointer;
  background:#fff;
}

.wcla-gthumb:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,0,0,.10);
}

.wcla-gmore{
  font-size:12px;
  color:#666;
  user-select:none;
}

/* =========================
   CATEGORY UI
   ========================= */

/* Kategória gombsor asztalon, legördülő mobilon */
.wcla-catbar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0;
}

.wcla-catselect{
  display:none;
}

.wcla-catbar a.button,
.wcla-catbar a.button:visited,
.wcla-catbar a.button:hover,
.wcla-catbar a.button:focus{
  background:#5F7F73 !important;
  border-color:#5F7F73 !important;
  color:#fff !important;
  text-decoration:none !important;
  box-shadow:none !important;
}

.wcla-catbar a.button.button-primary,
.wcla-catbar a.button.button-primary:visited,
.wcla-catbar a.button.button-primary:hover,
.wcla-catbar a.button.button-primary:focus{
  background:#3E5E54 !important;
  border-color:#3E5E54 !important;
  color:#fff !important;
}

.wcla-catbar a.button:active{
  color:#fff !important;
}

@media (max-width: 720px){
  .wcla-catbar{
    display:none;
  }

  .wcla-catselect{
    display:flex;
    align-items:center;
    gap:8px;
  }
}

/* =========================
   DETAILS PANEL
   ========================= */

.wcla-details{
  margin-top:12px;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(250,245,235,.92);
  overflow:hidden;
}

.wcla-details__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 14px;
  background:rgba(255,255,255,.65);
}

.wcla-details__title{
  font-weight:800;
}

.wcla-details__close{
  border:0;
  background:transparent;
  font-size:22px;
  line-height:1;
  padding:4px 8px;
  cursor:pointer;
}

.wcla-details__body{
  padding:14px;
}

.wcla-gal{
  position:relative;
  background:#fff;
  border-radius:16px;
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow:0 8px 22px rgba(0,0,0,.08);
}

.wcla-gal-img{
  max-width:100%;
  max-height:70vh;
  width:auto;
  height:auto;
  border-radius:12px;
  display:block;
}

.wcla-gal-prev,
.wcla-gal-next{
  border:0;
  background:rgba(0,0,0,.06);
  border-radius:999px;
  width:42px;
  height:42px;
  font-size:26px;
  line-height:42px;
  cursor:pointer;
}

.wcla-gal-count{
  position:absolute;
  bottom:10px;
  right:12px;
  background:rgba(0,0,0,.55);
  color:#fff;
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
}

.wcla-desc{
  margin-top:12px;
  background:rgba(255,255,255,.75);
  border-radius:14px;
  padding:12px 14px;
}

/* =========================
   OLD / PRIMARY MODAL
   Csak akkor törölhető, ha a JS már nem használ #wcla-modal ID-t.
   ========================= */

html.wcla-modal-open,
body.wcla-modal-open{
  overflow:hidden !important;
}

#wcla-modal{
  position:fixed;
  inset:0;
  background:rgba(250,245,235,.92);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:99999;
  padding:18px;
}

#wcla-modal .wcla-modal-box{
  background:#fff;
  max-width:1180px;
  width:100%;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 14px 40px rgba(0,0,0,.35);
}

#wcla-modal .wcla-modal-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 14px;
  border-bottom:1px solid #eee;
}

#wcla-modal .wcla-modal-title{
  width:100%;
}

#wcla-modal .wcla-modal-head-meta{
  font-size:20px;
  color:#666;
  font-weight:700;
  margin-bottom:8px;
}

#wcla-modal .wcla-modal-head-title{
  font-size:22px;
  line-height:1.3;
  font-weight:700;
  color:#222;
}

#wcla-modal .wcla-modal-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  padding:14px 16px;
  border-bottom:1px solid #eee;
}

#wcla-modal .wcla-modal-x{
  cursor:pointer;
  border:0;
  background:transparent;
  border-radius:12px;
  padding:6px 10px;
  font-weight:900;
  font-size:20px;
}

#wcla-modal .wcla-modal-body{
  display:grid;
  grid-template-columns:1fr 420px;
}

#wcla-modal .wcla-modal-img{
  background:#faf5eb;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:520px;
  padding:20px 56px 88px;
}

#wcla-modal .wcla-modal-img img{
  max-width:100%;
  max-height:72vh;
  object-fit:contain;
  cursor:zoom-in;
}

#wcla-modal .wcla-modal-prev,
#wcla-modal .wcla-modal-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.85);
  width:44px;
  height:44px;
  border-radius:999px;
  cursor:pointer;
  font-size:26px;
  line-height:44px;
  text-align:center;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}

#wcla-modal .wcla-modal-prev:hover,
#wcla-modal .wcla-modal-next:hover{
  transform:translateY(-50%) scale(1.05);
  background:#fff;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}

#wcla-modal .wcla-modal-prev{
  left:10px;
}

#wcla-modal .wcla-modal-next{
  right:10px;
}

#wcla-modal .wcla-modal-count{
  position:absolute;
  bottom:10px;
  right:10px;
  background:rgba(255,255,255,.85);
  padding:4px 8px;
  border-radius:12px;
  font-weight:700;
  font-size:12px;
}

#wcla-modal .wcla-modal-thumbs{
  position:absolute;
  left:14px;
  right:14px;
  bottom:12px;
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:6px 2px 2px;
  scrollbar-width:thin;
}

#wcla-modal .wcla-modal-thumb{
  flex:0 0 auto;
  width:58px;
  height:58px;
  padding:0;
  border-radius:14px;
  border:2px solid transparent;
  background:#fff;
  cursor:pointer;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,.10);
  transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

#wcla-modal .wcla-modal-thumb:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(0,0,0,.16);
}

#wcla-modal .wcla-modal-thumb.is-active{
  border-color:#111;
}

#wcla-modal .wcla-modal-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

#wcla-modal .wcla-modal-side{
  padding:12px 14px;
  max-height:72vh;
  overflow:auto;
}

#wcla-modal .wcla-modal-desc{
  color:#333;
  font-size:14px;
  line-height:1.5;
  white-space:pre-wrap;
}

/* Modalban a licitpanel mindig látható */
#wcla-modal .wcla-modal-bid .wcla-bidpanel{
  display:block !important;
}

#wcla-modal .wcla-modal-bid .wcla-bidpanel__head{
  display:none;
}

#wcla-modal .wcla-modal-bid .wcla-bidpanel__inner{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(60,60,60,.12);
  border-radius:16px;
  padding:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

#wcla-modal .wcla-modal-bid .wcla-js-current{
  font-size:1.35em;
  font-weight:800;
}

#wcla-modal .wcla-modal-bid .wcla-js-next{
  font-size:1.15em;
  font-weight:700;
}

#wcla-modal .wcla-modal-bid .wcla-proxy-form input[type="number"],
#wcla-modal .wcla-modal-bid .wcla-proxy-form button,
#wcla-modal .wcla-modal-bid .wcla-js-manual{
  height:40px;
  border-radius:10px;
}

/* Modal gombok */
.wcla-modal-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:14px 0 0;
  max-width:260px;
}

.wcla-modal-actions .button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 16px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
}

.wcla-modal-actions .wcla-btn-cart{
  background:#5F7F73;
  border-color:#5F7F73;
  color:#fff;
}

.wcla-modal-actions .wcla-btn-cart:hover{
  background:#4e6b61;
  border-color:#4e6b61;
  color:#fff;
}

.wcla-modal-actions .wcla-btn-fav{
  background:#eef3f1;
  border:1px solid #cfd9d5;
  color:#2f6f5f;
}

.wcla-modal-actions .wcla-btn-detailslink{
  background:#f6f3ed;
  border:1px solid #ddd4c6;
  color:#4a4037;
}

/* =========================
   FULLSCREEN IMAGE VIEWER
   ========================= */

.wcla-imgview{
  position:fixed;
  inset:0;
  z-index:100000;
  display:none;
  background:rgba(0,0,0,.92);
}

.wcla-imgview.is-open{
  display:block;
}

.wcla-imgview__bar{
  position:absolute;
  top:10px;
  left:10px;
  right:10px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  pointer-events:none;
}

.wcla-imgview__bar .wcla-imgview__group{
  display:flex;
  gap:8px;
  pointer-events:auto;
}

.wcla-imgview__btn{
  border:0;
  background:rgba(255,255,255,.12);
  color:#fff;
  padding:10px 12px;
  border-radius:14px;
  cursor:pointer;
  font-weight:800;
}

.wcla-imgview__btn:hover{
  background:rgba(255,255,255,.18);
}

.wcla-imgview__stage{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  touch-action:none;
}

.wcla-imgview__hint{
  position:absolute;
  left:12px;
  bottom:12px;
  z-index:2;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:13px;
  line-height:1;
  pointer-events:none;
  user-select:none;
  backdrop-filter:blur(4px);
}

.wcla-imgview__hint-ic{
  font-size:16px;
  line-height:1;
}

.wcla-imgview__hint-t{
  opacity:.92;
}

.wcla-imgview__img{
  max-width:95vw;
  max-height:92vh;
  transform-origin:center center;
  user-select:none;
  -webkit-user-drag:none;
}

.wcla-imgview__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:54px;
  height:54px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  color:#fff;
  background:rgba(255,255,255,.12);
  font-size:34px;
  line-height:54px;
}

.wcla-imgview__nav:hover{
  background:rgba(255,255,255,.18);
}

.wcla-imgview__nav.prev{
  left:14px;
}

.wcla-imgview__nav.next{
  right:14px;
}

.wcla-imgview__tools{
  position:absolute;
  top:50%;
  right:16px;
  transform:translateY(-50%);
  display:flex;
  flex-direction:column;
  gap:8px;
  pointer-events:auto;
}

.wcla-imgview__btn--close{
  font-weight:900;
}

/* =========================
   NEW LIGHTBOX
   Új képnagyító lightbox zoom/lapozás funkcióhoz.
   ========================= */

.wcla-lb{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
}

.wcla-lb.is-open{
  display:block;
}

.wcla-lb__bg{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.92);
}

.wcla-lb__ui{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
}

.wcla-lb__top{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  padding:12px;
}

.wcla-lb__btn{
  border:0;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:18px;
  line-height:1;
  cursor:pointer;
  padding:10px 12px;
  border-radius:12px;
}

.wcla-lb__btn:hover{
  background:rgba(255,255,255,.18);
}

.wcla-lb__mid{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px;
}

.wcla-lb__nav{
  border:0;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:28px;
  cursor:pointer;
  padding:14px 16px;
  border-radius:14px;
}

.wcla-lb__nav:hover{
  background:rgba(255,255,255,.18);
}

.wcla-lb__stage{
  position:relative;
  max-width:96vw;
  max-height:82vh;
  overflow:hidden;
  touch-action:none;
}

.wcla-lb__img{
  max-width:96vw;
  max-height:82vh;
  transform-origin:center center;
  cursor:grab;
  user-select:none;
  -webkit-user-drag:none;
}

.wcla-lb__img:active{
  cursor:grabbing;
}

.wcla-lb__caption{
  color:#fff;
  opacity:.85;
  font-size:14px;
  text-align:center;
  padding:6px 14px 14px;
}

/* =========================
   LOT PAGE
   ========================= */

#wcla-history p{
  margin:8px 0;
}

#wcla-msg .wcla-err,
#wcla-msg .wcla-ok{
  margin:10px 0;
}

/* =========================
   LIVE VIEW
   ========================= */

.wcla-live-item{
  display:flex;
  gap:12px;
  align-items:center;
  margin:10px 0 2px 0;
}

.wcla-live-item #wcla-live-thumb{
  width:72px;
  height:72px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid #e5e5e5;
  display:block;
  background:#fff;
}

.wcla-live-item__title{
  font-size:18px;
  font-weight:800;
  line-height:1.2;
}

.wcla-live-buttons{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  max-width:720px;
}

.wcla-live-buttons .wcla-live-btn{
  padding:14px 10px;
  font-size:16px;
  border-radius:14px;
  font-weight:800;
}

.wcla-phase-warning .wcla-live-btn{
  background:#f0ad4e !important;
  border-color:#eea236 !important;
  color:#000 !important;
}

.wcla-phase-warning .wcla-phase-msg{
  background:#fff3cd;
  border:1px solid #ffeeba;
  color:#856404;
  padding:8px 10px;
  border-radius:10px;
  margin:10px 0;
  font-weight:800;
}

.wcla-phase-closed .wcla-live-btn{
  background:#e5e5e5 !important;
  border-color:#ccc !important;
  color:#777 !important;
  pointer-events:none;
}

.wcla-phase-closed .wcla-phase-msg{
  background:#f8d7da;
  border:1px solid #f5c6cb;
  color:#721c24;
  padding:8px 10px;
  border-radius:10px;
  margin:10px 0;
  font-weight:900;
}

/* =========================
   LEFTOVER SALE
   ========================= */

.wcla-leftover-priceblock{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:10px 12px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  background:rgba(0,0,0,.02);
  width:100%;
}

.wcla-leftover-line{
  font-size:13px;
  opacity:.85;
}

.wcla-leftover-payable{
  font-size:16px;
  font-weight:700;
}

.wcla-leftover-payable strong{
  font-size:18px;
}

.wcla-leftover-note{
  font-size:12px;
  opacity:.75;
}

@media (min-width:768px){
  .wcla-card__prices .wcla-leftover-priceblock{
    flex:1 1 560px;
    max-width:100%;
  }
}

/* =========================
   SMALL POLISH
   ========================= */

.wcla-box p{
  margin:10px 0;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width:900px){
  #wcla-modal .wcla-modal-body{
    grid-template-columns:1fr;
  }

  #wcla-modal .wcla-modal-side{
    border-top:1px solid #eee;
  }

  #wcla-modal .wcla-modal-img{
    min-height:360px;
    padding:16px 44px 84px;
  }
}

@media (max-width:768px){
  .wcla-card{
    grid-template-columns:1fr;
  }

  .wcla-card__img{
    width:100%;
    height:240px;
  }

  .wcla-live-buttons{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .wcla-live-buttons .wcla-live-btn[data-idx='6'],
  .wcla-live-buttons .wcla-live-btn[data-idx='7'],
  .wcla-live-buttons .wcla-live-btn[data-idx='8']{
    display:none;
  }

  .wcla-modal-actions{
    max-width:none;
    width:100%;
  }
}

@media (max-width:640px){
  .wcla-card__prices{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .wcla-card__prices .wcla-pill:nth-child(-n+3){
    grid-column:1 / -1;
  }

  .wcla-card__prices .wcla-pill:nth-child(n+4){
    grid-column:span 1;
    padding:6px 9px;
    font-size:11px;
  }

  .wcla-metaitem-sku{
    display:none;
  }

  #wcla-modal .wcla-modal-img{
    min-height:300px;
    padding:14px 14px 82px;
  }

  #wcla-modal .wcla-modal-prev,
  #wcla-modal .wcla-modal-next{
    width:40px;
    height:40px;
    line-height:40px;
    font-size:22px;
  }

  #wcla-modal .wcla-modal-prev{
    left:6px;
  }

  #wcla-modal .wcla-modal-next{
    right:6px;
  }

  #wcla-modal .wcla-modal-thumb{
    width:52px;
    height:52px;
  }
}

@media (max-width:520px){
  .wcla-lb__nav{
    font-size:22px;
    padding:12px 14px;
  }
}

/* WCLA category buttons - force readable states */
body .wcla-box.wcla-lots .wcla-catbar a,
body .wcla-box.wcla-lots .wcla-catbar a:link,
body .wcla-box.wcla-lots .wcla-catbar a:visited,
body .wcla-box.wcla-lots .wcla-catbar a:hover,
body .wcla-box.wcla-lots .wcla-catbar a:focus,
body .wcla-box.wcla-lots .wcla-catbar a:active,
body .wcla-box.wcla-lots .wcla-catbar a.button,
body .wcla-box.wcla-lots .wcla-catbar a.button:link,
body .wcla-box.wcla-lots .wcla-catbar a.button:visited,
body .wcla-box.wcla-lots .wcla-catbar a.button:hover,
body .wcla-box.wcla-lots .wcla-catbar a.button:focus,
body .wcla-box.wcla-lots .wcla-catbar a.button:active{
  background:#5F7F73 !important;
  border-color:#5F7F73 !important;
  color:#ffffff !important;
  text-decoration:none !important;
  box-shadow:none !important;
  opacity:1 !important;
}

body .wcla-box.wcla-lots .wcla-catbar a.button-primary,
body .wcla-box.wcla-lots .wcla-catbar a.button-primary:link,
body .wcla-box.wcla-lots .wcla-catbar a.button-primary:visited,
body .wcla-box.wcla-lots .wcla-catbar a.button-primary:hover,
body .wcla-box.wcla-lots .wcla-catbar a.button-primary:focus,
body .wcla-box.wcla-lots .wcla-catbar a.button-primary:active{
  background:#3E5E54 !important;
  border-color:#3E5E54 !important;
  color:#ffffff !important;
}

/* Frontend Audit 2: tételnavigáció a részletező ablakban */
#wcla-modal .wcla-modal-lotnav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 18px 18px;
  border-top:1px solid rgba(0,0,0,.10);
  background:#fff;
}
#wcla-modal .wcla-modal-lotnav .button{
  min-width:150px;
  font-weight:700;
}
#wcla-modal .wcla-modal-lotnav .button:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.wcla-card__img{
  cursor:zoom-in;
}
@media (max-width:640px){
  #wcla-modal .wcla-modal-lotnav{
    padding:12px;
  }
  #wcla-modal .wcla-modal-lotnav .button{
    min-width:0;
    flex:1 1 50%;
    white-space:normal;
  }
}
