:root {
  --bg: #020b12;
  --panel: #06111b;
  --line: #253340;
  --text: #f7f9fb;
  --muted: #b5bec6;
  --red: #ed2745;
  --blue: #00a9ef;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 82% -20%, rgba(240, 31, 65, .15), transparent 30%),
    var(--bg);
  font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.site-header {
  width: min(1440px, calc(100% - 84px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr) 130px;
  align-items: center;
  border-bottom: 1px solid #192530;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo__crest { width: 56px; height: 62px; display: grid; place-items: center; color: #fff; border: 3px solid #d7b53f; border-radius: 48% 48% 55% 55%; background: linear-gradient(135deg, #21356e 50%, #a30f2e 50%); font-size: 18px; font-weight: 900; transform: skewY(-5deg); }
.logo__name { font-size: 31px; font-weight: 800; letter-spacing: -1.5px; }
.logo__name b { color: var(--red); }
.logo__name small { display: block; margin-top: -2px; font-size: 9px; letter-spacing: .2px; }

.main-nav { height: 100%; display: flex; align-items: stretch; justify-content: center; gap: clamp(15px, 2vw, 29px); }
.main-nav a { position: relative; display: flex; align-items: center; color: #f2f3f4; font-size: 10px; font-weight: 700; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.main-nav a.active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--red); }

.header-actions { display: flex; justify-content: flex-end; gap: 16px; }
.header-actions button { position: relative; width: 30px; height: 34px; padding: 0; border: 0; background: none; font-size: 25px; cursor: pointer; }
.header-actions .cart span { position: absolute; right: -4px; top: -4px; min-width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: var(--red); font-size: 9px; font-weight: 800; }

.page-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 14px 42px 28px;
}

.hero {
  position: relative;
  min-height: 440px;
  margin: -14px 0 14px;
  overflow: hidden;
}
.hero__image { position: absolute; z-index: 0; top: 0; right: 0; width: 71%; height: 440px; object-fit: cover; object-position: 68% 14%; }
.hero__shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 29%, rgba(2,11,18,.80) 42%, rgba(2,11,18,.12) 71%, var(--bg) 100%); }
.hero__content { position: relative; z-index: 2; width: 43%; padding: 67px 0 0 20px; }
.hero h1 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(45px, 4.2vw, 64px); line-height: .98; letter-spacing: .5px; font-weight: 400; }
.hero h1 span { color: var(--red); }
.hero__content > p { margin: 18px 0; font-size: 18px; line-height: 1.35; }
.hero__content > p b { color: #f0cc26; }
.hero__content > p strong { color: var(--red); }
.hero__buttons { display: flex; gap: 20px; }
.button { min-width: 170px; padding: 14px 20px; border-radius: 5px; text-align: center; font-size: 12px; font-weight: 800; }
.button--primary { background: var(--red); }
.button--outline { border: 1px solid var(--red); background: rgba(2,11,18,.75); }

.service-strip { position: absolute; z-index: 3; left: 15px; bottom: 2px; width: 51%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-item { display: flex; align-items: flex-start; gap: 10px; }
.service-item > span { color: var(--red); font-size: 31px; line-height: 1; }
.service-item p { margin: 0; color: #e3e6e9; font-size: 10px; line-height: 1.45; }
.service-item strong { display: block; margin-bottom: 7px; color: var(--red); font-size: 10px; white-space: nowrap; }

.collections {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 14px;
}

.collections__main { min-width: 0; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
}

.category-card {
  min-width: 0;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: linear-gradient(145deg, #09141e, #040b12);
  box-shadow: inset 0 1px rgba(255,255,255,.025);
  transition: border-color .2s, transform .2s;
}

.category-card:hover { border-color: var(--red); transform: translateY(-2px); }
.category-card__icon { color: var(--red); font-size: 25px; }
.category-card strong { display: block; font-size: 12px; }
.category-card small { display: block; margin-top: 7px; color: #d4d9de; font-size: 9px; white-space: nowrap; }
.category-card small::first-letter { color: var(--red); }
.category-card--brand { flex-direction: column; gap: 1px; }

.brand { display: block; line-height: 17px; font-weight: 900; }
.brand--panini { padding: 0 13px; color: #de1028; background: #ffd51e; font-family: Georgia, serif; font-size: 13px; }
.brand--topps { color: #f42643; font-size: 21px; font-style: italic; transform: rotate(-5deg); }

.products { margin-top: 10px; }
.products h2, .section-heading { margin: 0 0 6px; font-size: 13px; }
.carousel-wrap { position: relative; }

.product-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 5);
  gap: 9px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.product-carousel::-webkit-scrollbar { display: none; }

.product-card {
  position: relative;
  min-width: 0;
  height: 169px;
  padding: 10px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: linear-gradient(150deg, #07131d, #030910);
}

.badge {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 10px;
  padding: 3px 6px;
  border-radius: 3px;
  color: #fff;
  background: #0989c7;
  font-size: 7px;
  font-weight: 800;
}
.badge--orange { color: #111; background: #ffae15; }

.product-image {
  width: 79%;
  height: 83px;
  margin: 1px auto 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255,255,255,.13);
  box-shadow: 0 9px 16px rgba(0,0,0,.55);
  text-align: center;
  transform: perspective(400px) rotateY(-7deg);
}
.product-image b { font-size: 18px; text-shadow: 0 2px 3px #000; }
.product-image span { margin-top: 4px; font-size: 9px; }
.product-image--one { background: linear-gradient(135deg, #123e7b, #8d1028); }
.product-image--two { background: linear-gradient(135deg, #e4bb1b, #b9105a 55%, #101e68); }
.product-image--three { background: linear-gradient(135deg, #d6a319, #173f93 55%, #061334); }
.product-image--four { background: linear-gradient(135deg, #f4f5ef, #a72c2c 55%, #15296f); }
.product-image--five { background: linear-gradient(135deg, #f4cc17, #d91143 55%, #13286f); }

.product-card h3 {
  height: 31px;
  margin: 0;
  overflow: hidden;
  color: #e9edf0;
  font-size: 9px;
  line-height: 1.35;
  font-weight: 500;
}
.product-card__bottom { display: flex; align-items: center; justify-content: space-between; }
.product-card__bottom strong { font-size: 13px; }
.product-card__bottom span { color: #e6ba00; font-size: 16px; }

.carousel-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  color: #fff;
  font-size: 36px;
  transform: translateY(-50%);
  pointer-events: none;
}
.carousel-arrow--left { left: -29px; }
.carousel-arrow--right { right: -29px; }

.promo {
  position: relative;
  min-height: 245px;
  padding: 20px 20px;
  overflow: hidden;
  border: 1px solid #8c2338;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(21,20,29,.98), rgba(2,13,22,.98));
}
.promo h2 { position: relative; z-index: 2; margin: 0; font-size: 21px; line-height: 1.08; }
.promo h2 span { color: var(--red); }
.promo p { position: relative; z-index: 2; width: 78%; margin: 16px 0; color: #d7dce0; font-size: 10px; line-height: 1.35; }
.promo > a { position: relative; z-index: 3; display: inline-block; padding: 11px 16px; border-radius: 4px; background: var(--red); font-size: 9px; font-weight: 800; }
.promo__glow { position: absolute; right: -55px; top: -80px; width: 190px; height: 190px; border: 1px solid rgba(255,151,0,.25); border-radius: 50%; box-shadow: 0 0 55px rgba(255,47,75,.16); }
.promo__packs { position: absolute; right: -7px; bottom: -13px; width: 135px; height: 93px; }
.promo__packs span { position: absolute; width: 71px; height: 91px; display: grid; place-items: center; border: 3px solid rgba(255,255,255,.17); box-shadow: 0 5px 16px #000; font-size: 10px; font-weight: 900; }
.promo__packs span:first-child { left: 4px; top: 8px; background: linear-gradient(145deg, #d82926, #dad9cf); transform: rotate(11deg); }
.promo__packs span:last-child { right: 5px; top: 0; background: linear-gradient(145deg, #cab214, #102e74); transform: rotate(-5deg); }

.section-heading { margin-top: 10px; }

.publisher-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.publisher { min-height: 124px; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; overflow: hidden; border-radius: 7px; color: #111; }
.publisher--panini { background: linear-gradient(105deg, #f5dd00 0%, #fff900 47%, #3a3505 100%); }
.publisher--topps { background: linear-gradient(105deg, #f7f7f7 0%, #e4e4e4 57%, #959da5 100%); }
.publisher__logo { display: inline-block; font-size: 29px; font-weight: 900; line-height: 1; }
.publisher__logo--panini { padding: 2px 12px; color: #c5122c; border: 2px solid #bd151e; background: #ffdf24; font-family: Georgia, serif; }
.publisher__logo--topps { color: #cf2036; font-size: 44px; font-style: italic; transform: rotate(-4deg); }
.publisher p { margin: 7px 0 9px; font-size: 10px; line-height: 1.25; }
.publisher a { display: inline-block; padding: 9px 18px; border-radius: 4px; color: #fff; background: #07111a; font-size: 9px; font-weight: 800; }
.publisher__boxes, .publisher__cards { height: 96px; display: flex; align-items: flex-end; gap: 5px; transform: rotate(-4deg); }
.publisher__boxes b, .publisher__cards b { width: 54px; height: 82px; display: grid; place-items: center; padding: 4px; color: #fff; border: 2px solid rgba(255,255,255,.6); background: linear-gradient(145deg, #163990, #dc1d39); box-shadow: 0 6px 9px rgba(0,0,0,.45); font-size: 10px; text-align: center; }
.publisher__boxes b:nth-child(2), .publisher__cards b:nth-child(2) { height: 91px; background: linear-gradient(145deg, #18142b, #e1ae18); }
.publisher__boxes b:nth-child(3), .publisher__cards b:nth-child(3) { background: linear-gradient(145deg, #d1ac12, #1b356e); }

.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 35px; padding: 18px 15px 6px; }
.info-grid article { display: flex; gap: 13px; }
.info-grid article > span { color: #f0cb14; font-size: 31px; line-height: 1; }
.info-grid p { margin: 0; color: #d2d7dc; font-size: 10px; line-height: 1.4; }
.info-grid strong { display: block; margin-bottom: 5px; color: #fff; font-size: 10px; }

.site-footer { width: min(1440px, calc(100% - 84px)); margin: 10px auto 0; padding: 20px 0 26px; display: flex; justify-content: space-between; border-top: 1px solid #1b2934; color: #8e9aa5; font-size: 11px; }
.site-footer p { margin: 0; }
.site-footer div { display: flex; gap: 22px; }
.site-footer a:hover { color: var(--red); }

@media (max-width: 1050px) {
  .page-shell { padding-inline: 24px; }
  .site-header { width: calc(100% - 48px); grid-template-columns: 230px 1fr 110px; }
  .logo__name { font-size: 25px; }
  .main-nav { justify-content: flex-start; overflow-x: auto; gap: 20px; }
  .hero__content { width: 52%; }
  .hero__image { width: 68%; }
  .service-strip { width: 65%; }
  .collections { grid-template-columns: minmax(0, 1fr) 205px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-carousel { grid-auto-columns: calc((100% - 18px) / 3); }
  .info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .page-shell { padding: 14px; }
  .site-header { width: calc(100% - 28px); grid-template-columns: 1fr auto; }
  .logo__crest { width: 45px; height: 50px; }
  .logo__name { font-size: 23px; }
  .main-nav { grid-column: 1 / -1; order: 3; height: 45px; border-top: 1px solid #17232d; }
  .header-actions { gap: 8px; }
  .hero { min-height: 650px; }
  .hero__image { width: 100%; height: 310px; opacity: .75; object-position: 66% 13%; }
  .hero__shade { background: linear-gradient(0deg, var(--bg) 35%, rgba(2,11,18,.05) 78%, var(--bg) 100%); }
  .hero__content { width: 100%; padding: 250px 5px 0; }
  .hero h1 { font-size: 43px; }
  .hero__content > p { font-size: 16px; }
  .hero__buttons { gap: 10px; }
  .button { min-width: 0; flex: 1; }
  .service-strip { left: 5px; bottom: 0; width: calc(100% - 10px); grid-template-columns: 1fr 1fr; gap: 18px 10px; }
  .collections { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-carousel { grid-auto-columns: minmax(165px, 72%); }
  .promo { min-height: 220px; }
  .carousel-arrow { display: none; }
  .publisher-grid, .info-grid { grid-template-columns: 1fr; }
  .publisher { padding: 15px; }
  .publisher__boxes, .publisher__cards { transform: scale(.82) rotate(-4deg); transform-origin: right center; }
  .site-footer { width: calc(100% - 28px); flex-direction: column; gap: 14px; }
  .site-footer div { flex-wrap: wrap; }
}
.products__heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.products__heading h2{margin:0}.products__heading>a{color:var(--red);font-size:9px;font-weight:800}.publisher__cta{display:inline-block;padding:9px 18px;border-radius:4px;color:#fff;background:#07111a;font-size:9px;font-weight:800}

/* v12 – demo rynku */
.home-market{margin:34px 0;display:grid;grid-template-columns:1.25fr .65fr .8fr;gap:16px;background:#101317;border:1px solid #272c32;border-radius:10px;padding:24px;color:#fff}.home-market__copy>p{margin:0 0 7px;color:#e8494f;font-size:11px;font-weight:900;letter-spacing:1.7px}.home-market__copy h2{margin:0 0 9px;font-size:27px}.home-market__copy>span{display:block;max-width:560px;color:#9da5af;line-height:1.45;font-size:13px}.home-market__copy>div{display:flex;gap:8px;margin-top:21px}.home-market__copy a{background:#e8494f;color:#fff;text-decoration:none;padding:10px 13px;border-radius:6px;font-size:11px;font-weight:900}.home-market__copy a.ghost{background:#23292f}.home-market__card,.home-market__people{background:#171b20;border:1px solid #2b3138;border-radius:8px;padding:15px}.home-market__card>span{display:inline-block;background:#fff;color:#111;font-weight:900;font-size:11px;padding:4px 6px;border-radius:4px}.home-market__card>b{display:block;font-size:23px;margin-top:15px}.home-market__card>small{display:block;color:#8f98a3;margin:3px 0 13px}.home-market__card>div{display:flex;justify-content:space-between;border-top:1px solid #292f36;padding:8px 0}.home-market__card strong{font-size:15px}.home-market__card em{font-style:normal;font-size:10px;color:#8f98a3}.home-market__people h3{font-size:14px;margin:0 0 10px}.home-market__people article{display:grid;grid-template-columns:31px 1fr auto;gap:8px;align-items:center;padding:9px 0;border-top:1px solid #292f36}.home-market__people i{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#252b32;font-style:normal;font-size:9px;font-weight:900}.home-market__people p{margin:0}.home-market__people p b,.home-market__people p span{display:block;font-size:10px}.home-market__people p span{color:#8f98a3;margin-top:2px}.home-market__people article>strong{color:#55d378;font-size:12px}.home-market__people>a{display:block;margin-top:10px;color:#fff;text-decoration:none;font-size:10px;font-weight:900}@media(max-width:900px){.home-market{grid-template-columns:1fr 1fr}.home-market__copy{grid-column:1/-1}}@media(max-width:600px){.home-market{grid-template-columns:1fr;padding:16px}.home-market__copy{grid-column:auto}.home-market__copy h2{font-size:22px}.home-market__copy>div{flex-wrap:wrap}}
