/* ==========================================================================
   YiroSoft Itemshop
   A site.css valtozoira epul (--gold, --bg-1, --line, ...), hogy a bolt
   ugyanugy nezzen ki, mint az oldal tobbi resze. Uj szint nem vezetunk be,
   csak a meglevoket hasznaljuk.
   ========================================================================== */

.ys-shop {
  --shop-radius: 14px;
  --shop-radius-sm: 10px;
  --shop-panel: rgba(255, 255, 255, .035);
  --shop-panel-2: rgba(255, 255, 255, .055);
  --shop-line: var(--line, rgba(255, 255, 255, .12));
  --shop-gold: var(--gold, #d8bf7a);
  --shop-gold-2: var(--gold-2, #a78e52);
  --shop-text: var(--text, #e9ecf1);
  --shop-muted: var(--muted, #b6bcc6);

  color: var(--shop-text);
  padding-bottom: 3rem;
}

.ys-shop .container { max-width: 1320px; }

/* --------------------------------------------------------------- Fejlec */

.shop-topbar {
  position: sticky;
  top: var(--nav-h, 56px);
  z-index: 20;
  background: rgba(12, 16, 22, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shop-line);
  margin-bottom: 1.75rem;
}

.ys-shop-embed .shop-topbar { top: 0; }

.shop-topbar-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .7rem 0;
}

.shop-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.shop-brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--shop-radius-sm);
  background: linear-gradient(135deg, var(--shop-gold), var(--shop-gold-2));
  color: #1a1a1a;
  font-size: 1.05rem;
}

.shop-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.shop-brand-title { font-weight: 700; font-size: 1rem; letter-spacing: .01em; }
.shop-brand-sub { font-size: .72rem; color: var(--shop-muted); }

.shop-search {
  position: relative;
  flex: 1 1 auto;
  max-width: 460px;
}

.shop-search i {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--shop-muted);
  font-size: .9rem;
  pointer-events: none;
}

.shop-search input {
  width: 100%;
  height: 38px;
  padding: 0 .9rem 0 2.25rem;
  border-radius: var(--shop-radius-sm);
  border: 1px solid var(--shop-line);
  background: var(--shop-panel);
  color: var(--shop-text);
  font-size: .88rem;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}

.shop-search input:focus {
  border-color: rgba(216, 191, 122, .5);
  background: var(--shop-panel-2);
}

.shop-search input::placeholder { color: var(--shop-muted); }

.shop-topbar-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}

/* Egyenleg kijelzo */
.shop-balance {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  height: 38px;
  padding: 0 .35rem 0 .75rem;
  border-radius: var(--shop-radius-sm);
  border: 1px solid rgba(216, 191, 122, .3);
  background: rgba(216, 191, 122, .08);
  color: var(--shop-gold);
  text-decoration: none;
  font-size: .88rem;
  transition: background .15s ease, border-color .15s ease;
}

.shop-balance:hover {
  background: rgba(216, 191, 122, .14);
  border-color: rgba(216, 191, 122, .45);
  color: var(--shop-gold);
}

.shop-balance-value { font-weight: 700; font-variant-numeric: tabular-nums; }
.shop-balance-unit { font-size: .74rem; opacity: .8; }

.shop-balance-plus {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(216, 191, 122, .18);
  font-size: .7rem;
}

/* Kosar gomb badge-dzsel */
.shop-btn-cart { position: relative; }

.shop-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--shop-gold);
  color: #1a1a1a;
  font-size: .68rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  display: none;
}

.shop-cart-badge.is-visible { display: block; }

/* Kategoria sav */
.shop-cats {
  display: flex;
  gap: .4rem;
  padding: 0 0 .7rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.shop-cats::-webkit-scrollbar { height: 4px; }
.shop-cats::-webkit-scrollbar-thumb { background: var(--shop-line); border-radius: 2px; }

.shop-cat {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .38rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--shop-line);
  background: var(--shop-panel);
  color: var(--shop-muted);
  font-size: .82rem;
  white-space: nowrap;
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.shop-cat:hover { color: var(--shop-text); border-color: rgba(216, 191, 122, .3); }

.shop-cat.is-active {
  color: #1a1a1a;
  background: linear-gradient(135deg, var(--shop-gold), var(--shop-gold-2));
  border-color: transparent;
  font-weight: 600;
}

.shop-cat-count {
  font-size: .7rem;
  opacity: .7;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------- Gombok */

.shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  height: 38px;
  padding: 0 .95rem;
  border: 1px solid transparent;
  border-radius: var(--shop-radius-sm);
  font-size: .87rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: filter .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

.shop-btn:disabled,
.shop-btn[disabled] { opacity: .45; cursor: not-allowed; }

.shop-btn-primary {
  background: linear-gradient(135deg, var(--shop-gold), var(--shop-gold-2));
  color: #1a1a1a;
}

.shop-btn-primary:hover:not(:disabled) { filter: brightness(1.08); color: #1a1a1a; }

.shop-btn-ghost {
  background: var(--shop-panel);
  border-color: var(--shop-line);
  color: var(--shop-text);
}

.shop-btn-ghost:hover:not(:disabled) {
  background: var(--shop-panel-2);
  border-color: rgba(216, 191, 122, .35);
  color: var(--shop-text);
}

.shop-btn-danger:hover:not(:disabled) {
  border-color: rgba(239, 68, 68, .5);
  color: #f87171;
}

.shop-btn-lg { height: 46px; padding: 0 1.4rem; font-size: .95rem; }
.shop-btn-sm { height: 32px; padding: 0 .6rem; font-size: .8rem; }
.shop-btn-block { width: 100%; }

.shop-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  height: 34px;
  padding: 0 .8rem;
  border-radius: var(--shop-radius-sm);
  border: 1px solid var(--shop-line);
  background: var(--shop-panel);
  color: var(--shop-muted);
  font-size: .82rem;
  text-decoration: none;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}

.shop-chip:hover { color: var(--shop-text); border-color: rgba(216, 191, 122, .3); }

.shop-chip.is-active {
  color: var(--shop-gold);
  border-color: rgba(216, 191, 122, .45);
  background: rgba(216, 191, 122, .1);
}

/* --------------------------------------------------- Szekcio fejlecek */

.shop-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.shop-section-title {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.shop-section-title i { color: var(--shop-gold); font-size: 1rem; }
.shop-section-sub { margin: .25rem 0 0; font-size: .82rem; color: var(--shop-muted); }

.shop-toolbar { display: flex; gap: .4rem; flex-wrap: wrap; }

.shop-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.shop-page-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.shop-page-title i { color: var(--shop-gold); }
.shop-page-sub { font-size: .85rem; color: var(--shop-muted); }

.shop-crumbs {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  color: var(--shop-muted);
  margin-bottom: 1rem;
}

.shop-crumbs a { color: var(--shop-muted); text-decoration: none; }
.shop-crumbs a:hover { color: var(--shop-gold); }
.shop-crumbs i { font-size: .65rem; opacity: .6; }

/* --------------------------------------------------------- Termek racs */

.shop-featured { margin-bottom: 2.5rem; }

.shop-featured-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(215px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scrollbar-width: thin;
}

.shop-featured-rail::-webkit-scrollbar { height: 5px; }
.shop-featured-rail::-webkit-scrollbar-thumb { background: var(--shop-line); border-radius: 3px; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 1rem;
}

.shop-item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius);
  background: var(--shop-panel);
  overflow: hidden;
  transition: border-color .18s ease, background .18s ease;
}

.shop-item:hover { border-color: rgba(216, 191, 122, .38); background: var(--shop-panel-2); }
.shop-item.is-soldout { opacity: .6; }

.shop-item-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: rgba(0, 0, 0, .28);
  text-decoration: none;
  overflow: hidden;
}

.shop-item-media img {
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
  transition: transform .22s ease;
}

.shop-item:hover .shop-item-media img { transform: scale(1.05); }

.shop-item-placeholder { font-size: 2.2rem; color: rgba(255, 255, 255, .16); }

.shop-item-count {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  padding: .12rem .4rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, .7);
  color: var(--shop-gold);
  font-size: .74rem;
  font-weight: 700;
}

.shop-item-flags {
  position: absolute;
  top: .5rem;
  left: .5rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  align-items: flex-start;
}

.shop-flag {
  padding: .14rem .42rem;
  border-radius: 5px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.35;
}

.shop-flag-sale { background: #dc3545; color: #fff; }
.shop-flag-new { background: var(--shop-gold); color: #1a1a1a; }
.shop-flag-hot { background: rgba(0, 0, 0, .65); color: var(--shop-gold); }

.shop-item-soldout {
  position: absolute;
  inset: auto 0 0 0;
  padding: .3rem;
  background: rgba(0, 0, 0, .78);
  color: #f87171;
  font-size: .78rem;
  font-weight: 700;
  text-align: center;
}

.shop-item-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: .75rem .8rem .8rem;
  gap: .35rem;
}

.shop-item-title { margin: 0; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.shop-item-title a { color: var(--shop-text); text-decoration: none; }
.shop-item-title a:hover { color: var(--shop-gold); }

.shop-item-desc {
  margin: 0;
  font-size: .78rem;
  color: var(--shop-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-item-stock { font-size: .74rem; color: #f0a05a; }
.shop-item-stock strong { color: #f7b267; }

.shop-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: .5rem;
}

.shop-item-price { display: flex; align-items: baseline; gap: .3rem; flex-wrap: wrap; }

.shop-price-old {
  font-size: .76rem;
  color: var(--shop-muted);
  text-decoration: line-through;
}

.shop-price-now {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--shop-gold);
  font-variant-numeric: tabular-nums;
}

.shop-price-unit { font-size: .72rem; color: var(--shop-muted); }

.shop-item-buy { width: 38px; padding: 0; flex-shrink: 0; }

/* ------------------------------------------------------ Termek reszlet */

.shop-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.shop-detail-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius);
  background: rgba(0, 0, 0, .28);
  overflow: hidden;
}

.shop-detail-media img { max-width: 72%; max-height: 72%; object-fit: contain; }

.shop-detail-type {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 6px;
  background: rgba(216, 191, 122, .12);
  color: var(--shop-gold);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.shop-detail-title { margin: .7rem 0 .5rem; font-size: 1.7rem; font-weight: 700; line-height: 1.2; }
.shop-detail-lead { color: var(--shop-muted); font-size: .95rem; line-height: 1.55; margin-bottom: 1.2rem; }

.shop-detail-price {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: 1.2rem;
}

.shop-detail-price .shop-price-now { font-size: 1.9rem; }
.shop-detail-price .shop-price-old { font-size: 1rem; }

.shop-detail-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .84rem;
  color: var(--shop-muted);
  margin-bottom: 1rem;
}

.shop-detail-note i { color: var(--shop-gold); }
.shop-detail-note a { color: var(--shop-gold); }
.shop-detail-note-warn { color: #f0a05a; }
.shop-detail-note-warn i { color: #f0a05a; }

.shop-buy-row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }

.shop-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .1rem 1.5rem;
  margin: 1.5rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--shop-line);
}

.shop-specs > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.shop-specs dt { font-size: .82rem; color: var(--shop-muted); font-weight: 400; }
.shop-specs dd { margin: 0; font-size: .82rem; font-weight: 600; }

.shop-detail-desc { margin-top: 1.5rem; }
.shop-detail-desc h2 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.shop-detail-desc p { color: var(--shop-muted); font-size: .9rem; line-height: 1.65; margin: 0; }

/* -------------------------------------------------------- Mennyiseg */

.shop-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius-sm);
  background: var(--shop-panel);
  overflow: hidden;
  height: 38px;
}

.shop-qty-btn {
  width: 34px;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--shop-muted);
  font-size: .78rem;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}

.shop-qty-btn:hover { color: var(--shop-gold); background: rgba(255, 255, 255, .05); }

.shop-qty-input {
  width: 46px;
  height: 100%;
  border: 0;
  border-left: 1px solid var(--shop-line);
  border-right: 1px solid var(--shop-line);
  background: transparent;
  color: var(--shop-text);
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
  outline: none;
  -moz-appearance: textfield;
}

.shop-qty-input::-webkit-outer-spin-button,
.shop-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ----------------------------------------------------------- Kosar */

.shop-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 1.5rem;
  align-items: start;
}

.shop-cart-lines { display: flex; flex-direction: column; gap: .7rem; }

.shop-cart-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto auto 32px;
  align-items: center;
  gap: 1rem;
  padding: .8rem;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius);
  background: var(--shop-panel);
}

.shop-cart-thumb {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: var(--shop-radius-sm);
  background: rgba(0, 0, 0, .3);
  color: rgba(255, 255, 255, .2);
  font-size: 1.4rem;
  overflow: hidden;
}

.shop-cart-thumb img { max-width: 80%; max-height: 80%; object-fit: contain; }

.shop-cart-name {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  color: var(--shop-text);
  text-decoration: none;
}

.shop-cart-name:hover { color: var(--shop-gold); }
.shop-cart-meta { font-size: .78rem; color: var(--shop-muted); margin-top: .15rem; }

.shop-cart-total {
  font-weight: 700;
  color: var(--shop-gold);
  font-variant-numeric: tabular-nums;
  min-width: 96px;
  text-align: right;
}

.shop-cart-total span { display: block; font-size: .68rem; color: var(--shop-muted); font-weight: 400; }

.shop-cart-remove {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--shop-muted);
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}

.shop-cart-remove:hover { color: #f87171; background: rgba(239, 68, 68, .12); }

/* ------------------------------------------------------- Osszegzes */

.shop-summary {
  position: sticky;
  top: calc(var(--nav-h, 56px) + 5.5rem);
  padding: 1.2rem;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius);
  background: var(--shop-panel);
}

.shop-summary-title { font-size: 1rem; font-weight: 700; margin: 0 0 1rem; }

.shop-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .38rem 0;
  font-size: .87rem;
  color: var(--shop-muted);
}

.shop-summary-row strong { color: var(--shop-text); font-variant-numeric: tabular-nums; }
.shop-summary-sep { border-color: var(--shop-line); margin: .8rem 0; opacity: 1; }

.shop-summary-total { font-size: .95rem; }
.shop-summary-total strong { color: var(--shop-gold); font-size: 1.15rem; }

/* -------------------------------------------------------- Panelek */

.shop-panel {
  padding: 1.2rem;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius);
  background: var(--shop-panel);
  margin-bottom: 1rem;
}

.shop-panel-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.shop-panel-title i { color: var(--shop-gold); }

.shop-field { margin-bottom: 1rem; }
.shop-field:last-child { margin-bottom: 0; }

.shop-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: .4rem;
}

.shop-label-hint { font-weight: 400; color: var(--shop-muted); font-size: .76rem; }

.shop-input {
  width: 100%;
  min-height: 40px;
  padding: .5rem .8rem;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius-sm);
  background: rgba(0, 0, 0, .25);
  color: var(--shop-text);
  font-size: .88rem;
  outline: none;
  transition: border-color .15s ease;
}

.shop-input:focus { border-color: rgba(216, 191, 122, .5); }
.shop-input::placeholder { color: var(--shop-muted); }
select.shop-input { cursor: pointer; }

.shop-input-group { display: flex; gap: .5rem; }
.shop-input-group .shop-input { flex: 1; }

.shop-hint { font-size: .78rem; color: var(--shop-muted); margin: .4rem 0 0; line-height: 1.5; }
.shop-hint a { color: var(--shop-gold); }

.shop-checkout-lines { display: flex; flex-direction: column; gap: .1rem; }

.shop-checkout-line {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  font-size: .87rem;
}

.shop-checkout-line:last-child { border-bottom: 0; }

.shop-checkout-qty {
  min-width: 30px;
  color: var(--shop-gold);
  font-weight: 700;
  font-size: .82rem;
}

.shop-checkout-name { flex: 1; }
.shop-checkout-price { font-weight: 600; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------ Rendelesek */

.shop-orders { display: flex; flex-direction: column; gap: .6rem; }

.shop-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto 20px;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1rem;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius);
  background: var(--shop-panel);
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, background .18s ease;
}

.shop-order-row:hover { border-color: rgba(216, 191, 122, .35); background: var(--shop-panel-2); color: inherit; }

.shop-order-no { font-weight: 700; font-size: .92rem; }
.shop-order-date { font-size: .78rem; color: var(--shop-muted); margin-top: .15rem; }

.shop-order-total {
  font-weight: 700;
  color: var(--shop-gold);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.shop-order-total span { display: block; font-size: .68rem; color: var(--shop-muted); font-weight: 400; }
.shop-order-arrow { color: var(--shop-muted); font-size: .8rem; }

.shop-order-items { display: flex; flex-direction: column; gap: .1rem; }

.shop-order-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.shop-order-item:last-child { border-bottom: 0; }
.shop-order-item-main { display: flex; align-items: center; gap: .7rem; }
.shop-order-item-name { font-weight: 600; font-size: .9rem; }
.shop-order-item-meta { font-size: .74rem; color: var(--shop-muted); margin-top: .1rem; }
.shop-order-item-price { font-weight: 600; font-variant-numeric: tabular-nums; font-size: .87rem; }

/* Allapot cimke */
.shop-status {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
}

.shop-status-sm { font-size: .7rem; padding: .18rem .5rem; }

.shop-status.is-pending { background: rgba(180, 180, 180, .12); color: #cbd0d8; border-color: rgba(180, 180, 180, .25); }
.shop-status.is-paid,
.shop-status.is-delivering { background: rgba(216, 191, 122, .12); color: var(--shop-gold); border-color: rgba(216, 191, 122, .3); }
.shop-status.is-completed { background: rgba(52, 199, 123, .12); color: #4ade80; border-color: rgba(52, 199, 123, .3); }
.shop-status.is-cancelled,
.shop-status.is-refunded { background: rgba(148, 163, 184, .12); color: #94a3b8; border-color: rgba(148, 163, 184, .25); }
.shop-status.is-failed { background: rgba(239, 68, 68, .12); color: #f87171; border-color: rgba(239, 68, 68, .3); }

/* ------------------------------------------------------- Csomagok */

.shop-packages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}

.shop-package {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.6rem 1.1rem 1.1rem;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius);
  background: var(--shop-panel);
  transition: border-color .18s ease, background .18s ease;
}

.shop-package:hover { border-color: rgba(216, 191, 122, .35); background: var(--shop-panel-2); }
.shop-package.is-featured { border-color: rgba(216, 191, 122, .45); }

.shop-package-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  padding: .18rem .7rem;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(135deg, var(--shop-gold), var(--shop-gold-2));
  color: #1a1a1a;
  font-size: .68rem;
  font-weight: 700;
}

.shop-package-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: .8rem;
  border-radius: 50%;
  background: rgba(216, 191, 122, .1);
  color: var(--shop-gold);
  font-size: 1.9rem;
}

.shop-package-icon img { max-width: 70%; max-height: 70%; object-fit: contain; }

.shop-package-name { font-size: .92rem; font-weight: 600; margin: 0 0 .5rem; }

.shop-package-coins {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--shop-gold);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.shop-package-coins span { display: block; font-size: .7rem; color: var(--shop-muted); font-weight: 400; }

.shop-package-bonus {
  margin-top: .45rem;
  padding: .18rem .55rem;
  border-radius: 6px;
  background: rgba(52, 199, 123, .12);
  color: #4ade80;
  font-size: .76rem;
  font-weight: 600;
}

.shop-package-desc { font-size: .78rem; color: var(--shop-muted); margin: .6rem 0 0; line-height: 1.45; }

.shop-package-price {
  margin: .9rem 0;
  padding-top: .9rem;
  border-top: 1px solid var(--shop-line);
  width: 100%;
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.shop-payment-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: 1.5rem 0 0;
  font-size: .82rem;
  color: var(--shop-muted);
}

.shop-payment-note i { color: var(--shop-gold); }

/* ------------------------------------------------- Tranzakcio lista */

.shop-tx-list { display: flex; flex-direction: column; }

.shop-tx {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.shop-tx:last-child { border-bottom: 0; }

.shop-tx-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .05);
  color: var(--shop-muted);
  font-size: .9rem;
  flex-shrink: 0;
}

.shop-tx-icon.is-plus { background: rgba(52, 199, 123, .1); color: #4ade80; }
.shop-tx-icon.is-minus { background: rgba(216, 191, 122, .1); color: var(--shop-gold); }

.shop-tx-main { flex: 1; min-width: 0; }
.shop-tx-title { font-size: .87rem; font-weight: 600; }
.shop-tx-sub { font-size: .74rem; color: var(--shop-muted); margin-top: .1rem; }

.shop-tx-amount { font-weight: 700; font-variant-numeric: tabular-nums; font-size: .92rem; }
.shop-tx-amount.is-plus { color: #4ade80; }
.shop-tx-amount.is-minus { color: var(--shop-muted); }

/* --------------------------------------------------- Jatek fiokok */

.shop-accounts { display: flex; flex-direction: column; gap: .6rem; }

.shop-account {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius-sm);
  background: rgba(0, 0, 0, .18);
}

.shop-account-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(216, 191, 122, .1);
  color: var(--shop-gold);
  flex-shrink: 0;
}

.shop-account-main { flex: 1; min-width: 0; }
.shop-account-login { font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

.shop-account-tag {
  padding: .1rem .45rem;
  border-radius: 5px;
  background: rgba(216, 191, 122, .15);
  color: var(--shop-gold);
  font-size: .68rem;
  font-weight: 600;
}

.shop-account-meta { font-size: .76rem; color: var(--shop-muted); margin-top: .15rem; }
.shop-account-actions { display: flex; gap: .35rem; flex-shrink: 0; }

/* ------------------------------------------------------- Uzenetek */

.shop-alert {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem 1rem;
  border-radius: var(--shop-radius-sm);
  border: 1px solid var(--shop-line);
  background: var(--shop-panel);
  font-size: .87rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.shop-alert > i { font-size: 1.05rem; flex-shrink: 0; margin-top: .05rem; }
.shop-alert-sub { font-size: .82rem; color: var(--shop-muted); margin-top: .25rem; }
.shop-alert a { color: var(--shop-gold); }
.shop-alert-inline { margin: 0 0 .7rem; padding: .6rem .8rem; font-size: .82rem; }

.shop-alert-ok { border-color: rgba(52, 199, 123, .3); background: rgba(52, 199, 123, .07); }
.shop-alert-ok > i { color: #4ade80; }

.shop-alert-warn { border-color: rgba(240, 160, 90, .3); background: rgba(240, 160, 90, .07); }
.shop-alert-warn > i { color: #f0a05a; }

.shop-alert-danger { border-color: rgba(239, 68, 68, .3); background: rgba(239, 68, 68, .07); }
.shop-alert-danger > i { color: #f87171; }

.shop-alert-info { border-color: rgba(216, 191, 122, .28); background: rgba(216, 191, 122, .06); }
.shop-alert-info > i { color: var(--shop-gold); }

/* ------------------------------------------------------- Ures allapot */

.shop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.5rem 1.5rem;
  border: 1px dashed var(--shop-line);
  border-radius: var(--shop-radius);
  background: rgba(255, 255, 255, .02);
}

.shop-empty-sm { padding: 2rem 1rem; }
.shop-empty > i { font-size: 2.6rem; color: rgba(255, 255, 255, .16); margin-bottom: .8rem; }
.shop-empty-title { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.shop-empty-sub { font-size: .85rem; color: var(--shop-muted); }
.shop-empty-sub a { color: var(--shop-gold); }

/* ---------------------------------------------------------- Lapozo */

.shop-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.shop-pager-info { font-size: .85rem; color: var(--shop-muted); font-variant-numeric: tabular-nums; }

/* -------------------------------------------------- Fizetes eredmeny */

.shop-result {
  max-width: 520px;
  margin: 2rem auto;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--shop-line);
  border-radius: var(--shop-radius);
  background: var(--shop-panel);
}

.shop-result-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  font-size: 2.2rem;
}

.shop-result-icon.is-ok { background: rgba(52, 199, 123, .12); color: #4ade80; }
.shop-result-icon.is-warn { background: rgba(148, 163, 184, .12); color: #94a3b8; }
.shop-result-icon.is-pending { background: rgba(216, 191, 122, .12); color: var(--shop-gold); }
.shop-result-icon.is-fail { background: rgba(239, 68, 68, .12); color: #f87171; }

.shop-result-title { font-size: 1.4rem; font-weight: 700; margin: 0 0 .7rem; }
.shop-result-lead { color: var(--shop-muted); font-size: .92rem; line-height: 1.6; margin-bottom: .5rem; }
.shop-result-lead strong { color: var(--shop-gold); }
.shop-result-balance { font-size: .88rem; color: var(--shop-muted); margin-bottom: 1.5rem; }
.shop-result-balance strong { color: var(--shop-text); }

.shop-result-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.shop-result-ref { margin: 1.5rem 0 0; font-size: .74rem; color: var(--shop-muted); }
.shop-result-ref code { color: var(--shop-muted); }

/* ------------------------------------------------- Beagyazott (launcher) */

.shop-embed-body {
  margin: 0;
  background: var(--bg-1, #0c1016);
  color: var(--text, #e9ecf1);
  min-height: 100vh;
}

.ys-shop-embed { padding-bottom: 1.5rem; }
.ys-shop-embed .container { max-width: 100%; padding-inline: 1rem; }
.ys-shop-embed .shop-summary { position: static; }

.shop-embed-toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translate(-50%, 200%);
  max-width: 90vw;
  padding: .7rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--line, rgba(255, 255, 255, .12));
  background: #121722;
  color: #e9ecf1;
  font-size: .87rem;
  transition: transform .25s ease;
  z-index: 9999;
}

.shop-embed-toast.is-visible { transform: translate(-50%, 0); }
.shop-embed-toast.is-success { border-color: rgba(52, 199, 123, .4); }
.shop-embed-toast.is-danger { border-color: rgba(239, 68, 68, .4); }

/* ------------------------------------------------------------ Reszponzív */

@media (max-width: 991.98px) {
  .shop-detail-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .shop-detail-media { max-width: 340px; }
  .shop-cart-layout { grid-template-columns: 1fr; }
  .shop-summary { position: static; }
}

@media (max-width: 767.98px) {
  .shop-topbar-main { flex-wrap: wrap; gap: .6rem; }
  .shop-search { order: 3; flex-basis: 100%; max-width: none; }
  .shop-topbar-actions { margin-left: auto; }

  .shop-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; }
  .shop-featured-rail { grid-auto-columns: minmax(160px, 1fr); }

  .shop-cart-line {
    grid-template-columns: 52px minmax(0, 1fr) 28px;
    grid-template-areas:
      "thumb info remove"
      "thumb qty  total";
    gap: .5rem .8rem;
  }

  .shop-cart-thumb { grid-area: thumb; width: 52px; height: 52px; }
  .shop-cart-info { grid-area: info; }
  .shop-cart-line .shop-qty { grid-area: qty; height: 32px; }
  .shop-cart-line .shop-qty-btn { width: 28px; }
  .shop-cart-line .shop-qty-input { width: 38px; }
  .shop-cart-total { grid-area: total; min-width: 0; }
  .shop-cart-remove { grid-area: remove; }

  .shop-order-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "main   status"
      "total  total";
    gap: .5rem;
  }

  .shop-order-main { grid-area: main; }
  .shop-order-row .shop-status { grid-area: status; }
  .shop-order-total { grid-area: total; text-align: left; }
  .shop-order-total span { display: inline; }
  .shop-order-arrow { display: none; }

  .shop-detail-title { font-size: 1.35rem; }
  .shop-detail-price .shop-price-now { font-size: 1.55rem; }
  .shop-page-title { font-size: 1.2rem; }
}
