:root {
  --ink: #080912;
  --ink-soft: #0e1020;
  --panel: rgba(18, 20, 38, 0.78);
  --panel-solid: #111322;
  --paper: #f4f2ee;
  --white: #fbfbff;
  --muted: #a9a8b8;
  --muted-dark: #686a77;
  --purple: #a855f7;
  --purple-deep: #6d28d9;
  --cyan: #2edcf4;
  --green: #43e3a1;
  --red: #ff657a;
  --amber: #ffc45d;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(8, 9, 18, 0.13);
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.38);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  color-scheme: dark;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 4%, rgba(168, 85, 247, 0.22), transparent 31rem),
    radial-gradient(circle at 91% 12%, rgba(46, 220, 244, 0.13), transparent 28rem),
    var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  opacity: 0.32;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 0.65px, transparent 0.65px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 88%);
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

body::after {
  position: fixed;
  inset: auto -15vw -38vw;
  z-index: -1;
  height: 68vw;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(109, 40, 217, 0.18), transparent 67%);
  filter: blur(30px);
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 500;
  padding: 9px 13px;
  color: var(--ink);
  background: var(--white);
  border-radius: 999px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.preview-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 5px 18px;
  color: #d9c9ec;
  background: #130d1d;
  border-bottom: 1px solid rgba(168, 85, 247, 0.22);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 20px 0;
  pointer-events: none;
}

.nav-shell {
  width: min(1120px, 100%);
  min-height: 64px;
  margin: 0 auto;
  padding: 9px 10px 9px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  pointer-events: auto;
  background: rgba(8, 9, 18, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  backdrop-filter: blur(24px) saturate(1.3);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 0 24px rgba(46, 220, 244, 0.2);
}

.flow-steps {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #777989;
  font-size: 12px;
  font-weight: 750;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.flow-step i {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #777989;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 9px;
  font-style: normal;
}

.flow-step.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.flow-step.is-active i,
.flow-step.is-complete i {
  color: var(--ink);
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  border-color: transparent;
}

.flow-line { width: 22px; height: 1px; background: rgba(255, 255, 255, 0.12); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.language-switcher {
  position: relative;
  width: 94px;
  height: 40px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.language-switcher::before {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 41px;
  height: 30px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.86), rgba(46, 220, 244, 0.68));
  box-shadow: 0 5px 16px rgba(109, 40, 217, 0.26);
  transition: transform 260ms var(--ease);
}

html[lang="cs"] .language-switcher::before { transform: translateX(43px); }

.language-switcher span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  line-height: 1;
  color: #777989;
  font-size: 11px;
  font-weight: 850;
  transition: color 180ms ease;
}

.language-switcher span:first-child,
html[lang="cs"] .language-switcher span:last-child { color: var(--white); }
html[lang="cs"] .language-switcher span:first-child { color: #777989; }

.icon-link,
.home-link {
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 750;
  transition: transform 220ms var(--ease), border-color 220ms ease, background 220ms ease;
}

.icon-link { width: 40px; }
.home-link { padding: 0 15px; }
.icon-link:hover, .home-link:hover { transform: translateY(-2px); border-color: rgba(168, 85, 247, 0.62); background: rgba(168, 85, 247, 0.11); }

.header-cart-link { position: relative; }

.header-cart-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, #bd70ee, #7225df);
  border: 2px solid #11121e;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 900;
}

.page-main {
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 220px);
  margin: 0 auto;
  padding: 48px 0 100px;
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.6fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-intro h1,
.state-card h1,
.not-found-copy h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.page-intro h1 em,
.state-card h1 em,
.not-found-copy h1 em {
  color: #c586ef;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.page-intro > p:last-child {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
}

.commerce-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.78fr);
  gap: 24px;
  align-items: start;
}

.glass-card,
.summary-card,
.checkout-card,
.state-card,
.not-found-card {
  overflow: hidden;
  background: linear-gradient(145deg, rgba(22, 24, 45, 0.86), rgba(10, 11, 22, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.card-head {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.card-head h2 { margin: 0; font-size: 16px; letter-spacing: -0.025em; }

.muted-action {
  padding: 0;
  color: #858696;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
}

.muted-action:hover { color: var(--white); }

.cart-list { display: grid; }

.cart-item {
  position: relative;
  min-height: 128px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-item:last-child { border-bottom: 0; }

.product-mark {
  position: relative;
  width: 78px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.11), transparent 38%), rgba(6, 8, 18, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18), 0 14px 35px rgba(109, 40, 217, 0.24);
}

.product-mark img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
}

.product-copy { min-width: 0; }
.product-tier { margin: 0 0 3px; color: var(--white); font-size: 16px; font-weight: 800; }
.product-meta { margin: 0; color: #848596; font-size: 12px; }

.item-controls { display: flex; align-items: center; gap: 18px; }
.item-price { min-width: 82px; text-align: right; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }

.quantity-control {
  display: inline-grid;
  grid-template-columns: 32px 32px 32px;
  align-items: center;
  min-height: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.quantity-control button {
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 17px;
}

.quantity-control span { display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.remove-item { width: 34px; height: 34px; display: grid; place-items: center; color: #777989; background: transparent; border: 1px solid transparent; border-radius: 50%; cursor: pointer; }
.remove-item:hover { color: var(--red); border-color: rgba(255, 101, 122, 0.26); background: rgba(255, 101, 122, 0.08); }

.empty-cart {
  padding: 58px 28px 34px;
  text-align: center;
}

.empty-symbol {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 24px;
  background: rgba(168, 85, 247, 0.08);
  box-shadow: 0 0 45px rgba(168, 85, 247, 0.14);
  font-size: 29px;
}

.empty-cart h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: -0.045em; }
.empty-cart > p { max-width: 500px; margin: 0 auto 28px; color: var(--muted); }

.summary-card { position: sticky; top: 104px; padding: 26px; }
.summary-card h2 { margin: 0 0 26px; font-size: 22px; letter-spacing: -0.045em; }
.summary-row { display: flex; justify-content: space-between; gap: 18px; margin: 13px 0; color: var(--muted); font-size: 13px; }
.summary-row strong { color: var(--white); font-size: 14px; }
.summary-divider { height: 1px; margin: 22px 0; background: var(--line); }
.summary-total { align-items: flex-end; color: var(--white); }
.summary-total span:first-child { font-weight: 800; }
.summary-total strong { font-size: 30px; line-height: 1; letter-spacing: -0.05em; }

.primary-button,
.secondary-button {
  min-height: 54px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 220ms var(--ease), filter 220ms ease, box-shadow 220ms ease;
}

.primary-button {
  color: var(--white);
  background: linear-gradient(120deg, #bd70ee, #7225df 56%, #6420d5);
  border: 1px solid rgba(222, 174, 255, 0.44);
  box-shadow: 0 14px 38px rgba(109, 40, 217, 0.29), inset 0 1px rgba(255, 255, 255, 0.28);
}

.primary-button:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 19px 48px rgba(109, 40, 217, 0.38); }
.primary-button:disabled { opacity: 0.46; cursor: not-allowed; transform: none; filter: none; }
.secondary-button { color: var(--white); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.15); }
.secondary-button:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.09); }
.summary-card .primary-button { width: 100%; margin-top: 22px; }

.trust-row { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #747686; font-size: 11px; }
.trust-row i { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 14px rgba(67, 227, 161, 0.5); }
.payment-logos { margin-top: 18px; padding-top: 18px; display: flex; align-items: center; justify-content: center; gap: 9px; border-top: 1px solid var(--line); }
.payment-logo { width: 42px; height: 27px; display: inline-flex; align-items: center; justify-content: center; color: #b9bac6; background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; }
.visa-logo { color: #c6d5ff; font-size: 9px; font-weight: 950; font-style: italic; letter-spacing: -0.04em; }
.mastercard-logo { position: relative; }
.mastercard-logo i { width: 14px; height: 14px; display: block; border-radius: 50%; background: #ef5861; }
.mastercard-logo i + i { margin-left: -5px; background: #f4ac45; mix-blend-mode: screen; }
.applepay-logo { gap: 4px; color: #d7d8df; font-size: 9px; font-weight: 800; }
.applepay-logo b { position: relative; width: 10px; height: 11px; display: block; overflow: visible; color: transparent; background: #d7d8df; border-radius: 55% 48% 55% 50%; transform: scale(.75); }
.applepay-logo b::before { position: absolute; top: -4px; left: 6px; width: 5px; height: 4px; content: ""; background: #d7d8df; border-radius: 5px 0 5px 0; transform: rotate(-28deg); }
.applepay-logo b::after { position: absolute; top: 1px; right: -2px; width: 4px; height: 5px; content: ""; background: #171927; border-radius: 50%; }
.applepay-logo strong { font-size: 9px; }
.stripe-logo b { width: 18px; height: 18px; display: grid; place-items: center; color: #fff; background: #635bff; border-radius: 5px; font-size: 10px; font-weight: 900; }
.compact-payment-logos { margin-top: 15px; padding-top: 15px; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.72fr); gap: 24px; align-items: start; }
.checkout-card { padding: 28px; }
.checkout-card + .checkout-card { margin-top: 18px; }
.checkout-card h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.045em; }
.checkout-card > p { margin: 0 0 24px; color: var(--muted); font-size: 13px; }

.account-state {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
}

.account-avatar { width: 42px; height: 42px; display: grid; place-items: center; flex: none; border-radius: 14px; background: linear-gradient(135deg, rgba(168, 85, 247, 0.62), rgba(46, 220, 244, 0.35)); font-weight: 850; }
.account-avatar.account-logo { overflow: hidden; padding: 4px; background: #070914; border: 1px solid rgba(255, 255, 255, 0.12); }
.account-avatar.account-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.account-state strong, .account-state span { display: block; }
.account-state span { color: #858696; font-size: 12px; }
.account-state .secondary-button { min-height: 38px; margin-left: auto; padding: 0 14px; font-size: 11px; }

.delivery-note {
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  background: rgba(46, 220, 244, 0.055);
  border: 1px solid rgba(46, 220, 244, 0.16);
  border-radius: 18px;
}

.delivery-note i { width: 36px; height: 36px; display: grid; place-items: center; color: var(--cyan); background: rgba(46, 220, 244, 0.08); border-radius: 12px; font-style: normal; }
.delivery-note strong { display: block; margin-bottom: 3px; font-size: 13px; }
.delivery-note span { color: #868898; font-size: 12px; }
.checkout-separator { height: 1px; margin: 24px 0; background: var(--line); }

.legal-check { margin: 20px 0 0; display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; color: var(--muted); font-size: 12px; cursor: pointer; }
.legal-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--purple); }
.legal-check a { color: #d5a2f5; text-decoration: underline; text-underline-offset: 3px; }
.checkout-error { margin: 14px 0 0; padding: 12px 14px; color: #ffafba; background: rgba(255, 101, 122, 0.08); border: 1px solid rgba(255, 101, 122, 0.2); border-radius: 12px; font-size: 12px; }

.checkout-summary { position: sticky; top: 104px; }
.checkout-lines { display: grid; gap: 13px; }
.checkout-line { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; }
.checkout-line .product-mark { width: 42px; border-radius: 13px; }
.checkout-line .product-mark img { width: 82%; height: 82%; }

body[data-page="cart"] .page-main,
body[data-page="checkout"] .page-main { padding-top: 34px; }
body[data-page="cart"] .page-intro,
body[data-page="checkout"] .page-intro { margin-bottom: 24px; }
body[data-page="cart"] .page-intro h1,
body[data-page="checkout"] .page-intro h1 { font-size: clamp(42px, 5.4vw, 68px); }
.checkout-line strong, .checkout-line span { display: block; }
.checkout-line strong { font-size: 12px; }
.checkout-line span { color: #858696; font-size: 11px; }
.checkout-line b { font-size: 12px; }

.state-main {
  width: min(960px, calc(100% - 48px));
  min-height: calc(100vh - 160px);
  margin: 0 auto;
  padding: 74px 0 104px;
  display: grid;
  place-items: center;
}

.state-card { position: relative; width: 100%; padding: clamp(34px, 7vw, 78px); text-align: center; }
.state-card::before { position: absolute; inset: 0; content: ""; pointer-events: none; background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.2), transparent 44%); }
.state-card > * { position: relative; }
.state-icon { width: 94px; height: 94px; margin: 0 auto 30px; display: grid; place-items: center; border-radius: 30px; font-size: 38px; font-weight: 700; }
.state-icon.is-success { color: var(--green); background: rgba(67, 227, 161, 0.08); border: 1px solid rgba(67, 227, 161, 0.24); box-shadow: 0 0 64px rgba(67, 227, 161, 0.12); }
.state-icon.is-cancel { color: var(--amber); background: rgba(255, 196, 93, 0.08); border: 1px solid rgba(255, 196, 93, 0.24); box-shadow: 0 0 64px rgba(255, 196, 93, 0.1); }
.state-icon.is-mail { color: var(--cyan); background: rgba(46, 220, 244, 0.08); border: 1px solid rgba(46, 220, 244, 0.22); box-shadow: 0 0 64px rgba(46, 220, 244, 0.1); }
.state-icon.is-error { color: var(--red); background: rgba(255, 101, 122, 0.08); border: 1px solid rgba(255, 101, 122, 0.24); box-shadow: 0 0 64px rgba(255, 101, 122, 0.11); }
.state-card .eyebrow { margin-bottom: 18px; }
.state-card h1 { max-width: 720px; margin: 0 auto; font-size: clamp(42px, 7.5vw, 78px); }
.state-lede { max-width: 590px; margin: 24px auto 0; color: var(--muted); font-size: 16px; }
.state-actions { margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.state-details { max-width: 640px; margin: 34px auto 0; padding: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); border-radius: 20px; }

.status-nav-label {
  justify-self: center;
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9c9aaa;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
}
.status-nav-label::before { width: 7px; height: 7px; content: ""; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(67,227,161,.42); }
.account-status-main { min-height: calc(100vh - 190px); }
.account-status-card { max-width: 940px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 36px; background: rgba(14,16,31,.75); box-shadow: var(--shadow); }
.account-status-card::after { position: absolute; left: 50%; bottom: -230px; width: 620px; height: 320px; content: ""; pointer-events: none; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 90px rgba(109,40,217,.12); transform: translateX(-50%); }
.account-status-card h1 { max-width: 780px; }
.security-note { max-width: 600px; margin: 34px auto 0; padding: 16px 18px; display: flex; align-items: center; gap: 14px; text-align: left; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: rgba(255,255,255,.035); }
.security-note-mark { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; color: var(--green); border: 1px solid rgba(67,227,161,.2); border-radius: 11px; background: rgba(67,227,161,.07); font-size: 13px; font-weight: 900; }
.security-note strong { display: block; color: #e7e5ef; font-size: 12px; }
.security-note p { margin: 3px 0 0; color: #777989; font-size: 11px; line-height: 1.5; }
.state-detail { padding: 7px 12px; text-align: left; border-right: 1px solid var(--line); }
.state-detail:last-child { border: 0; }
.state-detail span, .state-detail strong { display: block; }
.state-detail span { margin-bottom: 4px; color: #777989; font-size: 9px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.state-detail strong { font-size: 12px; }

.unsubscribe-status { max-width: 560px; margin: 28px auto 0; padding: 16px 18px; color: #b6b6c3; background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line); border-radius: 15px; font-size: 13px; }
.unsubscribe-status.is-success { color: #9df0c8; background: rgba(67, 227, 161, 0.07); border-color: rgba(67, 227, 161, 0.2); }
.unsubscribe-status.is-error { color: #ffb1bb; background: rgba(255, 101, 122, 0.07); border-color: rgba(255, 101, 122, 0.2); }

.not-found-main { width: min(1180px, calc(100% - 48px)); min-height: calc(100vh - 170px); margin: 0 auto; padding: 68px 0 100px; display: grid; place-items: center; }
.not-found-card { width: 100%; min-height: 610px; padding: clamp(30px, 6vw, 70px); display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr); align-items: center; gap: 42px; }
.not-found-copy h1 { font-size: clamp(52px, 8.5vw, 104px); }
.not-found-copy > p { max-width: 510px; margin: 24px 0 0; color: var(--muted); }
.not-found-copy .state-actions { justify-content: flex-start; }

.error-visual { position: relative; min-height: 430px; display: grid; place-items: center; }
.error-orbit { position: absolute; width: min(420px, 100%); aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%; transform: rotate(-13deg); }
.error-orbit::before, .error-orbit::after { position: absolute; width: 16px; height: 16px; content: ""; border-radius: 50%; background: var(--purple); box-shadow: 0 0 25px rgba(168, 85, 247, 0.8); }
.error-orbit::before { top: 14%; left: 15%; }
.error-orbit::after { right: 8%; bottom: 22%; width: 10px; height: 10px; background: var(--cyan); box-shadow: 0 0 25px rgba(46, 220, 244, 0.8); }
.error-number { position: relative; font-size: clamp(116px, 19vw, 238px); font-weight: 900; line-height: 0.8; letter-spacing: -0.1em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28); text-shadow: 0 0 50px rgba(109, 40, 217, 0.22); }
.error-number i { position: absolute; inset: 50% auto auto 51%; width: 76px; height: 76px; display: grid; place-items: center; color: var(--white); background: linear-gradient(135deg, var(--purple), var(--purple-deep)); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 24px; box-shadow: 0 18px 55px rgba(109, 40, 217, 0.4); font-size: 28px; font-style: normal; transform: translate(-50%, -50%) rotate(-8deg); }

.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 22px;
  padding: 23px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #737586;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
}

.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.site-footer a:hover { color: var(--white); }

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  max-width: min(380px, calc(100% - 40px));
  padding: 13px 16px;
  color: var(--white);
  background: rgba(13, 14, 27, 0.94);
  border: 1px solid rgba(168, 85, 247, 0.38);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
  font-size: 12px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 300ms var(--ease);
}

.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .flow-steps { display: none; }
  .nav-shell { grid-template-columns: auto 1fr; }
  .nav-actions { justify-self: end; }
  .status-nav-label { display: none; }
  .page-intro, .commerce-grid, .checkout-layout { grid-template-columns: 1fr; }
  .page-intro { gap: 20px; }
  .summary-card, .checkout-summary { position: static; }
  .not-found-card { grid-template-columns: 1fr; text-align: center; }
  .not-found-copy > p { margin-right: auto; margin-left: auto; }
  .not-found-copy .state-actions { justify-content: center; }
  .error-visual { min-height: 320px; order: -1; }
  .error-orbit { width: 320px; }
}

@media (max-width: 650px) {
  .preview-bar { min-height: 24px; padding: 4px 12px; font-size: 8px; }
  .site-header { padding: 10px 12px 0; }
  .nav-shell { min-height: 58px; padding: 7px 8px 7px 10px; gap: 8px; }
  .brand span { display: none; }
  .brand img { width: 38px; height: 38px; }
  .home-link { width: 38px; padding: 0; }
  .home-link span { display: none; }
  .icon-link, .home-link { height: 38px; }
  .icon-link { width: 38px; }
  .language-switcher { width: 84px; height: 38px; }
  .language-switcher::before { width: 36px; height: 28px; }
  html[lang="cs"] .language-switcher::before { transform: translateX(38px); }
  .page-main, .state-main, .not-found-main { width: calc(100% - 24px); padding-top: 48px; padding-bottom: 74px; }
  .page-intro { margin-bottom: 28px; }
  .page-intro h1, .state-card h1, .not-found-copy h1 { font-size: clamp(42px, 13vw, 66px); }
  .page-intro > p:last-child { font-size: 15px; }
  .glass-card, .summary-card, .checkout-card, .state-card, .not-found-card { border-radius: 24px; }
  .card-head, .cart-item { padding-right: 17px; padding-left: 17px; }
  .cart-item { grid-template-columns: 58px minmax(0, 1fr); gap: 13px; }
  .product-mark { width: 58px; border-radius: 17px; }
  .item-controls { grid-column: 1 / -1; justify-content: space-between; padding-left: 0; }
  .quantity-control, .item-price, .remove-item { flex: none; }
  .item-price { margin-left: auto; }
  .summary-card, .checkout-card { padding: 22px 18px; }
  .account-state { align-items: flex-start; flex-wrap: wrap; }
  .account-state .secondary-button { width: 100%; margin-left: 56px; }
  .state-card { padding: 36px 20px; }
  .state-icon { width: 76px; height: 76px; margin-bottom: 24px; border-radius: 24px; font-size: 30px; }
  .state-details { grid-template-columns: 1fr; }
  .state-detail { text-align: center; border-right: 0; border-bottom: 1px solid var(--line); }
  .state-actions { display: grid; }
  .state-actions > * { width: 100%; }
  .security-note { align-items: flex-start; }
  .not-found-card { min-height: 0; padding: 34px 20px; }
  .error-visual { min-height: 250px; }
  .error-orbit { width: 240px; }
  .error-number i { width: 60px; height: 60px; border-radius: 19px; }
  .site-footer { width: calc(100% - 24px); padding: 20px; display: grid; justify-items: center; text-align: center; }
  .site-footer nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
