/* Shop na breakhouse.sk: ponuka (shop.html) a detail produktu (produkt.html) v tokenoch v2 */
.menu a.on { border-color: var(--ink); background: var(--yellow); color: var(--on-yellow); }
.shop { max-width: 1200px; margin: 0 auto; padding: 40px 24px 40px; }
.shop-head { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 12px 24px; align-items: end; margin-bottom: 22px; }
.shop-head .sticker { grid-column: 1 / -1; justify-self: start; }
.shop-head h1 { font-size: clamp(36px, 5vw, 64px); }
.search { position: relative; display: flex; align-items: center; }
.search .ic { position: absolute; left: 14px; width: 20px; height: 20px; pointer-events: none; }
.search input { width: 100%; min-height: 52px; padding: 0 14px 0 44px; border: var(--bd); background: var(--card); color: var(--ink); font: 600 16px var(--body); outline: none; box-shadow: var(--shadow-sm); }
.search input:focus { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line); }
.cats, .subcats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.subcats { margin-bottom: 18px; }
.cats a, .subcats a { padding: 8px 14px; border: var(--bd); background: var(--card); font-weight: 800; font-family: var(--display); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; box-shadow: var(--shadow-sm); transition: transform .12s var(--smooth); }
.subcats a { text-transform: none; font-family: var(--body); font-weight: 700; font-size: 14px; letter-spacing: 0; padding: 6px 12px; border-width: 2px; box-shadow: none; }
.cats a:hover, .subcats a:hover { transform: translate(-2px, -2px); }
.cats a.on { background: var(--ink); color: var(--paper); } .subcats a.on { background: var(--yellow); color: var(--on-yellow); }
.cats a small, .subcats a small { opacity: .6; margin-left: 6px; font-size: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px 18px; margin-top: 18px; }
.card-p { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 14px 14px; background: var(--card); border: var(--bd); box-shadow: var(--shadow-sm); transition: transform .15s var(--smooth), box-shadow .15s var(--smooth); }
.card-p:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow); }
.card-p::before { content: ''; position: absolute; left: 50%; top: -10px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: var(--bd); background: var(--paper); }
.card-p .img { aspect-ratio: 1; background: var(--photo); border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card-p .img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; mix-blend-mode: multiply; }
.card-p .img svg { width: 44%; opacity: .5; }
.card-p .nm { font-weight: 700; font-size: 15px; line-height: 1.3; min-height: 2.6em; }
.card-p .pr { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.card-p .pr b { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; color: var(--red); }
.card-p .pr s { color: var(--muted); font-size: 14px; }
.card-p .st { position: absolute; right: -8px; top: 12px; }
.card-p.out { opacity: .7; } .card-p.out .img img { filter: grayscale(1); }
.chip.ok { background: var(--yellow); color: var(--on-yellow); } .chip.no { background: var(--paper2); color: var(--muted); }
.more-row { display: flex; justify-content: center; margin-top: 28px; }
.empty-shop { grid-column: 1 / -1; }

/* detail */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--red); }
.detail { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 36px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery .main { aspect-ratio: 1; background: var(--photo); border: var(--bd); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; mix-blend-mode: multiply; }
.gallery .main svg { width: 40%; opacity: .5; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; border: 2px solid var(--line); background: var(--photo); padding: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.thumbs button.on { border: var(--bd); box-shadow: var(--shadow-sm); }
.thumbs img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.buy { position: relative; background: var(--card); border: var(--bd); box-shadow: var(--shadow); padding: 28px 26px 24px; display: flex; flex-direction: column; gap: 16px; }
.buy::before { content: ''; position: absolute; left: 24px; right: 24px; top: -12px; height: 22px; background: rgba(255,203,5,.85); border: 2px solid var(--line); transform: rotate(-1deg); }
.buy h1 { font-size: clamp(28px, 3.4vw, 44px); }
.price-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-row b { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--red); }
.price-row s { color: var(--muted); font-size: 18px; }
.price-row .fine { width: 100%; }
.variants { display: flex; flex-direction: column; gap: 8px; }
.variants label { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border: 2px solid var(--line); background: var(--paper); font-weight: 700; cursor: pointer; }
.variants label.on { background: var(--yellow); color: var(--on-yellow); border: var(--bd); }
.variants label.out { opacity: .5; cursor: default; }
.variants input { display: none; }
.qty { display: flex; align-items: center; gap: 0; }
.qty button { width: 46px; height: 46px; border: var(--bd); background: var(--card); font: 800 20px var(--display); }
.qty input { width: 64px; height: 46px; text-align: center; border: var(--bd); border-left: 0; border-right: 0; background: var(--paper); color: var(--ink); font: 700 18px var(--body); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.desc { margin-top: 36px; max-width: 760px; }
.desc h2 { font-size: 28px; margin-bottom: 12px; }
.desc .body { font-size: 16px; line-height: 1.6; } .desc .body p { margin-bottom: 10px; }
.note66 { font-size: 13px; color: var(--muted); }
@media (max-width: 960px) {
  .shop { padding: 24px 16px 24px; }
  .shop-head { grid-template-columns: 1fr; } .shop-head h1 { font-size: clamp(32px, 9vw, 48px); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .card-p .pr b { font-size: 22px; }
  .detail { grid-template-columns: 1fr; gap: 26px; }
  .price-row b { font-size: 36px; }
}

/* košík v hlavičke */
.cart-btn { position: relative; } .cart-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border: 2px solid var(--line); background: var(--red); color: var(--white); font: 800 12px var(--display); margin-left: 4px; } .cart-n[hidden] { display: none; }
.shop-head.one { grid-template-columns: 1fr; }
/* košík */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: 12px; }
.cart-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto auto; gap: 14px; align-items: center; padding: 12px 14px; background: var(--card); border: var(--bd); box-shadow: var(--shadow-sm); }
.cart-row .img { width: 72px; height: 72px; background: var(--photo); border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; } .cart-row .img img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 4px; } .cart-row .img svg { width: 50%; opacity: .5; }
.cart-row .nm { font-weight: 700; display: block; line-height: 1.25; } .cart-row .nm:hover { color: var(--red); }
.cart-row .qty button { width: 38px; height: 38px; font-size: 18px; } .cart-row .qty input { width: 52px; height: 38px; font-size: 16px; }
.cart-row .line-total { font-family: var(--display); font-weight: 800; font-size: 20px; min-width: 84px; text-align: right; }
.cart-row .rm { width: 34px; height: 34px; border: 2px solid var(--line); background: var(--paper); font-weight: 800; } .cart-row .rm:hover { background: var(--red); color: var(--white); }
.cart-row.out { outline: 3px solid var(--red); }
.summary { position: sticky; top: 88px; background: var(--card); border: var(--bd); box-shadow: var(--shadow); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; } .sum-row.total { border-top: var(--bd); padding-top: 12px; font-size: 18px; } .sum-row.total b { font-family: var(--display); font-size: 30px; color: var(--red); }
.btn.disabled { opacity: .5; pointer-events: none; }
/* pokladňa */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.steps { display: flex; flex-direction: column; gap: 22px; }
.step { background: var(--card); border: var(--bd); box-shadow: var(--shadow-sm); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.step h2 { font-size: 24px; display: flex; align-items: center; gap: 10px; } .step h2 .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border: var(--bd); background: var(--yellow); color: var(--on-yellow); font: 800 16px var(--display); }
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 700; }
.opt.on { background: var(--yellow); color: var(--on-yellow); border: var(--bd); } .opt input { accent-color: var(--red); width: 18px; height: 18px; }
.opt .pr { margin-left: auto; font-family: var(--display); font-weight: 800; } .opt .fine { width: 100%; margin-left: 30px; }
.point { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border: 2px dashed var(--line); } .point b { flex: 1 1 auto; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .fields .full { grid-column: 1 / -1; }
.field input.bad { border-color: var(--red); box-shadow: 0 0 0 2px var(--red); } .field .err { color: var(--red); font-size: 13px; font-weight: 700; }
.pay-note { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-weight: 600; }
.pay-logos span { display: inline-block; padding: 4px 8px; border: 2px solid var(--line); background: var(--card); font-size: 12px; font-weight: 800; margin-right: 6px; }
.summary .mini { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; } .summary .mini span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ok-box { background: var(--yellow); color: var(--on-yellow); border: var(--bd); box-shadow: var(--shadow); padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.ok-box h1 { font-size: clamp(30px, 4vw, 48px); } .ok-box .num { font-family: var(--display); font-weight: 800; font-size: 22px; }
.status-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: var(--bd); background: var(--card); color: var(--ink); font-weight: 800; }
@media (max-width: 960px) {
  .cart, .checkout { grid-template-columns: 1fr; } .summary { position: static; }
  .cart-row { grid-template-columns: 60px minmax(0, 1fr) auto; grid-template-areas: "img info rm" "img qty total"; } .cart-row .img { grid-area: img; width: 60px; height: 60px; } .cart-row .info { grid-area: info; } .cart-row .qty { grid-area: qty; } .cart-row .line-total { grid-area: total; } .cart-row .rm { grid-area: rm; justify-self: end; }
  .fields { grid-template-columns: 1fr; }
}

/* práve vyhlásené battle na vrchu ponuky */
.battles-now { margin: 6px 0 26px; }
.bn-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; } .bn-head h2 { font-size: clamp(26px, 3vw, 40px); }
.bn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.bn-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 16px 40px; background: var(--yellow); color: var(--on-yellow); border: var(--bd); box-shadow: var(--shadow); transition: transform .15s var(--smooth); }
.bn-card:hover { transform: translate(-3px, -3px) rotate(-.4deg); }
.bn-card::before { content: ''; position: absolute; left: 14px; top: 10px; bottom: 10px; border-left: 3px dashed var(--line); }
.bn-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; } .bn-top b { font-family: var(--display); font-size: 22px; line-height: 1.05; }
.bn-card p { font-size: 14px; font-weight: 600; } .bn-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; } .bn-foot b { font-family: var(--display); font-size: 26px; }

/* pool boostrov v battle (stránka produktu) */
.pool { display: flex; flex-direction: column; gap: 8px; }
.pool-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; } .pool-head b { font-family: var(--display); font-size: 18px; }
.pool-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; border: 2px solid var(--line); background: var(--paper); }
.pool-item.on { background: var(--yellow); color: var(--on-yellow); } .pool-item.out { opacity: .5; } .pool-item.fixed { grid-template-columns: 52px minmax(0, 1fr); }
.pi-img { width: 52px; height: 52px; display: grid; place-items: center; background: var(--photo); border: 2px solid var(--line); overflow: hidden; } .pi-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pi-name { display: flex; flex-direction: column; min-width: 0; } .pi-name b { font-weight: 800; line-height: 1.15; } .pi-name small { font-size: 12px; opacity: .8; }
.pi-qty { display: flex; align-items: center; gap: 0; } .pi-qty button { width: 38px; height: 38px; border: 2px solid var(--line); background: var(--card); font: 800 18px var(--display); cursor: pointer; color: var(--ink); } .pi-qty button:disabled { opacity: .4; cursor: default; }
.pi-qty b { width: 36px; text-align: center; font: 800 18px var(--display); }
