/* 315studio shop — professional skin v2 */
:root {
  --bg: #050508;
  --bg-elevated: #0c0c12;
  --bg-card: #101018;
  --text: #f5f5f7;
  --muted: #9a9aa3;
  --accent: #d9e76e;
  --accent-dim: rgba(217, 231, 110, 0.14);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --container: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  overflow: visible;
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  height: var(--header-h);
  overflow: visible;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo, .logo-foot { height: 28px; width: auto; }
.brand { line-height: 0; }

.nav-desktop-wrap { display: flex; align-items: center; }
.nav-main {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav-main__item { position: relative; }
.nav-main__link,
.nav-drop__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--text); font-size: 14px; font-weight: 500;
  text-decoration: none; opacity: 0.9;
  transition: opacity .2s, background .2s, color .2s;
  white-space: nowrap;
}
.nav-main__link:hover,
.nav-drop__trigger:hover,
.nav-drop:hover .nav-drop__trigger {
  opacity: 1; color: #fff; text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
}
.nav-drop__chevron { font-size: 12px; opacity: 0.7; transition: transform .2s; }
.nav-drop:hover .nav-drop__chevron { transform: rotate(180deg); }

.nav-drop__menu {
  position: absolute; top: 100%; left: 0; z-index: 1100;
  min-width: 220px;
  padding: 10px 8px 8px;
  margin-top: -4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(12, 12, 18, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-drop__menu::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -12px;
  height: 12px;
}
.nav-drop:hover .nav-drop__menu,
.nav-drop:focus-within .nav-drop__menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
.nav-drop__link {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: var(--text); font-size: 14px; font-weight: 500;
  text-decoration: none; line-height: 1.35;
}
.nav-drop__link:hover {
  background: rgba(217, 231, 110, 0.1);
  color: #fff; text-decoration: none;
}
.nav-main__item--cart { margin-left: 8px; }

.nav-desktop { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 32px); }
.nav-desktop a {
  color: var(--text); font-size: 14px; font-weight: 500; opacity: 0.88;
  text-decoration: none; transition: opacity .2s, color .2s;
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { opacity: 1; color: #fff; text-decoration: none; }
.nav-cart {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: #fff; color: #000 !important; font-weight: 600; opacity: 1 !important;
}
.nav-cart:hover { background: #ececec; text-decoration: none !important; transform: translateY(-1px); }

.nav-toggle {
  display: none; border: 1px solid var(--border-strong); background: transparent;
  color: var(--text); width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
}
.nav-mobile {
  display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
  background: rgba(8, 8, 12, 0.98); border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
}
.nav-mobile.open { display: block; }
.nav-mobile__inner { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile__link {
  display: block; padding: 12px 4px; color: var(--text);
  font-size: 16px; font-weight: 500; text-decoration: none;
}
.nav-mobile__link--cart { font-weight: 600; }
.nav-mobile__group { border-bottom: 1px solid var(--border); padding-bottom: 4px; margin-bottom: 4px; }
.nav-mobile__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 12px 4px; border: none; background: transparent;
  color: var(--text); font-size: 16px; font-weight: 600; font-family: inherit;
  cursor: pointer; text-align: left;
}
.nav-mobile__toggle .fa { transition: transform .2s; }
.nav-mobile__toggle[aria-expanded="true"] .fa { transform: rotate(180deg); }
.nav-mobile__sub { padding: 0 0 8px 12px; }
.nav-mobile__sub[hidden] { display: none; }
.nav-mobile__sub a {
  display: block; padding: 10px 0; color: var(--muted);
  font-size: 15px; text-decoration: none;
}
.nav-mobile__sub a:hover { color: var(--text); }
.nav-mobile a { display: block; padding: 12px 0; color: var(--text); font-size: 16px; text-decoration: none; }

@media (max-width: 860px) {
  .nav-desktop-wrap { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* Main layout */
.shop-main { padding-top: var(--header-h); min-height: 100vh; }
.shop-content { width: 100%; }
.page-shell { padding-bottom: 64px; }
.page-shell--home { padding-bottom: 0; }
.page-shell--home .page-intro,
.page-shell--home .products-section--credits { display: none; }

/* Hero */
.shop-hero {
  position: relative; min-height: clamp(420px, 62vh, 620px);
  display: flex; align-items: flex-end; overflow: hidden;
}
.shop-hero__media { position: absolute; inset: 0; }
.shop-hero__img { width: 100%; height: 100%; object-fit: cover; }
.shop-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,5,8,.35) 0%, rgba(5,5,8,.75) 55%, rgba(5,5,8,.95) 100%);
}
.shop-hero__content {
  position: relative; z-index: 1; padding: 48px 0 56px;
}
.shop-hero__eyebrow {
  margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
}
.shop-hero__title {
  margin: 0 0 16px; max-width: 12ch;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; font-weight: 700; color: #fff;
}
.shop-hero__lead {
  margin: 0 0 28px; max-width: 52ch; font-size: clamp(1rem, 2vw, 1.15rem); color: #d8d8de;
}
.shop-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.shop-trust {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 20px;
  font-size: 14px; color: var(--muted);
}
.shop-trust li { display: inline-flex; align-items: center; gap: 8px; }
.shop-trust .fa { color: var(--accent); }

/* Promo banners */
.promo-banners {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  margin: -28px auto 40px; position: relative; z-index: 2;
}
.promo-banner {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-card);
  box-shadow: var(--shadow);
}
.promo-banner__link {
  display: grid; grid-template-columns: 120px 1fr; min-height: 130px;
  color: inherit; text-decoration: none;
}
.promo-banner__link:hover { text-decoration: none; }
.promo-banner__img { width: 100%; height: 100%; object-fit: cover; min-height: 130px; }
.promo-banner__copy { padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; }
.promo-banner__tag {
  display: inline-block; width: fit-content; margin-bottom: 8px;
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  background: var(--accent-dim); color: var(--accent);
}
.promo-banner__title { margin: 0 0 6px; font-size: 1.15rem; color: #fff; }
.promo-banner__text { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

@media (max-width: 760px) {
  .promo-banners { grid-template-columns: 1fr; margin-top: 24px; }
  .promo-banner__link { grid-template-columns: 1fr; }
  .promo-banner__img { max-height: 160px; }
}

/* Category cards — strona główna */
.shop-categories { padding: 48px 0 56px; }
.shop-categories__grid {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.shop-categories__grid--single {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}
.shop-category-card {
  display: flex; flex-direction: column; height: 100%;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg-card); overflow: hidden; text-decoration: none;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.shop-category-card:hover {
  border-color: rgba(217, 231, 110, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.shop-category-card__media {
  display: block; aspect-ratio: 4/3; overflow: hidden; background: #0a0a10;
}
.shop-category-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.shop-category-card:hover .shop-category-card__media img { transform: scale(1.03); }
.shop-category-card__body {
  display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 20px 20px 22px;
}
.shop-category-card__tag {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent);
}
.shop-category-card__title {
  font-size: 1.2rem; font-weight: 700; color: #fff; line-height: 1.3;
}
.shop-category-card__desc {
  font-size: 14px; line-height: 1.55; color: var(--muted); flex: 1;
}
.shop-category-card__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--border);
}
.shop-category-card__price { font-weight: 700; color: #fff; font-size: 15px; }
.shop-category-card__cta {
  font-size: 13px; font-weight: 600; color: var(--accent);
}
.shop-category-card__cta .fa { margin-left: 4px; font-size: 12px; }

@media (max-width: 900px) {
  .shop-categories__grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
}

.products-section--home-accessories {
  padding: 48px 0 56px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.products-section--home-accessories .section-title { margin-bottom: 10px; }
.products-section--home-accessories .section-lead { margin-bottom: 24px; }

/* Section headings */
.page-intro { padding: 8px 0 8px; }
.section-title {
  margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: #fff;
}
.section-lead { margin: 0; max-width: 60ch; color: var(--muted); font-size: 1.05rem; }

.page-head { padding: 40px 0 24px; width: min(100% - 40px, var(--container)); margin-inline: auto; }
.page-head__title { margin: 0; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; }
.breadcrumb { margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

/* Buttons */
.btn-primary, .submit, .btn-buy {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 999px; border: none;
  background: #fff; color: #000; font-weight: 700; font-size: 14px;
  font-family: inherit; cursor: pointer; text-decoration: none;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn-primary:hover, .submit:hover, .btn-buy:hover {
  background: #ececec; color: #000; text-decoration: none; transform: translateY(-1px);
}
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid var(--border-strong); color: #fff;
  font-weight: 600; font-size: 14px; text-decoration: none;
}
.btn-outline:hover { background: rgba(255,255,255,.06); text-decoration: none; color: #fff; }
.btn-buy--large { width: 100%; padding: 15px 24px; font-size: 15px; }

/* Product grid */
.products-section { padding-bottom: 48px; }
.products-section--credits {
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.page-intro--credits,
.page-intro--accessories { padding-top: 40px; }

#products.productsList { margin-top: 8px; }

#products.productsList .sort {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 24px; padding: 14px 18px;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--muted); font-size: 13px;
}
#products.productsList .sort ul {
  display: inline-flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0;
}
#products.productsList .sort li {
  padding: 6px 12px; border-radius: 999px; font-size: 13px;
}
#products.productsList .sort li:not(:has(a)) {
  background: #fff; color: #000; font-weight: 600;
}
#products.productsList .sort a {
  color: var(--text); text-decoration: none; padding: 6px 12px; border-radius: 999px;
  border: 1px solid transparent;
}
#products.productsList .sort a:hover {
  border-color: var(--border-strong); background: rgba(255,255,255,.04); text-decoration: none;
}

#products.productsList ul.list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px; list-style: none; margin: 0; padding: 0;
}

.product-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.product-card:hover {
  border-color: rgba(217, 231, 110, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

.product-card .photo {
  display: block; aspect-ratio: 4/3; overflow: hidden; background: #000;
  order: 1;
}
.product-card .photo img,
.product-card .photo video { width: 100%; height: 100%; object-fit: cover; }
.product-card .photo--video video { pointer-events: none; }

.product-gallery__hero .photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  aspect-ratio: 4/3;
}
.product-gallery__hero .photo img,
.product-gallery__hero .photo video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.product-card__body {
  display: flex; flex-direction: column; flex: 1;
  padding: 18px 18px 16px; gap: 10px;
}
.product-card__title { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.product-card__title a { color: #fff; text-decoration: none; }
.product-card__title a:hover { color: var(--accent); text-decoration: none; }
.product-card__badge {
  margin: 0; width: fit-content; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; color: var(--accent);
  background: var(--accent-dim);
}
.product-card[data-credits="1"] .product-card__badge {
  color: #b8e0ff;
  background: rgba(100, 180, 255, 0.12);
}
.product-card .description {
  margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55;
}
.product-card .description p { margin: 0; }

.product-card__footer {
  margin-top: auto; padding-top: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--border);
}
.product-card .price { padding: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }
.product-card .price__prefix {
  font-size: 13px; font-weight: 600; color: var(--muted); text-transform: lowercase;
}
.product-card .price strong { font-size: 1.35rem; font-weight: 700; color: #fff; }
.product-card .price--from strong { color: var(--accent); }
.product-card .price span { margin-left: 4px; color: var(--muted); font-size: 14px; }
.product-card .basket { padding: 0; }
.product-card .btn-buy { padding: 10px 16px; font-size: 13px; white-space: nowrap; }

/* Product detail */
.product-shell { padding-bottom: 64px; }
.product-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 32px 40px;
  align-items: start; padding-bottom: 40px;
}
.product-gallery .photo, .product-gallery .photos { border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.product-gallery img { width: 100%; border-radius: var(--radius); }

.product-buy {
  position: sticky; top: calc(var(--header-h) + 20px);
  padding: 24px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.product-buy__label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.product-buy__value strong { font-size: 2rem; font-weight: 700; color: #fff; }
.product-buy__badge { margin: 14px 0 0; font-size: 13px; color: var(--accent); }
.product-buy .form { margin-top: 18px; }
.product-buy__perks {
  list-style: none; margin: 20px 0 0; padding: 16px 0 0;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}
.product-buy__perks li { display: flex; gap: 10px; margin-bottom: 8px; }
.product-buy__perks .fa { color: var(--accent); margin-top: 3px; }

.product-details { grid-column: 1; }
.product-details.rte { color: #ddd; font-size: 1rem; }
.product-details.rte p { margin: 0 0 1em; }

@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-buy { position: static; order: -1; }
}

/* Basket & checkout */
body.page-order .shop-main {
  background: linear-gradient(180deg, #0a0a10 0%, var(--bg) 320px);
  padding-bottom: 64px;
}
body.page-order .shop-content { padding-top: calc(var(--header-h) + 24px); }

.checkout-page,
#page.checkout-page {
  width: min(100% - 40px, 920px);
  margin-inline: auto;
  padding: 0 0 48px;
}
.checkout-title,
#page h1.checkout-title {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.checkout-lead,
#page .content.checkout-lead {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 28px;
}
.checkout-lead p { margin: 0; color: var(--muted); }

#basket { margin-top: 8px; }
#basket fieldset { border: none; margin: 0; padding: 0; }
#basket legend { display: none; }
#basket table,
#order table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  color: var(--text);
}
#basket th, #basket td, #basket thead td,
#order th, #order td, #order thead td {
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  text-align: left; vertical-align: middle;
  color: var(--text);
}
#basket thead td,
#order thead td {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); background: var(--bg-elevated);
}
#basket thead td em, #basket thead td span,
#order thead td em, #order thead td span { color: var(--muted); font-style: normal; }
#basket tbody td, #order tbody td { color: #eee; }
#basket tfoot th, #order tfoot th { color: var(--muted); font-weight: 600; font-size: 14px; }
#basket tfoot .summaryProducts th,
#basket tfoot .summaryProducts td,
#order tfoot .summaryProducts th,
#order tfoot .summaryProducts td,
#order tfoot .summaryOrder th,
#order tfoot .summaryOrder td {
  font-size: 1.05rem; font-weight: 700; color: #fff;
  background: rgba(255,255,255,.02);
}
#basket .quantity input,
#order .quantity input {
  width: 72px;
  background: var(--bg-elevated);
  color: #fff;
  border: 1px solid var(--border-strong);
}
#basket .options a { color: #ff8a8a; font-size: 13px; }

#order.order,
.order.checkout-form { margin-top: 8px; }
#order fieldset,
.order fieldset {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; margin: 0 0 20px; background: var(--bg-card);
}
#order legend,
.order legend {
  color: #fff; font-weight: 600; font-size: 1rem;
  padding: 0 8px; margin-bottom: 16px;
}
#order label,
.order label {
  display: block; margin-bottom: 8px;
  color: #d8d8de; font-size: 14px; font-weight: 500;
}
#order label span,
.order label span { color: #ff9f9f; font-weight: 600; margin-left: 4px; }

#personalData {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}
#personalData #setBasic,
#personalData #setExtend {
  display: contents;
}
#personalData #company,
#personalData #street,
#personalData #comment { grid-column: 1 / -1; }
#personalData #comment textarea {
  min-height: 120px; resize: vertical;
}

.input, select, textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #14141c;
  color: #f5f5f7;
  font: inherit; font-size: 15px;
  color-scheme: dark;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239a9aa3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
select option { background: #14141c; color: #f5f5f7; }
.input::placeholder, textarea::placeholder { color: #6b6b75; }
.input:focus, select:focus, textarea:focus {
  outline: none; border-color: rgba(217,231,110,.55);
  box-shadow: 0 0 0 3px var(--accent-dim);
  background: #181822;
}
.input:-webkit-autofill,
.input:-webkit-autofill:hover,
.input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f5f5f7;
  -webkit-box-shadow: 0 0 0 1000px #14141c inset;
  box-shadow: 0 0 0 1000px #14141c inset;
  border: 1px solid var(--border-strong);
}

#shippingAndPayments select { max-width: 100%; }

#rulesAccept th {
  padding: 18px 16px !important;
  background: rgba(255,255,255,.02);
  border-bottom: none !important;
}
#rulesAccept em { font-style: normal; }
#rulesAccept input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--accent);
  vertical-align: middle; margin-right: 10px;
}
#rulesAccept span,
#rulesAccept label {
  display: inline; color: #ddd; font-size: 14px; line-height: 1.5;
}
#rulesAccept a { color: var(--accent); }

#nextStep td,
#basket .nextStep td {
  padding: 20px 16px !important;
  border-bottom: none !important;
  text-align: right;
}
.submit, #order .submit, #basket .submit {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 13px 28px;
  border-radius: 999px; border: none;
  background: var(--accent); color: #0a0a0a;
  font: inherit; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: transform .15s, filter .15s;
}
.submit:hover { filter: brightness(1.06); transform: translateY(-1px); }
#basket .buttons td { vertical-align: middle; }
#basket #continue .submit {
  background: transparent; color: #fff;
  border: 1px solid var(--border-strong);
}

@media (max-width: 720px) {
  #personalData { grid-template-columns: 1fr; }
  #personalData #company,
  #personalData #street,
  #personalData #comment { grid-column: auto; }
  #order table { font-size: 14px; }
  #order thead .price, #order thead .quantity,
  #order tbody .price, #order tbody .quantity { display: none; }
  #nextStep td { text-align: stretch; }
  #nextStep .submit { width: 100%; }
}

/* Content / RTE */
.rte a { color: var(--accent); }
.info-strip {
  margin: 0 auto 56px; padding: 28px 32px;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg-elevated); color: var(--muted);
}

/* Messages */
.message {
  padding: 18px 22px; border-radius: var(--radius-sm); margin: 20px 0;
}
#ok.message { background: var(--accent-dim); border: 1px solid rgba(217,231,110,.35); }
#ok.message h2 { margin: 0; font-size: 1rem; color: var(--accent); }
#error.message { background: rgba(255,90,90,.1); border: 1px solid rgba(255,90,90,.28); }
#error.message h2 { margin: 0; font-size: 1rem; color: #ff9f9f; }

/* Weryfikacja e-mail zamówienia */
.order-verify-note {
  margin: 0 0 18px; padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(217,231,110,.08);
  border: 1px solid rgba(217,231,110,.22);
  color: var(--muted); font-size: 14px; line-height: 1.5;
}
.order-verify-note i { color: var(--accent); margin-right: 8px; }
.verify-page .verify-box { max-width: 640px; margin: 48px auto 80px; }
.verify-box__title { margin: 0 0 16px; font-size: clamp(1.5rem, 3vw, 2rem); color: #fff; }
.verify-pending .section-title { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); }
.verify-pending .section-lead { font-size: 1.05rem; margin-bottom: 16px; }
.verify-steps { margin: 20px 0; padding-left: 1.25rem; color: var(--text); }
.verify-steps li { margin-bottom: 10px; line-height: 1.5; }
.order-result .container { max-width: 720px; margin: 0 auto; padding: 32px 0 64px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #030305;
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px;
  margin-bottom: 32px;
}
.footer-tagline, .footer-contact { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.footer-contact a { color: var(--text); text-decoration: none; }
.footer-heading { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #ddd; font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--border); }
.muted { color: var(--muted); }
.small { font-size: 13px; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Katalog kredytów / premium — te same karty co vouchery */
.catalog-apps { margin-top: 8px; }
.catalog-apps__subtitle {
  margin: 40px 0 8px; font-size: 1.35rem; font-weight: 700; color: #fff;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.catalog-apps__note {
  margin: 0 0 20px; max-width: 60ch; color: var(--muted); font-size: 15px; line-height: 1.55;
}
.catalog-apps__note a { color: var(--accent); }

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  background: #0a0a10;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.product-card__media > a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card__credits-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 14%;
  background: linear-gradient(180deg, rgba(10, 10, 16, 0) 35%, rgba(10, 10, 16, 0.72) 100%);
  pointer-events: none;
}
.product-card__media--credits .product-card__credits-num {
  font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; line-height: 1; color: var(--accent);
}
.product-card__media--credits .product-card__credits-lbl {
  margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.product-card--credits .product-card__badge {
  color: #c5e0ff;
  background: rgba(100, 160, 255, 0.12);
}
.product-card__media--premium {
  position: relative;
}
.product-card--premium {
  border-color: rgba(217, 231, 110, 0.22);
}
.product-card--premium:hover {
  border-color: rgba(217, 231, 110, 0.45);
}
.product-card__badge--premium {
  color: #ffe566;
  background: rgba(217, 231, 110, 0.14);
}
.product-card__premium-tag {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  background: var(--accent); color: #000;
}

.product-layout--apps { grid-template-columns: 1fr 320px; }

/* Konfigurator — strona produktu */
.product-shell--configurator .page-head { padding-bottom: 12px; }
.product-configurator-wrap {
  width: min(100% - 40px, 880px);
  margin: 0 auto 64px;
}
.product-shell--configurator .shop-configurator {
  margin: 0; padding: 0; border: none; background: transparent;
}
.product-shell--configurator .shop-configurator__section {
  margin-bottom: 28px; padding: 24px;
  border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-card);
}
.product-shell--configurator .shop-configurator__section:last-of-type { margin-bottom: 20px; }
.product-shell--configurator .shop-configurator__heading { font-size: 1.25rem; }
.product-shell--configurator .shop-configurator__grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.product-shell--configurator .shop-configurator__footer {
  padding: 20px 24px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-elevated);
}

/* Konfigurator voucherów / kredytów */
.shop-configurator {
  margin: 24px 0 48px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.shop-configurator--compact { padding: 20px; }
.shop-configurator__heading {
  margin: 0 0 8px; font-size: 1.15rem; font-weight: 700; color: #fff;
}
.shop-configurator__lead {
  margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.55;
}
.shop-configurator__lead a { color: var(--accent); }
.shop-configurator__section { margin-bottom: 32px; }
.shop-configurator__section:last-of-type { margin-bottom: 24px; }
.shop-configurator__custom {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-elevated);
  cursor: pointer;
}
.shop-configurator__custom-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: 1;
}
.shop-configurator__custom-label { font-weight: 600; color: var(--text); }
.shop-configurator__amount {
  width: 120px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: #0a0a10;
  color: var(--text); font-size: 16px; font-family: inherit;
}
.shop-configurator__currency { color: var(--muted); font-weight: 600; }
.shop-configurator__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px;
}
.shop-configurator__card {
  display: block; height: 100%; cursor: pointer;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg-elevated); transition: border-color .2s, transform .15s;
}
.shop-configurator__card:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.shop-configurator__card-body {
  display: flex; flex-direction: column; gap: 6px; padding: 16px;
}
.shop-configurator__radio {
  position: absolute; opacity: 0; pointer-events: none;
}
.shop-configurator__radio:checked + .shop-configurator__card-body,
.shop-configurator__radio:checked ~ .shop-configurator__card-body {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: var(--radius-sm);
}
.shop-configurator__card:has(.shop-configurator__radio:checked) {
  border-color: rgba(217, 231, 110, 0.55);
  box-shadow: 0 0 0 1px rgba(217, 231, 110, 0.2);
}
.shop-configurator__custom:has(.shop-configurator__radio:checked) {
  border-color: rgba(217, 231, 110, 0.55);
}
.shop-configurator__card-title { font-weight: 700; color: #fff; line-height: 1.3; }
.shop-configurator__card-price { font-size: 1.2rem; font-weight: 800; color: var(--accent); }
.shop-configurator__card-hint { font-size: 13px; color: var(--muted); line-height: 1.45; }
.shop-configurator__badge {
  align-self: flex-start; padding: 3px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: rgba(100, 160, 255, 0.15); color: #c5e0ff;
}
.shop-configurator__badge--premium {
  background: rgba(217, 231, 110, 0.18); color: #ffe566;
}
.shop-configurator__card--premium { border-color: rgba(217, 231, 110, 0.15); }
.shop-configurator__footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.shop-configurator__summary { margin: 0; color: var(--muted); }
.shop-configurator__summary strong { color: var(--text); }
.shop-configurator__submit { min-width: 160px; }
.product-configurator-wrap { margin-bottom: 48px; }
.product-details--below-config { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }

@media (max-width: 640px) {
  .shop-configurator { padding: 18px; }
  .shop-configurator__footer { flex-direction: column; align-items: stretch; }
  .shop-configurator__submit { width: 100%; }
}

.product-card__media--solo {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  min-height: 220px;
  overflow: hidden;
}
.product-card__media--solo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.product-card__media--solo .product-card__credits-overlay {
  padding-bottom: 10%;
}

@media (max-width: 900px) {
  .product-layout--apps { grid-template-columns: 1fr; }
}

/* Legacy Quick.Cart cleanup */
#container, #body, #content, #column, #head1, #head2, #head3, #banner, #foot, #copy, #powered, #skiplinks, #menu3, .shop-sidebar, .shop-options { display: none !important; }
#container, #body, #content, #page, #product { width: auto; min-width: 0; margin: 0; text-align: left; }
.clear { clear: both; }
