@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:opsz,wght@9..40,400;9..40,500;9..40,600&display=swap");

:root {
  --background: #f3f6f4;
  --foreground: #0f1713;
  --brand: #034737;
  --brand-deep: #011a14;
  --brand-deep-bg: #011a14;
  /* Hover tlačidiel: vždy svetlejší, pozitívny mint — nikdy čierna/deep */
  --brand-hover: color-mix(in srgb, var(--brand) 42%, #5eead4);
  --accent: #0a5c56;
  --surface: #ffffff;
  --surface-soft: #f4f6f3;
  --surface-muted: #fafaf9;
  --muted: #4d524e;
  --line: #d0d4d1;
  --body-grad-1: #b8d0c4;
  --body-grad-2: #f3f6f4;
  --body-grad-3: #f5f5f4;
  --input-bg: #ffffff;
  --card-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  /* Jednotná výška textových polí / selectov vo formulároch */
  --control-h: 2.5rem;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (max-width: 639px) {
  html { font-size: 17px; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at top, var(--body-grad-1) 0%, var(--body-grad-2) 42%, var(--body-grad-3) 100%);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

[x-cloak] { display: none !important; }

/* —— Admin role preview bar —— */
.impersonation-banner {
  border-bottom: 1px solid #f59e0b;
  background: #fffbeb;
  color: #78350f;
}
.impersonation-banner__inner {
  display: flex;
  max-width: 72rem;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.65rem 1rem;
}
@media (min-width: 640px) {
  .impersonation-banner__inner { padding: 0.7rem 1.5rem; }
}
.impersonation-banner__inner p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}
.impersonation-banner__btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  background: #78350f;
  color: #fffbeb;
}
.impersonation-banner__btn:hover:not(:disabled) {
  background: #451a03;
}
.impersonation-banner__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.role-preview {
  border-bottom: 1px solid color-mix(in srgb, #c4b5fd 60%, transparent);
  background: #2e1065;
  color: #f5f3ff;
}
.role-preview__inner {
  display: flex;
  max-width: 72rem;
  margin: 0 auto;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 1rem;
  flex-wrap: nowrap;
}
@media (min-width: 640px) {
  .role-preview__inner { flex-wrap: wrap; padding: 0.5rem 1.5rem; }
}
.role-preview__label {
  flex-shrink: 0;
  margin-right: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4b5fd;
}
.role-preview__btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 0.375rem;
  padding: 0.3rem 0.65rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  background: color-mix(in srgb, #5b21b6 80%, black);
  color: #ede9fe;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.role-preview__btn:hover:not(:disabled) {
  filter: brightness(1.08);
}
.role-preview__btn.is-active {
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px currentColor;
  filter: brightness(1.12);
}
.role-preview__btn:disabled { opacity: 0.4; cursor: not-allowed; }
.role-preview__btn--buyer {
  background: #0284c7;
  color: #e0f2fe;
}
.role-preview__btn--buyer_member,
.role-preview__btn--member {
  background: #d97706;
  color: #fffbeb;
}
.role-preview__btn--seller {
  background: #ea580c;
  color: #fff7ed;
}
.role-preview__btn--influencer {
  background: #c026d3;
  color: #fdf4ff;
}
.role-preview__btn--admin {
  background: #e11d48;
  color: #fff1f2;
}
.role-preview__exit {
  flex-shrink: 0;
  border: 1px solid #fcd34d;
  border-radius: 0.375rem;
  padding: 0.3rem 0.65rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  background: #f59e0b;
  color: #451a03;
}
.role-preview__exit:hover:not(:disabled) {
  background: #fbbf24;
}
.role-preview__exit:disabled { opacity: 0.5; cursor: not-allowed; }
.role-preview__email {
  margin-left: auto;
  flex-shrink: 0;
  display: none;
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.6875rem;
  color: #c4b5fd;
}
@media (min-width: 640px) {
  .role-preview__email { display: inline; }
}
.role-preview__err {
  margin: 0;
  border-top: 1px solid #5b21b6;
  background: #4c1d95;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  color: #fde68a;
}

img, svg, video { max-width: 100%; height: auto; }

.page-shell { width: 100%; max-width: 100%; flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.page-shell__content { width: 100%; max-width: 100%; min-width: 0; overflow-x: clip; flex: 1; }

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
}
@media (min-width: 640px) {
  .wrap { width: min(72rem, calc(100% - 5rem)); }
}
.wrap--wide {
  width: min(72rem, calc(100% - 2rem));
}
@media (min-width: 640px) {
  .wrap--wide { width: min(72rem, calc(100% - 5rem)); }
}
.wrap--fluid {
  width: calc(100% - 1.5rem);
  max-width: none;
}
@media (min-width: 640px) {
  .wrap--fluid { width: calc(100% - 3rem); }
}

.font-display { font-family: var(--font-display); font-weight: 400; }
.text-brand { color: var(--brand); }
.text-brand-deep { color: var(--brand-deep); }
.muted { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.err { color: #b91c1c; font-size: 0.88rem; }
.ok { color: var(--brand); font-size: 0.88rem; }

/* —— Buttons (Next globals) —— */
.btn,
.btn-solid,
.btn-outline,
.btn-brand-outline,
.btn-light,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.25;
}

.btn-solid {
  background: var(--brand);
  color: #fff;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    transform 0.2s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.btn-solid:hover {
  background: var(--brand-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 28%, transparent);
}
.btn-solid:disabled,
.btn-outline:disabled,
.btn-brand-outline:disabled,
.btn-light:disabled,
.btn-ghost:disabled,
button.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}
.btn-solid.is-muted-cta {
  opacity: 0.72;
}
.btn-solid:active {
  transform: translateY(0);
  background: var(--brand-hover);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 18%, transparent);
}
.btn-solid--light {
  background: #fff;
  color: var(--brand);
}
.btn-solid--light:hover {
  background: #ecfdf5;
  color: var(--brand);
  box-shadow: 0 12px 28px color-mix(in srgb, #5eead4 35%, transparent);
}
.btn-solid--brand:hover {
  background: var(--brand-hover);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--brand) 28%, transparent);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    transform 0.2s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.btn-outline:hover {
  text-decoration: none;
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline:active { transform: translateY(0); }
.btn-outline--on-dark:hover {
  background: color-mix(in srgb, #ffffff 22%, transparent);
  border-color: #ffffff;
  box-shadow: 0 10px 24px color-mix(in srgb, #000 35%, transparent);
}
.btn-outline--on-light {
  color: #1c1917;
  border-color: #d6d3d1;
  background: #fff;
}
.btn-outline--on-light:hover {
  background: #e8f0ec;
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 18%, transparent);
}

.btn-brand-outline {
  background: #fff;
  color: var(--brand);
  border: 2px solid var(--brand);
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-brand-outline:hover {
  background: color-mix(in srgb, var(--brand) 8%, white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px color-mix(in srgb, #034737 16%, transparent);
}

.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover {
  background: #ecfdf5;
  color: var(--brand);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px color-mix(in srgb, #5eead4 35%, transparent);
}

.btn-ghost {
  background: transparent;
  color: #d7ebe1;
  border: 1px solid color-mix(in srgb, #ffffff 22%, transparent);
}
.btn-ghost:hover {
  color: #fff;
  border-color: color-mix(in srgb, #ffffff 55%, transparent);
  background: color-mix(in srgb, #ffffff 18%, transparent);
  text-decoration: none;
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .btn-solid:hover, .btn-outline:hover, .btn-solid:active, .btn-outline:active,
  .btn-brand-outline:hover, .btn-light:hover { transform: none; }
}

/* —— Animations —— */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-rise { animation: rise-in 0.6s ease-out both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* —— Header (Next site-header) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  overflow: visible;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--brand) 82%, #0d9488) 0%,
      var(--brand) 48%,
      color-mix(in srgb, var(--brand) 88%, #0a5c56) 100%
    );
  color: #ecfdf5;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px color-mix(in srgb, var(--brand) 12%, transparent);
}
.site-header__glow {
  pointer-events: none;
  position: absolute;
  inset: auto -10% -80%;
  height: 8rem;
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, #5eead4 28%, transparent) 0%,
    transparent 70%
  );
  opacity: 0.4;
  z-index: 0;
}

/* Domov: menu plynulo prejde do farieb hero (bez ostrého / „svietiaceho“ okraja) */
.page-home .site-header {
  border-bottom: none;
  box-shadow: none;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--brand) 78%, #0a5c56) 0%,
      color-mix(in srgb, var(--brand) 55%, var(--brand-deep-bg)) 55%,
      var(--brand-deep-bg) 100%
    );
}
.page-home .site-header__glow {
  opacity: 0.22;
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, #5eead4 18%, transparent) 0%,
    transparent 72%
  );
}
.site-header__bar {
  position: relative;
  z-index: 10;
  display: flex;
  height: 3.5rem;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .site-header__bar {
    height: 4.75rem;
    gap: 1rem;
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .site-header__bar { padding: 0 2rem; }
}
.site-header__left {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .site-header__left { gap: 1.75rem; }
}
.brand {
  display: inline-flex;
  align-items: center;
  border-radius: 0.5rem;
  transition: opacity 0.2s ease;
}
.brand:hover { opacity: 0.9; text-decoration: none; }
.brand__logo {
  display: block;
  width: auto;
  max-width: none;
  height: 28px;
  object-fit: contain;
  object-position: left center;
  transition: transform 0.3s ease;
}
@media (min-width: 768px) {
  .brand__logo { height: 44px; }
}
.brand:hover .brand__logo { transform: scale(1.03); }

.site-header__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.35rem;
}
@media (min-width: 640px) {
  .site-header__actions { gap: 0.75rem; }
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .site-header__nav { display: flex; }
}
.site-header__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  padding: 0.55rem 1rem;
  font-size: 1.05rem;
  font-weight: 550;
  color: #d1fae5;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}
@media (min-width: 1024px) {
  .site-header__link {
    padding: 0.55rem 1.15rem;
    font-size: 1.1rem;
  }
}
.site-header__link:hover {
  color: #ffffff;
  background: color-mix(in srgb, #5eead4 22%, transparent);
  text-decoration: none;
}
.site-header__link.is-active {
  color: #fff;
  background: color-mix(in srgb, #ffffff 18%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #5eead4 35%, transparent);
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  border-radius: 0.5rem;
  padding: 0.5rem 0.875rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand);
  background: #ecf5f0;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.site-header__cta:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--brand) 22%, transparent);
  text-decoration: none;
  color: var(--brand);
}
.site-header__cta:active { transform: translateY(0) scale(0.98); }

.site-header__ghost {
  display: inline-flex;
  align-items: center;
  border-radius: 0.5rem;
  border: 1px solid color-mix(in srgb, #ffffff 22%, transparent);
  padding: 0.5rem 0.875rem;
  font-size: 1rem;
  font-weight: 500;
  color: #d7ebe1;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.site-header__ghost:hover {
  color: #ffffff;
  border-color: color-mix(in srgb, #ffffff 55%, transparent);
  background: color-mix(in srgb, #ffffff 18%, transparent);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px color-mix(in srgb, #034737 22%, transparent);
}

.site-header__desktop-only { display: none !important; }
@media (min-width: 768px) {
  .site-header__desktop-only { display: inline-flex !important; }
}

.site-header__icon-btn {
  position: relative;
  display: inline-flex;
  height: 2.85rem;
  width: 2.85rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  color: #d7ebe1;
  background: color-mix(in srgb, #ffffff 8%, transparent);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.site-header__icon-btn:hover,
.site-header__icon-btn:focus-visible {
  color: #ffffff;
  background: color-mix(in srgb, #ffffff 14%, transparent);
  text-decoration: none;
}
.site-header__tip {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 50%;
  z-index: 60;
  padding: 0.35rem 0.6rem;
  border-radius: 0.45rem;
  background: #fff;
  color: #1c1917;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(15, 23, 19, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}
.site-header__tip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-bottom-color: #fff;
}
.site-header__icon-btn:hover .site-header__tip,
.site-header__icon-btn:focus-visible .site-header__tip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.site-header__logout {
  color: #c5ddd3;
}
.site-header__logout:hover,
.site-header__logout:focus-visible {
  color: #fff;
  background: color-mix(in srgb, #fca5a5 28%, transparent);
  transform: translateY(-1px);
}
.site-header__logout:active {
  transform: translateY(0);
}
.site-header__logout svg {
  transition: transform 0.2s ease;
}
.site-header__logout:hover svg {
  transform: translateX(2px);
}
.site-header__cart.is-active {
  color: #fff;
  background: color-mix(in srgb, #ffffff 14%, transparent);
}
.site-header__badge {
  display: inline-flex;
  min-width: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.125rem 0.375rem;
  font-size: 10px;
  font-weight: 600;
  color: var(--brand-deep);
  background: #9ec9b5;
}
.site-header__badge[hidden] { display: none !important; }
.site-header__badge--float {
  position: absolute;
  top: -0.15rem;
  right: -0.2rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.28rem;
  font-size: 9px;
  line-height: 1;
  color: #011a14;
  background: #fde68a;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-deep) 90%, #034737);
}
.site-header__burger-lines {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.site-header__burger-lines span {
  display: block;
  height: 2px;
  width: 1.25rem;
  border-radius: 9999px;
  background: currentColor;
}

.site-header__mobile-toggle { position: relative; z-index: 10; }
@media (min-width: 768px) {
  .site-header__mobile-toggle { display: none; }
}

/* Mobile drawer */
.site-header__drawer-root {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
}
.site-header__drawer-root.is-open { display: block; }
@media (min-width: 768px) {
  .site-header__drawer-root { display: none !important; }
}
.site-header__drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 280ms ease;
}
.site-header__drawer-root.is-open .site-header__drawer-backdrop { opacity: 1; }
.site-header__drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(17.5rem, 78vw);
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--brand) 85%, #0d9488) 0%,
      var(--brand) 100%
    );
  border-left: 1px solid color-mix(in srgb, #5eead4 30%, transparent);
  box-shadow: -18px 0 40px color-mix(in srgb, var(--brand) 35%, transparent);
  transform: translateX(100%);
  transition: transform 280ms ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.site-header__drawer-root.is-open .site-header__drawer { transform: translateX(0); }
.site-header__drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 500;
  color: #ecf5f0;
  text-decoration: none;
}
.site-header__drawer-link:hover {
  background: color-mix(in srgb, #ffffff 10%, transparent);
  text-decoration: none;
}
.site-header__drawer-icon {
  display: inline-flex;
  height: 1.75rem;
  width: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  color: #9ec9b5;
  background: color-mix(in srgb, #ffffff 8%, transparent);
}

@media (max-width: 639px) {
  .site-header__link { padding: 0.5rem 0.75rem; font-size: 1rem; }
  .site-header__cta { padding: 0.45rem 0.75rem; }
  .site-header__drawer-link { font-size: 1.125rem; }
}

/* —— Footer —— */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: auto;
  border-top: 1px solid color-mix(in srgb, #5eead4 22%, transparent);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--brand) 90%, #0a5c56) 0%,
      var(--brand) 100%
    );
  color: #ecfdf5;
}
.site-footer__glow {
  pointer-events: none;
  position: absolute;
  inset: -20% 10% auto;
  height: 12rem;
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--accent) 35%, transparent) 0%,
    transparent 70%
  );
  opacity: 0.7;
}
.site-footer__inner {
  position: relative;
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
}
.site-footer__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.site-footer__brand { max-width: 28rem; }
@media (min-width: 1024px) {
  .site-footer__brand { grid-column: auto; max-width: 20rem; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .site-footer__brand { grid-column: 1 / -1; }
}
.site-footer__brand p {
  margin: 0.85rem 0 0;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(209, 250, 229, 0.85);
}
.site-footer__heading {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ec9b5;
}
.site-footer__list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}
.site-footer__link {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.2rem 0;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: #d7ebe1;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.site-footer__link:hover {
  color: #ffffff;
  transform: translateX(2px);
  text-decoration: none;
}
.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, #ffffff 12%, transparent);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.8125rem;
  color: #9ec9b5;
}
.site-footer__bottom p { margin: 0; }
.site-footer__theme {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}
.theme-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, #ffffff 22%, transparent);
  background: color-mix(in srgb, #000 18%, transparent);
  gap: 0.15rem;
}
.theme-switch__btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #c6e6d6;
  background: transparent;
  cursor: pointer;
  line-height: 1.2;
}
.theme-switch__btn:hover {
  color: #fff;
}
.theme-switch__btn.is-active {
  background: color-mix(in srgb, #ffffff 16%, transparent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.theme-switch__btn:focus-visible {
  outline: 2px solid #5eead4;
  outline-offset: 2px;
}
@media (max-width: 639px) {
  .site-footer__heading { font-size: 0.8125rem; }
  .site-footer__link { font-size: 1rem; min-height: 2.5rem; }
  .site-footer__bottom {
    margin-top: 1.75rem;
    padding-top: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.875rem;
  }
  .site-footer__theme { margin-left: 0; }
}

/* —— Product cards (Next ProductBoard) —— */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.25rem;
  align-items: stretch;
}
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}
.board-item {
  display: flex;
  min-width: 0;
  height: 100%;
}
.board-item > .card {
  width: 100%;
  height: 100%;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 45%, white);
  box-shadow: 0 12px 28px rgba(3, 71, 55, 0.14);
}
.card__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f4;
  text-decoration: none;
  color: inherit;
}
.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.card:hover .card__img { transform: scale(1.05); }
.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
  gap: 0.25rem;
}
.card__shop {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
}
.card__shop:hover { text-decoration: underline; }
.card__title {
  margin: 0.15rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1c1917;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}
.card:hover .card__title { color: var(--brand); }
.card__title-link { text-decoration: none; color: inherit; }
.card__title-link:hover { text-decoration: none; }
.badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: color-mix(in srgb, var(--brand) 90%, transparent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  z-index: 1;
}
.badge--sale {
  left: auto;
  right: 0.5rem;
  background: #f59e0b;
}
.badge--service {
  top: auto;
  bottom: 0.5rem;
  left: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-deep);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
}

/* —— Tabs —— */
.tabs { display: flex; gap: 0.35rem; margin: 1rem 0 0; flex-wrap: wrap; }
.tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--foreground);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
a.tab:hover {
  border-color: var(--brand);
  color: var(--brand);
  text-decoration: none;
}
.tab.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.tab.is-active:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: #fff;
}

/* —— Forms / panels —— */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 28rem;
}
.panel.wide { max-width: 52rem; }
.panel.full { max-width: none; }

/* —— Register: account type picker (Next parity) —— */
.wrap.register-page {
  width: min(90rem, calc(100% - 1.5rem));
  max-width: 90rem;
}
@media (min-width: 640px) {
  .wrap.register-page { width: min(90rem, calc(100% - 3rem)); }
}
.register-page { max-width: 90rem; }
.register-page .form-grid { max-width: none; }
@media (min-width: 900px) {
  .register-page .row-5--buyer {
    grid-template-columns:
      minmax(7.25rem, 0.95fr)
      minmax(8.5rem, 1.05fr)
      minmax(14rem, 1.5fr)
      minmax(7.5rem, 0.85fr)
      minmax(7.5rem, 0.8fr);
  }
}
.register-page > h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 1.875rem);
  color: var(--brand-deep);
  letter-spacing: -0.02em;
}
.register-page > .lead {
  margin: 0.5rem 0 0;
  max-width: none;
  width: 100%;
  color: #57534e;
  font-size: 1.05rem;
  line-height: 1.55;
}
.atype-step { display: grid; gap: 1rem; }
.atype-prompt {
  margin: 0;
  text-align: center;
  font-size: 1.05rem;
  color: #57534e;
}
.atype-groups {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 720px) {
  .atype-groups { gap: 1.1rem; }
}
@media (min-width: 1100px) {
  .atype-groups {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.15rem;
  }
}
.atype-group {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.85rem;
  border-radius: 1.15rem;
  border: 1.5px solid transparent;
  min-width: 0;
}
.atype-group__label {
  margin: 0;
  padding: 0 0.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}
.atype-group__cards {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  flex: 1;
  align-items: stretch;
}
@media (min-width: 640px) {
  .atype-group--buy .atype-group__cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .atype-group--buy .atype-group__cards {
    grid-template-columns: 1fr 1fr;
  }
}
/* Zákazníci — zelená (brand) */
.atype-group--buy {
  background: color-mix(in srgb, var(--brand) 7%, #ffffff);
  border-color: color-mix(in srgb, var(--brand) 38%, var(--line));
}
.atype-group--buy .atype-group__label { color: var(--brand); }
.atype-group--buy .atype-card {
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
  background: #fff;
}
.atype-group--buy .atype-card:hover,
.atype-group--buy .atype-card--pick:hover {
  border-color: color-mix(in srgb, var(--brand) 70%, var(--line));
}
.atype-group--buy .atype-card__icon {
  background: color-mix(in srgb, var(--brand) 14%, #f3f6f4);
  color: var(--brand);
}
/* Predaj — teplá piesková / amber */
.atype-group--sell {
  background: color-mix(in srgb, #b45309 6%, #ffffff);
  border-color: color-mix(in srgb, #b45309 42%, var(--line));
}
.atype-group--sell .atype-group__label { color: #9a3412; }
.atype-group--sell .atype-card {
  border-color: color-mix(in srgb, #b45309 30%, var(--line));
  background: #fff;
}
.atype-group--sell .atype-card:hover,
.atype-group--sell .atype-card--pick:hover {
  border-color: color-mix(in srgb, #b45309 65%, var(--line));
}
.atype-group--sell .atype-card__icon {
  background: color-mix(in srgb, #b45309 12%, #fff7ed);
  color: #9a3412;
}
.atype-group--sell .atype-card__hl { color: #9a3412; }
.atype-group--sell .atype-card__cta {
  background: color-mix(in srgb, #b45309 88%, #1c1917);
}
.atype-group--sell .atype-card:hover .atype-card__cta {
  background: color-mix(in srgb, #b45309 72%, #ea580c);
}
/* Influencer — chladný slate / teal */
.atype-group--inf {
  background: color-mix(in srgb, #0e7490 7%, #ffffff);
  border-color: color-mix(in srgb, #0e7490 40%, var(--line));
}
.atype-group--inf .atype-group__label { color: #155e75; }
.atype-group--inf .atype-card {
  border-color: color-mix(in srgb, #0e7490 28%, var(--line));
  background: #fff;
}
.atype-group--inf .atype-card:hover,
.atype-group--inf .atype-card--pick:hover {
  border-color: color-mix(in srgb, #0e7490 65%, var(--line));
}
.atype-group--inf .atype-card__icon {
  background: color-mix(in srgb, #0e7490 12%, #ecfeff);
  color: #155e75;
}
.atype-group--inf .atype-card__hl { color: #155e75; }
.atype-group--inf .atype-card__cta {
  background: color-mix(in srgb, #0e7490 90%, #083344);
}
.atype-group--inf .atype-card:hover .atype-card__cta {
  background: color-mix(in srgb, #0e7490 75%, #22d3ee);
}
.atype-group .atype-card {
  padding: 1.35rem 1.25rem 1.2rem;
}
.atype-group .atype-card__title {
  font-size: 1.2rem;
}
.atype-group .atype-bullets li {
  font-size: 0.88rem;
  line-height: 1.4;
}
.atype-group .atype-card__hl {
  font-size: 0.9rem;
}
.atype-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .atype-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (min-width: 1100px) {
  .atype-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
}
.atype-grid--4 .atype-card {
  padding: 1.35rem 1.25rem 1.2rem;
}
.atype-grid--4 .atype-card__title {
  font-size: 1.2rem;
}
.atype-grid--4 .atype-bullets li {
  font-size: 0.88rem;
  line-height: 1.4;
}
.atype-grid--4 .atype-card__hl {
  font-size: 0.9rem;
}
.atype-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  padding: 1.35rem 1.35rem 1.25rem;
  text-align: left;
  border: 1px solid color-mix(in srgb, var(--line) 85%, #a8a29e);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}
@media (min-width: 640px) {
  .atype-card { padding: 1.6rem 1.6rem 1.4rem; }
}
.atype-card:hover {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  box-shadow: 0 10px 28px rgba(1, 26, 20, 0.1);
  transform: translateY(-3px);
}
.atype-card--pick {
  padding: 1.15rem 1.15rem 1rem;
}
.atype-card--pick:hover {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  transform: translateY(-2px);
}
.atype-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--brand) 10%, #f3f6f4);
  color: var(--brand);
  flex-shrink: 0;
  transition: background-color 0.22s ease, color 0.22s ease;
}
.atype-card:hover .atype-card__icon {
  background: color-mix(in srgb, var(--brand) 16%, white);
  color: var(--brand);
}
.atype-card__icon--sm {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
}
.atype-card__title {
  margin: 1.1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--brand-deep);
  line-height: 1.25;
}
.atype-card__head .atype-card__title {
  margin: 0;
  display: block;
}
.atype-card__q {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand);
}
.atype-card__head .atype-card__q {
  margin: 0.2rem 0 0;
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
}
.atype-card__desc {
  margin: 0.55rem 0 0;
  flex: 1;
  font-size: 0.95rem;
  color: #57534e;
  line-height: 1.55;
}
.atype-card > .atype-card__desc {
  margin-top: 1rem;
}
.atype-card__body {
  flex: 1;
  width: 100%;
  margin-top: 0.75rem;
}
.atype-card__cta {
  display: block;
  width: 100%;
  margin-top: 1.85rem;
  padding: 0.85rem 1.1rem;
  text-align: center;
  border: 0;
  border-radius: 0.75rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
  pointer-events: none;
  transition: background-color 0.22s ease, box-shadow 0.22s ease;
}
.atype-card:hover .atype-card__cta {
  background: var(--brand-hover);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 22%, transparent);
}
.atype-backrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.atype-back {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.95rem;
  color: var(--brand);
  cursor: pointer;
}
.atype-back:hover { text-decoration: underline; }
.atype-hint {
  margin: 0;
  font-size: 0.95rem;
  color: #57534e;
}
.atype-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
}
.atype-card__head-text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0.1rem;
}
.atype-card__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.atype-card__title-row .atype-card__title {
  margin: 0;
  font-size: 1.125rem;
}
.atype-badge {
  flex-shrink: 0;
  border-radius: 0.375rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: #f5f5f4;
  color: #44403c;
}
.atype-badge--free {
  background: #ecfdf5;
  color: #064e3b;
}
.atype-card__hl {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
}
.atype-featured {
  margin: 0 0 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #022c22;
  line-height: 1.4;
}
.atype-bullets { margin: 0.75rem 0 0; flex: 1; width: 100%; }
.atype-bullets > p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #78716c;
}
.atype-bullets ul {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.atype-bullets li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #292524;
}
.atype-bullets li::before {
  content: "";
  margin-top: 0.5rem;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 999px;
  background: var(--brand);
  flex-shrink: 0;
}
.atype-rules {
  display: block;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  text-align: center;
  font-size: 0.875rem;
  color: #57534e;
  text-decoration: none;
}
.atype-rules:hover { color: var(--brand); text-decoration: underline; }
.atype-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
}
.atype-form__submit {
  display: inline-flex;
  width: auto;
  margin-top: 0.15rem;
  justify-self: start;
}
.form-section-title {
  margin: 0.35rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.form-grid > .form-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.field-label-row {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.25rem;
  line-height: 1.25;
  white-space: nowrap;
  max-width: 100%;
}
.field-optional {
  font-weight: 500;
  color: #78716c;
}
.field-hint {
  margin: -0.15rem 0 0;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #57534e;
}
.field-hint strong { color: #292524; font-weight: 600; }
.info-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line));
  border-radius: 9999px;
  background: color-mix(in srgb, var(--brand) 8%, white);
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  cursor: help;
  flex-shrink: 0;
  vertical-align: middle;
  pointer-events: none;
}
.info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
}
.info-wrap:hover .info-i,
.info-wrap:focus-within .info-i {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 14%, white);
}
.info-tip {
  position: absolute;
  left: 0;
  right: auto;
  top: calc(100% + 0.4rem);
  z-index: 40;
  width: min(20rem, calc(100vw - 2.5rem));
  max-width: min(20rem, calc(100vw - 2.5rem));
  margin: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.1);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
  color: #57534e;
  text-transform: none;
  letter-spacing: normal;
  white-space: normal;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  box-sizing: border-box;
}
/* Pri pravom okraji otvárať tip doľava */
.info-tip--end,
.info-wrap--end .info-tip {
  left: auto;
  right: 0;
}
.info-tip strong { color: #292524; font-weight: 600; }
.info-tip--rates {
  width: min(18rem, 82vw);
  padding: 0.65rem 0.8rem;
}
.info-tip--rates > strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
}
.info-tip--rates ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.info-tip--rates li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.4rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #44403c;
}
.info-tip__price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--brand-deep);
}
.info-tip__free {
  color: #78716c;
  font-size: 0.75rem;
}
.info-tip__empty {
  margin: 0;
  font-size: 0.8125rem;
  color: #92400e;
}
.form-section-title .field-label-row {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: inherit;
  font-weight: inherit;
}
.atype-plan-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .atype-plan-grid { grid-template-columns: 1fr 1fr; }
}
.atype-plan {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1rem;
  text-align: left;
  background: #fff;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.atype-plan.is-selected {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, white);
}
.atype-plan:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
.atype-plan__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 600;
  color: #1c1917;
}
.atype-plan__price {
  margin-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand-deep);
}
.atype-plan__list {
  font-size: 0.875rem;
  font-weight: 400;
  color: #a8a29e;
  text-decoration: line-through;
}
.atype-plan__note {
  margin-top: 0.25rem;
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #065f46;
}
.atype-warn {
  margin: 0;
  border-radius: 0.55rem;
  border: 1px solid #fde68a;
  background: #fffbeb;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  color: #78350f;
  line-height: 1.45;
}

/* —— Login (Next parity) —— */
.wrap.login-page {
  width: min(42rem, calc(100% - 1.5rem));
  max-width: 42rem;
}
@media (min-width: 640px) {
  .wrap.login-page { width: min(42rem, calc(100% - 3rem)); }
}
.login-page {
  max-width: 42rem;
  display: grid;
  gap: 1.5rem;
}
.login-page__brand h1 {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 1.875rem);
  color: var(--brand-deep);
  letter-spacing: -0.02em;
}
.login-page__brand .lead {
  margin: 0.5rem 0 0;
  color: #57534e;
  font-size: 1.05rem;
  line-height: 1.55;
}
.login-page__logo {
  display: block;
  height: 28px;
  width: auto;
}
.login-card {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fff;
  padding: 1.75rem 1.85rem;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
}
.login-card__fields {
  display: grid;
  gap: 0.75rem;
}
.login-card__fields--single {
  grid-template-columns: 1fr !important;
}
@media (min-width: 640px) {
  .login-card__fields:not(.login-card__fields--single) { grid-template-columns: 1fr 1fr; }
}
.login-forgot {
  margin: -.2rem 0 0;
  text-align: right;
  font-size: .9rem;
}
.login-forgot a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.login-forgot a:hover { text-decoration: underline; }
.login-banner {
  margin: 0;
  border-radius: 0.55rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
}
.login-banner--ok {
  background: #ecfdf5;
  color: #064e3b;
}
.login-banner--err {
  background: #fef2f2;
  color: #b91c1c;
}
.login-resend {
  border: 1px dashed var(--line);
  border-radius: 0.85rem;
  background: color-mix(in srgb, #f5f5f4 80%, white);
  padding: 1rem;
}
.login-resend__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #292524;
}
.login-resend__row {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .login-resend__row {
    flex-direction: row;
    align-items: stretch;
  }
  .login-resend__row input { flex: 1; min-width: 0; }
  .login-resend__row .btn { flex-shrink: 0; white-space: nowrap; }
}
.login-page__foot {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  color: #57534e;
}
.login-page__foot a { color: var(--brand); }
.verify-card {
  display: grid;
  gap: 0.85rem;
}
.verify-card--ok {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  background: color-mix(in srgb, var(--brand) 4%, #fff);
}
.verify-card--err {
  border-color: color-mix(in srgb, #b91c1c 28%, var(--line));
  background: color-mix(in srgb, #fef2f2 70%, #fff);
}
.verify-card__status {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--brand-deep);
}
.verify-card__status--err { color: #991b1b; }
.verify-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  background: color-mix(in srgb, var(--brand) 14%, #fff);
  color: var(--brand);
  flex-shrink: 0;
}
.verify-card__status--err .verify-card__icon {
  background: #fee2e2;
  color: #b91c1c;
}
.verify-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.15rem;
}
.verify-card__actions .btn { text-decoration: none; }
.form-grid {
  display: grid;
  gap: 0.65rem 0.75rem;
  grid-template-columns: 1fr;
  align-items: start;
  max-width: 44rem;
}
.form-grid--wide { max-width: 56rem; }
.form-grid--full { max-width: none; }
.form-grid--compact {
  gap: 0.4rem 0.55rem;
}
.form-grid--compact .form-section-title {
  margin: 0.1rem 0 0;
  padding-top: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}
.form-grid--compact > .form-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
}
.form-grid--compact label {
  font-size: 0.78rem;
  gap: 0.15rem;
}
.form-grid--compact input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]) {
  min-height: 2.15rem;
  height: 2.15rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 0.875rem;
}
.form-grid--compact .form-actions { margin-top: 0.25rem; }

/* Môj účet — kompaktný profil */
.dash-card--buyer-profile {
  padding: 0.85rem 1rem;
}
@media (min-width: 640px) {
  .dash-card--buyer-profile { padding: 1rem 1.2rem; }
}
.form-grid--buyer {
  gap: 0.45rem 0.65rem;
}
.form-grid--buyer label {
  font-size: 0.8rem;
  gap: 0.12rem;
}
.form-grid--buyer input.is-readonly,
input.is-readonly {
  background: #f5f5f4;
  color: #57534e;
  cursor: default;
}
@media (min-width: 720px) {
  .form-grid--buyer .row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .form-grid--buyer .row-addr {
    grid-template-columns:
      minmax(0, 1.15fr)
      minmax(0, 1fr)
      5.25rem
      minmax(5.5rem, 0.85fr);
  }
}

/* Nastavenia platformy — jedna sekcia = jeden box */
.form-grid--sections {
  gap: 0.75rem;
}
.form-grid--sections > .form-section {
  margin: 0;
  padding: 0.7rem 0.85rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--surface-soft);
}
.form-grid--sections > .form-section .form-section-title {
  margin: 0 0 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-deep);
}
.form-grid--sections > .form-section .row-2,
.form-grid--sections > .form-section .row-4,
.form-grid--sections > .form-section .row-bank {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.settings-fees-split {
  align-items: stretch;
  gap: 0.75rem 1rem;
}
.settings-fees-col {
  padding: 0.7rem 0.8rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(1, 26, 20, 0.04);
  min-width: 0;
}
.settings-fees-col__label {
  margin: 0 0 0.55rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: 0.01em;
}
.settings-fees-col .settings-inline-fields {
  margin: 0;
}
.settings-payout-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
@media (min-width: 720px) {
  .settings-payout-info {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.settings-payout-info__box {
  padding: 0.7rem 0.8rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(1, 26, 20, 0.04);
  min-width: 0;
}
.settings-payout-info__k {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #78716c;
}
.settings-payout-info__v {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--brand-deep);
  line-height: 1.25;
}
.settings-payout-info__h {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #78716c;
}
.settings-fx-switch-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  min-width: 0;
}
.settings-fx-switch-wrap__label {
  font-size: 0.85rem;
}
.settings-fx-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
}
.settings-fx-row__key {
  flex: 1 1 14rem;
  min-width: 0;
  margin: 0;
}
.settings-fx-row__input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}
.settings-fx-row__switch {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 0 0 auto;
}
.settings-fx-status {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #78716c;
}
.settings-fx-status a {
  color: inherit;
  text-underline-offset: 2px;
}
.settings-fx-status__ok {
  color: var(--brand-deep, #034737);
  font-weight: 650;
}
.settings-fx-status__off {
  color: #a16207;
  font-weight: 600;
}
.settings-fx-status__clear {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.settings-fx-status__clear:hover {
  color: var(--brand-deep, #034737);
}
.settings-fx-status__clear:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.settings-switch {
  display: inline-flex;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
  padding: 0.15rem;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-deep) 4%, #fff);
}
.settings-switch__opt {
  appearance: none;
  margin: 0;
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.2;
  color: #78716c;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.settings-switch__opt:hover:not(:disabled):not(.is-active) {
  color: var(--brand-deep);
}
.settings-switch__opt.is-active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 3px rgba(3, 71, 55, 0.22);
}
.settings-switch__opt:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.settings-switch__opt:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 55%, #fff);
  outline-offset: 2px;
}
.form-grid--sections > .form-actions {
  margin-top: 0.35rem;
}
.dash-card--settings { padding: 1rem 1.15rem; }
@media (min-width: 640px) {
  .dash-card--settings { padding: 1.15rem 1.35rem; }
}
.dash-card__head--tight { margin-bottom: 0.65rem; }
.dash-card__head--tight h2 { font-size: 1.05rem; }
.dash-card__head--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.75rem;
}
.dash-card__head--inline h2 { margin: 0; }
.dash-card__head--inline p {
  margin: 0;
  font-size: 0.8rem;
  color: #78716c;
}
label { display: grid; gap: 0.25rem; font-size: 0.9rem; font-weight: 600; color: #44403c; }
input, select, textarea {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0 0.65rem;
  font: inherit;
  width: 100%;
  box-sizing: border-box;
  background: var(--input-bg);
  color: inherit;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="range"]),
select {
  -webkit-appearance: none;
  appearance: none;
  min-height: var(--control-h);
  height: var(--control-h);
  line-height: 1.25;
  padding-top: 0;
  padding-bottom: 0;
}
textarea {
  min-height: 4.25rem;
  height: auto;
  padding: 0.55rem 0.65rem;
  resize: vertical;
  line-height: 1.4;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--brand) 35%, white);
  border-color: var(--brand);
}
.row-2,
.row-3,
.row-4,
.row-5,
.row-bank,
.row-city,
.row-addr,
.row-company-head {
  display: grid;
  gap: 0.65rem 0.75rem;
  grid-template-columns: 1fr;
  min-width: 0;
}
@media (min-width: 520px) {
  .row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-bank { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-city { grid-template-columns: minmax(0, 1.4fr) 5.5rem minmax(0, 1fr); }
  .row-company-head {
    grid-template-columns:
      minmax(0, 2fr)
      minmax(5.5rem, 0.85fr)
      minmax(5.5rem, 0.85fr)
      minmax(6.5rem, 1fr);
  }
  .row-addr {
    grid-template-columns:
      minmax(0, 1.45fr)
      minmax(0, 1fr)
      5.5rem
      minmax(0, 0.95fr);
  }
}
@media (min-width: 720px) {
  .row-bank {
    grid-template-columns:
      minmax(11rem, 1.35fr)
      minmax(8rem, 1fr)
      minmax(7rem, 0.85fr)
      minmax(10rem, 1.05fr);
  }
}
@media (min-width: 900px) {
  .row-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .row-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .row-bank {
    grid-template-columns:
      minmax(11rem, 1.4fr)
      minmax(8rem, 1fr)
      minmax(7rem, 0.85fr)
      minmax(10rem, 1.1fr);
  }
  .row-bank__iban { grid-column: auto; }
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 0.15rem;
}
.form-actions--stack {
  flex-direction: column;
  align-items: stretch;
}
.form-actions--stack > .btn,
.form-actions--stack > button {
  width: 100%;
  justify-self: stretch;
}
.membership-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  margin-top: 1.1rem;
  max-width: 36rem;
}
.membership-period {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #44403c;
}
.membership-period strong {
  font-variant-numeric: tabular-nums;
  color: var(--brand-deep, #034737);
}
.membership-plan {
  flex: 1 1 18rem;
  min-width: 0;
  max-width: 28rem;
}
.membership-plan__label {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.membership-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
}
.membership-toggle__opt,
.membership-toggle button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin: 0;
  border: 1.5px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.85rem 0.9rem;
  min-height: 5.25rem;
  background: #fff;
  color: #57534e;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(1, 26, 20, 0.04);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.membership-toggle__opt:hover,
.membership-toggle button:hover {
  color: var(--brand-deep);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  background: color-mix(in srgb, var(--brand) 5%, #fff);
}
.membership-toggle__opt.is-active,
.membership-toggle button.is-active {
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  color: var(--brand-deep);
  border-color: color-mix(in srgb, var(--brand) 65%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 35%, transparent), 0 4px 14px rgba(3, 71, 55, 0.1);
}
.membership-toggle__opt.is-current,
.membership-toggle button.is-current {
  background: color-mix(in srgb, var(--brand) 16%, #fff);
  border-color: var(--brand);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 28%, transparent), 0 6px 18px rgba(3, 71, 55, 0.12);
}
.membership-toggle__opt.is-current.is-active,
.membership-toggle button.is-current.is-active {
  background: color-mix(in srgb, var(--brand) 18%, #fff);
}
.membership-toggle__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  width: 100%;
}
.membership-toggle__name {
  line-height: 1.2;
  font-size: 1rem;
}
.membership-toggle__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
}
.membership-toggle__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}
.membership-toggle__was {
  font-size: 0.78rem;
  font-weight: 600;
  color: #a8a29e;
  text-decoration: line-through;
}
.membership-toggle__price {
  font-size: 0.92rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  color: #78716c;
}
.membership-toggle__opt.is-active .membership-toggle__price,
.membership-toggle button.is-active .membership-toggle__price,
.membership-toggle__opt.is-current .membership-toggle__price,
.membership-toggle button.is-current .membership-toggle__price {
  color: var(--brand-deep);
}
.membership-toggle__bonus {
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.3;
  color: #78716c;
}
.membership-toggle__opt.is-active .membership-toggle__bonus,
.membership-toggle button.is-active .membership-toggle__bonus,
.membership-toggle__opt.is-current .membership-toggle__bonus,
.membership-toggle button.is-current .membership-toggle__bonus {
  color: var(--brand);
}
.membership-toggle__hint {
  margin-top: 0.15rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand);
}
.membership-row > .btn {
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
  align-self: flex-end;
}
.role-chip {
  display: inline-flex;
  align-items: center;
  margin-left: 0.55rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #7dd3fc;
  white-space: nowrap;
}
.role-chip--buyer {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #7dd3fc;
}
.role-chip--premium {
  background: #fef3c7;
  color: #b45309;
  border-color: #fbbf24;
}
.role-chip--seller {
  background: #ffedd5;
  color: #c2410c;
  border-color: #fb923c;
}
.role-chip--influencer {
  background: #fae8ff;
  color: #a21caf;
  border-color: #e879f9;
}
.role-chip--admin {
  background: #ffe4e6;
  color: #be123c;
  border-color: #fb7185;
}
.dash-page__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
}
.dash-social-simple {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr) auto;
  align-items: end;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}
.dash-tax-row {
  display: grid;
  gap: 0.5rem 0.65rem;
  grid-template-columns: minmax(0, 1fr) minmax(5.5rem, 7rem) 2.25rem;
  align-items: end;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}
.dash-tax-row:last-child { border-bottom: 0; }
.dash-row-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2rem;
  margin-bottom: 0.05rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--surface-soft);
  color: #78716c;
  cursor: pointer;
}
.dash-row-remove:hover,
.dash-row-remove:focus-visible {
  color: #b91c1c;
  border-color: color-mix(in srgb, #b91c1c 35%, var(--line));
  background: color-mix(in srgb, #b91c1c 6%, white);
}
.dash-social-simple:last-of-type { border-bottom: 0; }
@media (max-width: 639px) {
  .dash-social-simple,
  .dash-tax-row {
    grid-template-columns: 1fr;
  }
  .dash-tax-row .dash-row-remove {
    justify-self: start;
    margin-bottom: 0;
  }
}
.sub-status {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line));
  background: color-mix(in srgb, var(--brand) 6%, white);
}
.sub-status--off {
  border-color: var(--line);
  background: #fafaf9;
}
.sub-status__badge {
  margin: 0;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}
.sub-status__badge--off {
  color: #78716c;
}
.form-grid > .btn,
.form-grid > button.btn,
.form-actions > .btn,
.form-actions > button {
  width: auto;
  justify-self: start;
}
.check { display: flex; gap: 0.5rem; align-items: center; font-weight: 500; }
.check input { width: auto; height: auto; min-height: 0; }
.dash-nav {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 1.25rem 0 0;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: color-mix(in srgb, #f5f5f4 70%, white);
}
.dash-page > .dash-nav + .dash-card,
.dash-page > .dash-nav ~ .dash-card {
  margin-top: 0.75rem;
}
.dash-page .dash-card--settings {
  max-width: none;
  width: 100%;
  min-width: 0;
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
  box-sizing: border-box;
  overflow: visible;
}
@media (min-width: 640px) {
  .dash-page .dash-card--settings {
    padding: 1.1rem 1.35rem;
  }
}
.dash-page .dash-card--settings .dash-card__head--tight h2 {
  font-size: 1.15rem;
}
.dash-page .dash-card--settings .form-grid,
.dash-page .dash-card--settings .form-section,
.dash-page .dash-card--settings .row-2,
.dash-page .dash-card--settings .row-4,
.dash-page .dash-card--settings .row-bank {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}
.dash-page .dash-card--settings .form-section .form-section-title {
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}
.dash-page .dash-card--settings .form-grid--compact label {
  font-size: 0.875rem;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}
.dash-page .dash-card--settings .field-label-row {
  display: flex;
  flex-wrap: wrap;
  white-space: normal;
  max-width: 100%;
  overflow: visible;
}
.dash-page .dash-card--settings input,
.dash-page .dash-card--settings select {
  min-width: 0;
  max-width: 100%;
}
.dash-page .dash-card--settings .form-section .row-2,
.dash-page .dash-card--settings .form-section .row-4,
.dash-page .dash-card--settings .form-section .row-bank {
  align-items: end;
  /* auto-fit: 1→2→4 stĺpce podľa šírky, bez horizontálneho overflow */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr));
}
.dash-page .dash-card--settings .form-section .row-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}
/* Tip otvára doprava (ľavé polia); pri pravých stĺpcoch doľava */
.dash-page .dash-card--settings .info-tip {
  left: 0;
  right: auto;
  width: min(18rem, calc(100vw - 2.5rem));
  max-width: min(18rem, calc(100vw - 2.5rem));
}
.dash-page .dash-card--settings .row-2 > label:last-child .info-tip,
.dash-page .dash-card--settings .row-4 > label:nth-child(n + 3) .info-tip,
.dash-page .dash-card--settings .row-bank > label:nth-child(n + 3) .info-tip {
  left: auto;
  right: 0;
}
/* Kompaktné číselné polia v nastaveniach platformy */
.dash-page .dash-card--settings .settings-section-note {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  line-height: 1.45;
  max-width: none;
  width: 100%;
}
.dash-page .dash-card--settings .settings-inline-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.55rem 1.1rem;
}
.dash-page .dash-card--settings .settings-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  width: auto;
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
  font-size: 0.875rem;
}
.dash-page .dash-card--settings .settings-field input {
  width: 100%;
  min-width: 0;
}
.dash-page .dash-card--settings .settings-field--pct input {
  width: 5.25rem;
  max-width: 5.25rem;
}
.dash-page .dash-card--settings .settings-field--eur input {
  width: 6.75rem;
  max-width: 6.75rem;
}
.dash-page .dash-card--settings .settings-field--days input {
  width: 4.75rem;
  max-width: 4.75rem;
}
.dash-page .dash-card--settings .settings-inline-fields .settings-field:nth-child(n + 2) .info-tip {
  left: auto;
  right: 0;
}
.dash-nav a,
.dash-nav button {
  border: 0;
  background: transparent;
  border-radius: 0.55rem;
  padding: 0.5rem 0.85rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #57534e;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.dash-nav a.is-active,
.dash-nav button.is-active,
.dash-nav a:hover,
.dash-nav button:hover {
  color: var(--brand-deep);
  background: #fff;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.06);
  text-decoration: none;
}

/* Admin konzola — výraznejšie menu s rámikom a aktívnym stavom */
.dash-nav--admin {
  margin-top: 1rem;
  padding: 0.45rem;
  gap: 0.35rem;
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
  border-radius: 0.95rem;
  background: linear-gradient(
    180deg,
    #fff 0%,
    color-mix(in srgb, var(--brand) 5%, #fafaf9) 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 6px 18px rgba(28, 25, 23, 0.06);
}
.dash-nav--admin a,
.dash-nav--admin button {
  border: 1px solid transparent;
  padding: 0.48rem 0.9rem;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
}
.dash-nav--admin a:hover,
.dash-nav--admin button:hover {
  color: var(--brand-deep);
  background: color-mix(in srgb, var(--brand) 9%, #fff);
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
  box-shadow: 0 2px 8px color-mix(in srgb, var(--brand) 14%, transparent);
  transform: translateY(-1px);
}
.dash-nav--admin a.is-active,
.dash-nav--admin button.is-active {
  color: #fff;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand) 88%, #065f46) 0%,
    var(--brand) 100%
  );
  border-color: color-mix(in srgb, var(--brand) 65%, #011a14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 4px 12px color-mix(in srgb, var(--brand) 32%, transparent);
  transform: none;
}
.dash-nav--admin a.is-active:hover,
.dash-nav--admin button.is-active:hover {
  color: #fff;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand) 82%, #047857) 0%,
    color-mix(in srgb, var(--brand) 95%, #065f46) 100%
  );
  border-color: color-mix(in srgb, var(--brand) 70%, #011a14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 5px 14px color-mix(in srgb, var(--brand) 36%, transparent);
}

.table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.table th, .table td {
  text-align: left;
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.table th {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #78716c;
  background: #fafaf9;
}
.table tbody tr:hover td { background: color-mix(in srgb, var(--brand) 3%, white); }
.table tbody tr.is-clickable { cursor: pointer; }
.table tbody tr.is-clickable:hover td {
  background: color-mix(in srgb, var(--brand) 6%, white);
}
.table input[type="number"],
.table select {
  min-height: var(--control-h);
  height: var(--control-h);
  width: auto;
  max-width: 100%;
}

/* —— Dashboard pages —— */
.dash-page { max-width: 72rem; min-width: 0; width: 100%; box-sizing: border-box; }
.dash-page__title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.65rem, 3vw, 1.85rem);
  color: var(--brand-deep);
  letter-spacing: -0.025em;
}
.dash-page__lead {
  margin: 0.5rem 0 0;
  max-width: 40rem;
  font-size: 0.875rem;
  color: #57534e;
  line-height: 1.55;
}
.dash-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
}
.dash-kicker a { color: inherit; text-decoration: none; }
.dash-kicker a:hover { text-decoration: underline; }
.dash-hub {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .dash-hub { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .dash-hub.admin-tools {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
  }
}

/* Influencer konzola: ľavý stĺpec + pravý obsah */
.dash-shell {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
  align-items: start;
}
@media (min-width: 860px) {
  .dash-shell {
    grid-template-columns: minmax(11rem, 13.25rem) minmax(0, 1fr);
    gap: 1.5rem;
  }
}
.dash-shell__nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--surface, #fff);
  box-shadow: var(--card-shadow, none);
}
@media (min-width: 860px) {
  .dash-shell__nav {
    position: sticky;
    top: 5.5rem;
  }
}
.dash-shell__nav-label {
  margin: 0 0 0.35rem;
  padding: 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.dash-shell__link {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  text-decoration: none !important;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.dash-shell__link:hover {
  background: color-mix(in srgb, var(--brand) 10%, white);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  text-decoration: none !important;
}
.dash-shell__link.is-active {
  background: color-mix(in srgb, var(--brand) 16%, white);
  border-color: color-mix(in srgb, var(--brand) 50%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 22%, transparent);
}
.dash-shell__link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}
.dash-shell__link-title {
  font-size: 0.9rem;
  font-weight: 650;
  color: #1c1917;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.dash-shell__ext {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  opacity: 0.55;
  color: #57534e;
}
.dash-shell__link:hover .dash-shell__ext {
  opacity: 0.9;
  color: var(--brand, #034737);
}
.dash-shell__link-hint {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.72rem;
  color: #78716c;
  line-height: 1.3;
}
.dash-shell__badge {
  flex-shrink: 0;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.dash-shell__main {
  min-width: 0;
}
.dash-shell__main > .dash-kicker:first-child {
  display: none;
}
.dash-shell__panel-title {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-deep, #1c1917);
}
.dash-shell__panel-lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.dash-shell__panel-lead a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.dash-shell__panel-lead a:hover { text-decoration: underline; }
.dash-catalog .shop-manage-toolbar {
  margin: 0 0 1rem;
}
.dash-catalog .empty-panel {
  margin-top: 0.75rem;
}
@media (min-width: 1024px) {
  .dash-catalog .shop-product-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1280px) {
  .dash-catalog .shop-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

html[data-theme="dark"] .dash-shell__nav {
  background: var(--surface);
  border-color: var(--line);
}
html[data-theme="dark"] .dash-shell__link:hover {
  background: color-mix(in srgb, var(--brand) 18%, var(--surface-muted));
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}
html[data-theme="dark"] .dash-shell__link.is-active {
  background: color-mix(in srgb, var(--brand) 24%, var(--surface-muted));
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
}
html[data-theme="dark"] .dash-shell__link-title {
  color: var(--brand-deep);
}
html[data-theme="dark"] .dash-shell__link-hint {
  color: var(--muted);
}
.dash-hub__card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.dash-hub__card:hover {
  border-color: color-mix(in srgb, var(--brand) 70%, var(--line));
  background: color-mix(in srgb, var(--brand) 16%, white);
  box-shadow: 0 6px 18px rgba(28, 25, 23, 0.12), 0 0 0 1px color-mix(in srgb, var(--brand) 28%, transparent);
  transform: translateY(-2px);
  text-decoration: none;
}
.dash-hub__card:hover h2,
.dash-hub__card:hover p {
  text-decoration: none;
}
.dash-hub__card h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: #1c1917;
  line-height: 1.25;
}
.dash-hub__card p {
  margin: 0.2rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: #57534e;
  line-height: 1.35;
}
.dash-settings-grid,
.dash-settings-stack {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dash-settings-grid--influencer,
.dash-settings-grid--compact,
.dash-settings-stack--influencer,
.dash-settings-stack--compact {
  margin-top: 1rem;
  gap: 0.85rem;
}
.dash-settings-grid--influencer .form-grid,
.dash-settings-grid--compact .form-grid,
.dash-settings-stack--influencer .form-grid,
.dash-settings-stack--compact .form-grid {
  max-width: none;
}
.dash-card--profile-compact {
  padding: 1rem 1.15rem 1.1rem;
}
.dash-card--profile-compact .dash-card__head--tight {
  margin-bottom: 0.75rem;
}
.dash-card--profile-compact .form-actions {
  margin-top: 0.15rem;
}
.dash-card--profile-compact .form-actions .btn {
  min-height: 2.15rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
}
.dash-callout--compact {
  margin-bottom: 0.65rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  line-height: 1.35;
}
.dash-settings-grid--influencer .dash-social-simple,
.dash-settings-grid--compact .dash-social-simple,
.dash-settings-stack--influencer .dash-social-simple,
.dash-settings-stack--compact .dash-social-simple {
  padding: 0.45rem 0;
}
.dash-public-links {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
}
.dash-public-links a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.dash-public-links a:hover { text-decoration: underline; }
.dash-form-split {
  margin: 1rem 0 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.dash-form-split .form-section-title {
  margin: 0 0 0.25rem;
}
.dash-field-note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
}
.dash-page .dash-card--profile-compact .form-grid--compact textarea {
  min-height: 4.5rem;
  height: auto;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

/* Profil — sekcie pod sebou; v riadku len súvisiace polia */
.dash-settings-stack .dash-card--profile-compact .form-grid--compact {
  gap: 0.65rem;
}
.dash-settings-stack .dash-card--profile-compact .row-company-head,
.dash-settings-stack .dash-card--profile-compact .row-addr {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .dash-settings-stack .dash-card--profile-compact .row-company-head {
    grid-template-columns: minmax(0, 2fr) minmax(5.5rem, 0.85fr) minmax(5.5rem, 0.85fr) minmax(6.5rem, 1fr);
  }
  .dash-settings-stack .dash-card--profile-compact .row-addr {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) 5.5rem minmax(0, 0.95fr);
  }
}
.dash-settings-stack .dash-card--profile-compact .dash-social-simple {
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 640px) {
  .dash-settings-stack .dash-card--profile-compact .dash-social-simple {
    grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr) auto;
    align-items: end;
  }
}

.dash-social-row {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .dash-social-row {
    grid-template-columns: 8rem 1fr 1.2fr 5.5rem auto;
    align-items: end;
  }
}
.shop-manage-bar {
  background: var(--brand);
  color: #fff;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 70%, black);
}
.shop-manage-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}
.shop-manage-bar__inner p { margin: 0; font-size: 0.875rem; }
.shop-manage-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.shop-manage-bar__actions a {
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,0.15);
}
.shop-manage-bar__actions a:hover { background: rgba(255,255,255,0.28); }
.shop-manage-bar__primary {
  background: #fff !important;
  color: var(--brand-deep) !important;
}
.shop-manage-toolbar {
  margin: 1.5rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}
.shop-edit-form {
  margin-bottom: 1.5rem;
  display: grid;
  gap: 1rem;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line));
  border-radius: 1rem;
  background: #fff;
  padding: 1.15rem;
}
@media (min-width: 640px) {
  .shop-edit-form { grid-template-columns: 10rem 1fr; }
}
.shop-edit-form__photo {
  aspect-ratio: 1;
  width: 100%;
  border: 1px dashed color-mix(in srgb, var(--brand) 45%, var(--line));
  border-radius: 0.75rem;
  background: #f5f5f4;
  overflow: hidden;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0.5rem;
  font-size: 0.75rem;
  color: var(--brand);
  font-weight: 600;
}
.shop-edit-form__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card.is-inactive { opacity: 0.78; border-style: dashed; }
.card__badge {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  border-radius: 999px;
  background: rgba(28,25,23,0.8);
  color: #fff;
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
}
.card__badge--brand { background: var(--brand); }
.card__media { position: relative; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.dash-stats {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .dash-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .dash-stats.dash-stats--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .dash-stats.dash-stats--5 .dash-stat {
    padding: 0.8rem 0.75rem;
  }
  .dash-stats.dash-stats--5 .dash-stat__hint {
    font-size: 0.7rem;
    line-height: 1.3;
  }
}
.dash-stat {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fff;
  padding: 0.9rem 1rem;
  text-align: left;
}
.dash-stat__label {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #78716c;
}
.dash-stat__ext {
  display: inline-block;
  margin-left: 0.15rem;
  font-size: 1em;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.7;
  vertical-align: 0.05em;
}
.dash-stat__value {
  margin: 0.35rem 0 0;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-deep);
  font-variant-numeric: tabular-nums;
}
.dash-card {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  padding: 1.25rem;
  box-shadow: var(--card-shadow);
  overflow: visible;
}
@media (min-width: 640px) {
  .dash-card { padding: 1.5rem; }
}
.dash-card--flush { padding: 0; overflow: hidden; }
.dash-card--flush .table { margin: 0; }
.dash-card--flush .table th:first-child,
.dash-card--flush .table td:first-child { padding-left: 1.25rem; }
.dash-card--flush .table th:last-child,
.dash-card--flush .table td:last-child { padding-right: 1.25rem; }
.dash-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.dash-card__head h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  color: var(--brand-deep);
}
.dash-card__head p {
  margin: 0;
  font-size: 0.8125rem;
  color: #78716c;
}
.dash-empty {
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  color: #78716c;
  font-size: 0.875rem;
}
.dash-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #f5f5f4;
  color: #44403c;
}
.dash-badge--ok { background: #ecfdf5; color: #065f46; }
.dash-badge--warn { background: #fffbeb; color: #92400e; }
.dash-badge--muted { background: #f5f5f4; color: #78716c; }

.dash-dialog {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.dash-dialog__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.45);
  cursor: pointer;
}
.dash-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 32rem);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.dash-dialog__panel--payout { width: min(100%, 36rem); }
.dash-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.dash-dialog__head h2 {
  margin: 0;
  font-size: 1.1rem;
}
.dash-dialog__close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #78716c;
  padding: 0.15rem 0.35rem;
}
.dash-dialog__body { padding: 1rem 1.25rem; }
.dash-dialog__foot {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem 1.1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.payout-sheet__meta {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
}
.payout-sheet__meta > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.65rem;
  align-items: baseline;
}
.payout-sheet__meta dt {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #78716c;
}
.payout-sheet__meta dd {
  margin: 0;
  font-size: 0.92rem;
  word-break: break-word;
}
.payout-sheet__amount {
  font-size: 1.15rem !important;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.payout-sheet__iban {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem !important;
}
.payout-sheet__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
}
.payout-sheet__qr img {
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}
.payout-history {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.payout-history__title {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #78716c;
}
.table--compact th,
.table--compact td {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  font-size: 0.82rem;
}

.dash-card--warn-highlight {
  border: 1px solid #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.12);
}
.dash-callout {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.45;
}
.dash-callout strong { display: block; margin-bottom: 0.2rem; }
.dash-callout--warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
.dash-callout--ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.label--highlight { font-weight: 700; color: #92400e; }
.input--highlight {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Typ účtu — veselé, kontrastné farby (nie brand zelená) */
.dash-badge--buyer {
  background: #e0f2fe;
  color: #0369a1;
}
.dash-badge--member,
.dash-badge--premium {
  background: #fef3c7;
  color: #b45309;
}
.dash-badge--seller {
  background: #ffedd5;
  color: #c2410c;
}
.dash-badge--influencer {
  background: #fae8ff;
  color: #a21caf;
}
.dash-badge--admin {
  background: #ffe4e6;
  color: #be123c;
}

/* Farebné stavy objednávok */
.dash-badge.order-status--new { background: #dbeafe; color: #1d4ed8; }
.dash-badge.order-status--accepted { background: #ccfbf1; color: #0f766e; }
.dash-badge.order-status--processing { background: #ede9fe; color: #6d28d9; }
.dash-badge.order-status--pending { background: #ffedd5; color: #c2410c; }
.dash-badge.order-status--shipped { background: #e0f2fe; color: #0369a1; }
.dash-badge.order-status--done { background: #dcfce7; color: #15803d; }
.dash-badge.order-status--cancelled { background: #fee2e2; color: #b91c1c; }
.dash-badge.order-status--refunded { background: #ffedd5; color: #9a3412; }
.dash-badge.order-status--muted { background: #f5f5f4; color: #78716c; }

.order-status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: center;
  padding: 0.65rem 1.25rem 0.85rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 960px) {
  .order-status-legend {
    flex-wrap: nowrap;
  }
}
.order-status-legend__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.1rem;
  flex-shrink: 0;
}
.order-status-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: #44403c;
  font-weight: 550;
  white-space: nowrap;
  flex-shrink: 0;
}
.order-status-legend__swatch {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.order-status-legend__swatch.order-status--new { background: #2563eb; }
.order-status-legend__swatch.order-status--accepted { background: #0d9488; }
.order-status-legend__swatch.order-status--processing { background: #7c3aed; }
.order-status-legend__swatch.order-status--pending { background: #d97706; }
.order-status-legend__swatch.order-status--shipped { background: #0284c7; }
.order-status-legend__swatch.order-status--done { background: #16a34a; }
.order-status-legend__swatch.order-status--cancelled { background: #dc2626; }
.order-status-legend__swatch.order-status--refunded { background: #c2410c; }

.order-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  align-items: end;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-muted) 55%, var(--surface));
}
.order-filters__field {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  min-width: 8.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}
.order-filters__field span {
  letter-spacing: 0.02em;
}
.order-filters__field input,
.order-filters__field select {
  min-height: var(--control-h);
  height: var(--control-h);
  padding: 0 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--input-bg, var(--surface));
  color: var(--foreground);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
}
.order-filters__field--num {
  min-width: 7rem;
  max-width: 8.5rem;
}
.order-filters__field--search {
  flex: 0 1 14rem;
  min-width: 11rem;
  max-width: 16rem;
  width: 14rem;
}
.order-filters__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  padding-bottom: 0.15rem;
  font-size: 0.8rem;
}
.order-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.5rem;
  padding: 0.85rem 1.25rem 1.1rem;
  border-top: 1px solid var(--line);
}
.order-pager__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}
.order-pager__nav,
.order-pager__page {
  min-height: 2.1rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--surface, #fff);
  color: var(--foreground);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}
.order-pager__page {
  min-width: 2.1rem;
  padding: 0 0.45rem;
  font-variant-numeric: tabular-nums;
}
.order-pager__page.is-active {
  border-color: var(--brand, #034737);
  background: color-mix(in srgb, var(--brand, #034737) 12%, var(--surface, #fff));
  color: var(--brand, #034737);
}
.order-pager__nav:disabled,
.order-pager__page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.order-pager__meta {
  margin-left: 0.35rem;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}
html[data-theme="dark"] .order-pager__nav,
html[data-theme="dark"] .order-pager__page {
  background: var(--surface);
}
html[data-theme="dark"] .order-filters {
  background: color-mix(in srgb, var(--surface-muted) 70%, var(--surface));
}
.dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.dash-order {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.dash-order:last-child { border-bottom: 0; }
.dash-order__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}
.dash-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-line img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 0.5rem;
  background: #e7e5e4;
}
.qty-input { width: 4rem; }

/* —— Cart / checkout (Next parity) —— */
.wrap--cart { max-width: 64rem; }
.cart-page__title {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  color: var(--brand-deep);
}
.cart-page__lead {
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
  color: #57534e;
  line-height: 1.55;
}
.cart-back {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--brand);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
.cart-back:hover { text-decoration: underline; }
.cart-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: #57534e;
}
.cart-steps__current { font-weight: 600; color: var(--brand-deep); }
.cart-layout {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}
@media (min-width: 1024px) {
  .cart-layout { grid-template-columns: 1fr 21rem; align-items: start; }
}
.cart-lines { display: grid; gap: 0.5rem; }
.cart-item {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: 0.65rem 0.75rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fff;
  padding: 0.65rem 0.75rem;
}
@media (min-width: 640px) {
  .cart-item {
    grid-template-columns: 4.75rem minmax(0, 1fr) auto;
    align-items: center;
    padding: 0.65rem 0.85rem;
  }
}
.cart-item__media {
  display: block;
  width: 4.25rem;
  height: 4.25rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.55rem;
  background: #f5f5f4;
}
@media (min-width: 640px) {
  .cart-item__media { width: 4.75rem; height: 4.75rem; }
}
.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-item__body { min-width: 0; }
.cart-item__shop {
  display: block;
  font-size: 0.7rem;
  line-height: 1.25;
  color: var(--brand);
}
.cart-item__shop:hover { text-decoration: underline; }
.cart-item__title {
  margin: 0.1rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1c1917;
}
.cart-item__title a {
  color: inherit;
  text-decoration: none;
}
.cart-item__title a:hover { text-decoration: underline; }
.cart-item__unit {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: #57534e;
}
.cart-item__aside {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding-top: 0.15rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
@media (min-width: 640px) {
  .cart-item__aside {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.4rem;
    padding-top: 0;
    border-top: 0;
    min-width: 9.5rem;
  }
}
.cart-item__qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.cart-qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #fff;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  padding: 0;
}
.cart-qty-btn:hover { border-color: var(--brand); }
.cart-qty-val {
  min-width: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}
.cart-item__remove {
  margin-left: 0.15rem;
  border: 0;
  background: none;
  padding: 0.15rem 0;
  font: inherit;
  font-size: 0.8rem;
  color: #78716c;
  cursor: pointer;
}
.cart-item__remove:hover { color: #1c1917; text-decoration: underline; }
.cart-item__total {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  color: var(--brand-deep);
  text-align: right;
  line-height: 1.2;
}
.cart-summary {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 1.25rem;
  height: fit-content;
}
@media (min-width: 1024px) {
  .cart-summary { position: sticky; top: 6rem; }
}
.cart-summary h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--brand-deep);
}
.cart-promo {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}
.cart-promo input { flex: 1; min-width: 0; }
.cart-promo__btn {
  flex-shrink: 0;
  min-width: 5.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
.cart-promo__btn:disabled { opacity: 0.7; cursor: wait; }
.cart-promo__ok {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #065f46;
}
.cart-promo__err {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #b91c1c;
}
.cart-summary__hint {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #57534e;
}
.cart-free-ship {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 0.7rem;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line));
  background: color-mix(in srgb, var(--brand) 6%, #fff);
}
.cart-free-ship__text,
.cart-free-ship__ok {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #1c1917;
}
.cart-free-ship__ok { color: #065f46; }
.cart-free-ship__track {
  margin-top: 0.55rem;
  height: 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, #e7e5e4);
  overflow: hidden;
}
.cart-free-ship__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #5eead4));
  transition: width 0.28s ease;
}
html[data-theme="dark"] .cart-free-ship {
  background: color-mix(in srgb, var(--brand) 14%, var(--surface));
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}
html[data-theme="dark"] .cart-free-ship__text {
  color: var(--foreground);
}
html[data-theme="dark"] .cart-free-ship__ok { color: #a7f3d0; }
.cart-summary__member {
  margin: 0.75rem 0 0;
  border-radius: 0.55rem;
  background: #ecfdf5;
  padding: 0.65rem 0.85rem;
  color: #064e3b;
  box-shadow: inset 0 0 0 1px #a7f3d0;
}
.cart-summary__member-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #047857;
}
.cart-summary__member-text {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
}
.cart-summary__member-pct {
  white-space: nowrap;
  font-weight: 700;
}
.cart-summary__promo-ok {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: #065f46;
}
.cart-summary__dl {
  margin: 1rem 0 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.cart-summary__mini + .cart-summary__dl {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.cart-summary__dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.cart-summary__dl dt { color: #57534e; }
.cart-summary__dl dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  color: #1c1917;
}
.cart-summary__dl .is-discount { color: #065f46; }
.cart-summary__dl .is-total {
  border-top: 1px solid var(--line);
  margin-top: 0.15rem;
  padding-top: 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-deep);
}
.cart-summary__dl .is-total dt,
.cart-summary__dl .is-total dd {
  color: var(--brand-deep);
}
.cart-summary__vat {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #78716c;
  font-variant-numeric: tabular-nums;
}
html[data-theme="dark"] .cart-summary__vat {
  color: var(--muted);
}
.cart-summary__cta { margin-top: 1rem; width: 100%; }
.cart-auth-gate {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}
.cart-auth-gate__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #44403c;
}
.cart-auth-gate .cart-summary__cta { margin-top: 0; }
.cart-auth-gate--panel {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}
.cart-auth-gate--panel h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--brand-deep);
}
.cart-auth-gate--panel .btn { width: auto; }
.cart-auth-gate--panel .cart-auth-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.cart-auth-gate--panel .cart-auth-gate__actions .btn {
  flex: 1 1 auto;
  min-width: 8.5rem;
  width: auto;
}
.cart-summary__mini {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: #f5f5f4;
}
.cart-summary__line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #78716c;
}
.cart-summary__line > span:last-child {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  color: #57534e;
}
.cart-checkout {
  display: grid;
  gap: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 1.25rem;
}
@media (min-width: 640px) {
  .cart-checkout { padding: 1.5rem; }
}
.cart-checkout h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--brand-deep);
}
.cart-address {
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.cart-address__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #292524;
}
.cart-ship-same {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #292524;
  cursor: pointer;
}
.cart-ship-same input {
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.cart-buyer-type {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cart-pay-method {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.cart-pay-method__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1c1917;
}
.cart-buyer-type button {
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #fff;
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #57534e;
  cursor: pointer;
}
.cart-buyer-type button.is-active {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, white);
  color: var(--brand-deep);
}
.cart-empty,
.cart-done,
.cart-alert {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 2rem 1.5rem;
  text-align: center;
}
.cart-empty .btn { margin-top: 1rem; }
.cart-done { text-align: left; }
.cart-done h2,
.cart-alert h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--brand-deep);
}
.cart-done p { margin: 0.5rem 0 0; font-size: 0.875rem; color: #44403c; }
.cart-done__id {
  margin-top: 0.35rem !important;
  font-family: ui-monospace, monospace;
  font-size: 0.75rem !important;
  color: var(--muted) !important;
}
.cart-done__actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cart-alert--warn {
  border-color: #fde68a;
  background: #fffbeb;
  text-align: left;
}
.cart-alert--warn h2 { color: #78350f; }
.cart-alert--warn p { margin: 0.5rem 0 0; font-size: 0.875rem; color: #92400e; }
.section { padding: 2.5rem 0; }
.section h1, .section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--brand-deep);
}
.section h2 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 3vw, 1.875rem); }

/* Dashboard: vždy moderný sans (nie Fraunces) — vyššia špecificita než .section h1/h2 */
.dash-page h1,
.dash-page h2,
.dash-page .dash-hub__card h2,
.dash-page .dash-card__head h2,
.dash-page .dash-page__title,
.dash-page .dash-stat__value {
  font-family: var(--font-sans);
  font-weight: 650;
  letter-spacing: -0.015em;
}
/* Hub karty: nepreberať veľký .section h2 */
.dash-page .dash-hub__card h2 {
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.25;
  color: #1c1917;
}
.dash-page .dash-hub__card--accent h2 { color: #fff; }
.dash-page .dash-page__title {
  font-weight: 700;
  letter-spacing: -0.025em;
}
.dash-page .dash-hub__card p,
.dash-page .dash-page__lead,
.dash-page .dash-stat__label {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: normal;
}
.dash-page .dash-hub__card p {
  font-size: 0.78rem;
}

/* —— Homepage hero —— */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-deep-bg);
  color: #ecfdf5;
  /* jemný nábeh zhora — rovnaká tma ako spodok menu */
  box-shadow: inset 0 24px 40px -28px color-mix(in srgb, var(--brand) 40%, transparent);
}
.home-hero__grid { display: grid; width: 100%; }
.home-hero__copy {
  position: relative;
  order: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 1.25rem 3rem;
}
.home-hero__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 18% 30%, rgba(45, 212, 191, 0.18), transparent 55%);
}
.home-hero__inner {
  position: relative;
  z-index: 1;
  width: min(36rem, 100%);
  margin: 0 auto;
}
.home-hero__logo {
  display: block;
  height: auto;
  width: auto;
  max-width: 100%;
}
.home-hero__logo--sm { max-width: 140px; }
.home-hero__logo--lg { display: none; max-width: 200px; }
.home-hero h1 {
  margin: 1.25rem 0 0;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.45;
  color: #ecfdf5;
  font-family: var(--font-sans);
  letter-spacing: 0;
}
.home-hero p {
  margin: 1rem 0 0;
  color: rgba(167, 243, 208, 0.9);
  line-height: 1.7;
  font-size: 1rem;
  max-width: 34rem;
}
.home-hero__actions {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.home-hero__actions .btn,
.home-hero__actions .btn-solid,
.home-hero__actions .btn-outline,
.home-hero__actions .btn-light { flex: 1 1 auto; min-width: 0; }
.home-hero__media {
  position: relative;
  order: 1;
  min-height: 220px;
  background: var(--brand-deep-bg);
}
.home-hero__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 45%;
  display: block;
  max-width: none;
}
.home-hero__fade-top {
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto 0;
  height: 3.5rem;
  z-index: 1;
  /* mäkký prechod z brand-deep (spodok menu) do hero medií — bez ostrého pásu */
  background: linear-gradient(
    180deg,
    var(--brand-deep-bg) 0%,
    color-mix(in srgb, var(--brand-deep-bg) 70%, transparent) 40%,
    transparent 100%
  );
}
.home-hero__fade-left { display: none; }
.section--board { background: #f7faf8; border-bottom: 1px solid #d6d3d1; }
.section--split { background: #f7faf8; border-bottom: 1px solid #d6d3d1; }
.section--dark { background: var(--brand-deep-bg); color: #ecfdf5; }
.section--dark h2 { color: #fff; }
.section--why { background: #f7faf8; border-bottom: 1px solid #d6d3d1; }
.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow--mint { color: #5eead4; }
.section--split,
.section--dark,
.section--why,
.section--board {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 640px) {
  .section--split,
  .section--dark,
  .section--why,
  .section--board {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
.home-split { display: grid; gap: 2.5rem; }
.home-split h2 {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  line-height: 1.22;
  font-weight: 400;
}
.home-split p {
  margin: 0 0 1.15rem;
  line-height: 1.7;
  color: #44403c;
  font-size: 1rem;
}
.home-split p:last-of-type { margin-bottom: 0; }
.home-split--dark p { color: #ecfdf5; }
.muted--mint { color: rgba(167, 243, 208, 0.85) !important; }
.home-split__actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.home-split__title { order: 1; }
.home-split__body { order: 2; }
@media (min-width: 768px) {
  .home-split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
  .home-split--dark .home-split__title { order: 2; text-align: right; padding-left: 0.5rem; }
  .home-split--dark .home-split__body { order: 1; padding-right: 0.5rem; }
  .section--split .home-split__title { padding-right: 0.5rem; }
  .section--split .home-split__body { padding-left: 0.5rem; }
}
.why-grid {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.why-grid li { border-top: 1px solid #d6d3d1; padding-top: 1.15rem; }
.why-grid h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brand-deep);
}
.why-grid p { margin: 0.5rem 0 0; color: var(--muted); line-height: 1.55; }

@media (min-width: 640px) {
  .home-hero__media { min-height: 340px; }
  .home-hero__logo--sm { display: none; }
  .home-hero__logo--lg { display: block; }
  .home-hero__copy { padding: 4rem 2.5rem; }
  .home-hero h1 { margin-top: 1.35rem; }
  .home-hero p { margin-top: 1.1rem; }
  .home-hero__actions { margin-top: 1.85rem; }
  .home-hero__actions .btn,
  .home-hero__actions .btn-solid,
  .home-hero__actions .btn-outline,
  .home-hero__actions .btn-light { flex: none; }
  .home-split { gap: 2.75rem; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .row-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .home-hero__grid {
    grid-template-columns: 1fr 1fr;
    min-height: min(72vh, 560px);
  }
  .home-hero__copy { order: 1; padding: 4rem 2.5rem 4rem 2.5rem; }
  .home-hero__inner { margin: 0 0 0 auto; max-width: 32rem; padding-right: 1.25rem; }
  .home-hero__media { order: 2; min-height: 100%; }
  .home-hero__fade-top { display: none; }
  .home-hero__fade-left {
    display: block;
    pointer-events: none;
    position: absolute;
    inset: 0 auto 0 0;
    width: min(32%, 11rem);
    z-index: 1;
    background: linear-gradient(90deg, #011a14 0%, rgba(1, 26, 20, 0.75) 40%, rgba(1, 26, 20, 0.25) 72%, transparent 100%);
  }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .home-hero__copy { padding: 5rem 4rem; }
  .home-hero__inner { max-width: 34rem; padding-right: 2rem; }
  .home-hero h1 { font-size: 1.3rem; }
}
@media (max-width: 640px) {
  .row-2,
  .row-3,
  .row-4,
  .row-5,
  .row-bank,
  .row-city,
  .row-addr,
  .row-company-head { grid-template-columns: 1fr; }
}

/* —— Header extras (premium, drawer) —— */
.site-header__premium {
  color: #f5c84a !important;
  background: transparent;
}
.site-header__premium:hover,
.site-header__premium:focus-visible {
  color: #fcd34d !important;
  background: color-mix(in srgb, #fbbf24 22%, transparent);
}
.site-header__premium svg {
  color: #f5c84a;
  filter: drop-shadow(0 0 1px rgba(180, 120, 20, 0.35));
}
.site-header__premium .site-header__tip {
  color: #78350f;
}
.site-header__drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem;
}
.site-header__drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0.75rem 2rem;
}
.site-header__drawer-sep {
  margin: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.5rem;
}

/* —— Page chrome —— */
.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--brand-deep);
}
.page-lead { margin: 0.5rem 0 0; max-width: none; }
.list-count { margin: 1.25rem 0 0.75rem; font-size: 0.85rem; }
.empty-panel {
  margin-top: 1.5rem;
  border: 1px dashed var(--line);
  border-radius: 1rem;
  background: #fff;
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: #57534e;
}
.board-head {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.board-head__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}
.board-head__main {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  width: 100%;
}
.board-head__main .page-title,
.board-head__main h1,
.board-head__main h2 {
  margin: 0;
}
.board-head__main .page-lead,
.board-head__main > .muted,
.board-head .page-lead {
  margin: 0.35rem 0 0;
  max-width: none;
  width: 100%;
}
.board-head__tabs {
  margin-top: 0.5rem;
}
.board-head__link {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  padding-bottom: 0.15rem;
}
.board-head__link:hover { text-decoration: underline; }
.board-kind {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.25rem;
}
.board-kind__btn {
  border-radius: 0.55rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #57534e;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.board-kind__btn:hover {
  background: #e8f0ec;
  color: var(--brand);
  text-decoration: none;
}
.board-kind__btn.is-active {
  background: var(--brand);
  color: #fff;
}
.board-kind__btn.is-active:hover {
  background: var(--brand-hover);
  color: #fff;
}
.board-more {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.board-more__count {
  margin: 0;
  font-size: 0.75rem;
  color: #78716c;
}
.card__desc {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: #57534e;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__foot {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}
.card__price {
  margin: 0;
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 600;
  color: var(--brand-deep);
  font-size: 0.875rem;
}
.card__price s {
  margin-right: 0.35rem;
  font-weight: 500;
  color: #a8a29e;
}
.card__cta-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-width: 0;
}
.card__shop-note {
  flex: 1 1 100%;
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}
.card__cta {
  flex-shrink: 0;
  border-radius: 0.5rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}
.card__cta--solid {
  background: var(--brand);
  color: #fff;
}
.card__cta--solid:hover {
  background: var(--brand-hover);
  color: #fff;
  text-decoration: none;
}
.card__cta--solid.is-in-cart,
.card__cta.is-in-cart,
.btn-pill.is-in-cart {
  background: color-mix(in srgb, var(--brand) 18%, white) !important;
  color: var(--brand-deep) !important;
  cursor: default;
  pointer-events: none;
}
.card__cta--outline {
  background: #fff;
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 40%, var(--line));
}
.card__cta--outline:hover {
  background: #e8f0ec;
  text-decoration: none;
}

/* —— Shop listing cards —— */
.shop-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
}
@media (min-width: 640px) {
  .shop-grid { grid-template-columns: 1fr 1fr; gap: 1.15rem; }
}
@media (min-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(4, 1fr); }
}
.shop-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.shop-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: 0 10px 24px rgba(28, 25, 23, 0.08);
  text-decoration: none;
}
.shop-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f5f5f4;
}
.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.shop-card:hover .shop-card__media img { transform: scale(1.05); }
.shop-card__fallback {
  display: grid;
  place-items: center;
  height: 100%;
  background: linear-gradient(135deg, #ecfdf5, #f5f5f4);
  color: color-mix(in srgb, var(--brand-deep) 40%, transparent);
  font-weight: 600;
}
.shop-card__overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--brand) 20%, transparent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.shop-card:hover .shop-card__overlay { opacity: 1; }
.shop-card__body { padding: 1.15rem 1.25rem 1.25rem; }
.shop-card__eyebrow {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
}
.shop-card__title {
  margin: 0.25rem 0 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 650;
  color: #1c1917;
  transition: color 0.15s ease;
}
.shop-card:hover .shop-card__title { color: var(--brand); }
.shop-card__meta {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: #57534e;
}
.shop-card__cta {
  margin-left: 0.5rem;
  color: var(--brand);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.shop-card:hover .shop-card__cta { opacity: 1; }

/* —— Creator listing —— */
.catalog-list {
  margin-top: 1.25rem;
}
.catalog-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  max-width: 42rem;
}
.catalog-toolbar__field {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  min-width: 11rem;
  flex: 0 1 14rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}
.catalog-toolbar__field--search {
  flex: 1 1 16rem;
  min-width: 12rem;
  max-width: 22rem;
}
.catalog-toolbar__field select,
.catalog-toolbar__field input[type="search"] {
  width: 100%;
  min-width: 0;
  height: var(--control-h, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0 0.75rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  background: #fff;
  color: var(--ink);
}
.catalog-toolbar__field select:focus,
.catalog-toolbar__field input[type="search"]:focus,
.catalog-search input[type="search"]:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.catalog-search input[type="search"] {
  flex: 1 1 18rem;
  min-width: 0;
  height: var(--control-h, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 1rem;
  font: inherit;
  font-size: 0.9rem;
  background: #fff;
  color: var(--ink);
}
.catalog-search__clear {
  flex-shrink: 0;
}
.catalog-search__link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--brand);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.catalog-list__empty {
  margin-top: 1rem;
}
.catalog-list .creator-filters {
  margin-top: 0;
}
.catalog-list .creator-grid,
.catalog-list .shop-grid {
  margin-top: 0.75rem;
}
[data-catalog-item][hidden] {
  display: none !important;
}
.creator-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}
.creator-filters__btn {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #57534e;
  text-decoration: none;
}
.creator-filters__btn:hover {
  background: #e8f0ec;
  color: var(--brand);
  text-decoration: none;
}
.creator-filters__btn.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}
.creator-filters__btn.is-active:hover {
  border-color: var(--brand-hover);
  background: var(--brand-hover);
  color: #fff;
}
html[data-theme="dark"] .catalog-search input[type="search"],
html[data-theme="dark"] .catalog-toolbar__field select,
html[data-theme="dark"] .catalog-toolbar__field input[type="search"] {
  background: var(--surface);
  border-color: var(--line);
  color: var(--brand-deep);
}
html[data-theme="dark"] .catalog-search input[type="search"]:focus,
html[data-theme="dark"] .catalog-toolbar__field select:focus,
html[data-theme="dark"] .catalog-toolbar__field input[type="search"]:focus {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
}
html[data-theme="dark"] .creator-filters__btn {
  background: var(--surface);
  border-color: var(--line);
  color: var(--muted);
}
.admin-msg-compose {
  margin-top: 1rem;
  max-width: 40rem;
}
.dash-page .dash-card--settings.admin-msg-compose .form-grid,
.dash-page .dash-card--settings.admin-msg-compose .admin-msg-form {
  width: 100%;
  max-width: 100%;
}
.admin-msg-form__top {
  gap: 0.45rem 0.65rem;
}
.admin-msg-users {
  display: grid;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fafaf9;
}
.admin-msg-users__toolbar {
  display: grid;
  gap: 0.45rem;
}
@media (min-width: 560px) {
  .admin-msg-users__toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(9rem, 11rem);
    align-items: end;
    gap: 0.5rem 0.65rem;
  }
}
.admin-msg-users__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.admin-msg-users__filters .creator-filters__btn {
  padding: 0.28rem 0.55rem;
  font-size: 0.75rem;
}
.admin-msg-users__search {
  display: grid;
  gap: 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 0;
}
.admin-msg-users__search input {
  min-height: 2rem;
  height: 2rem;
  font-size: 0.82rem;
}
.admin-msg-users__count {
  margin: 0;
  font-size: 0.78rem;
}
.admin-msg-users__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 11rem;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
}
.admin-msg-users__row {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.32rem 0.55rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 400;
  min-width: 0;
}
.admin-msg-users__row input[type="checkbox"] {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
}
.admin-msg-users__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.35rem;
  min-width: 0;
  line-height: 1.3;
}
.admin-msg-users__email {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--brand-deep);
  word-break: break-all;
}
.admin-msg-users__name,
.admin-msg-users__role {
  font-size: 0.76rem;
}
.admin-msg-users__dot {
  font-size: 0.76rem;
  user-select: none;
}
.admin-msg-users__row:hover {
  background: #f5f5f4;
}
.admin-msg-users__list li + li .admin-msg-users__row {
  border-top: 1px solid var(--line);
}
.admin-msg-attach__label,
.admin-msg-link > .admin-msg-attach__label {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-deep);
}
.admin-msg-attach__row,
.admin-msg-link__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.admin-msg-attach__preview {
  margin: 0.65rem 0 0;
  max-width: 16rem;
}
.admin-msg-attach__preview img {
  width: 100%;
  height: auto;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
}
.admin-msg-link__card {
  margin-top: 0.75rem;
  pointer-events: none;
}
.dash-section-label.dash-section-label--in-card {
  margin: 0 0 0.55rem;
  padding: 0;
}
.dash-payments-overview {
  padding: 0.85rem 1.25rem 0;
}
.dash-stats--payout.dash-stats--payments-admin {
  margin-top: 0;
  padding: 0 0 1.1rem;
}
.dash-stats--payments-admin .dash-stat {
  min-height: 6.25rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #fff 0%, #fafaf9 100%);
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
}
.dash-stats--payments-admin .dash-stat__label {
  font-size: 0.72rem;
  letter-spacing: 0.055em;
}
.dash-stats--payments-admin .dash-stat__value {
  margin-top: 0.55rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem) !important;
  line-height: 1.05;
}
.dash-stats--payments-admin .dash-stat__value--pay-in { color: #047857; }
.dash-stats--payments-admin .dash-stat__value--pay-out { color: #b45309; }
.dash-stats--payments-admin-5 {
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
}
@media (min-width: 1100px) {
  .dash-stats--payments-admin-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.dash-stats--payments-admin .dash-stat__hint {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}
.table--payments .table-cell--num { text-align: right; font-variant-numeric: tabular-nums; }
.table--payments th.table-cell--num { text-align: right; }
.table--payments {
  font-size: 0.92rem;
}
.table--payments th {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.table--payments td {
  vertical-align: top;
  line-height: 1.45;
  word-break: break-word;
}
.pay-cell-date {
  white-space: nowrap;
  font-size: 0.9rem;
  color: var(--brand-deep);
  min-width: 5.5rem;
}
.pay-cell-type {
  min-width: 8.5rem;
  max-width: 11rem;
}
.pay-type {
  display: inline-block;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  border: 1px solid transparent;
}
.pay-type--in {
  color: #065f46;
  background: color-mix(in srgb, #047857 12%, #fff);
  border-color: color-mix(in srgb, #047857 28%, var(--line));
}
.pay-type--out {
  color: #92400e;
  background: color-mix(in srgb, #b45309 12%, #fff);
  border-color: color-mix(in srgb, #b45309 28%, var(--line));
}
.pay-cell-amount {
  font-size: 1rem !important;
  font-weight: 700;
  white-space: nowrap;
  min-width: 6.5rem;
}
.pay-cell-docs {
  min-width: 6.5rem;
  max-width: 9rem;
}
.pay-doc-text {
  font-size: 0.88rem;
  color: var(--muted);
}
.pay-doc-link {
  font-size: 0.82rem !important;
  padding: 0.28rem 0.55rem !important;
}
.pay-cell-detail {
  font-size: 0.9rem;
  color: #44403c;
  min-width: 12rem;
  max-width: 22rem;
}
.dash-scroll--payments {
  padding-bottom: 0.5rem;
}
.pay-amount--in { color: #047857; }
.pay-amount--out { color: #b45309; }
html[data-theme="dark"] .pay-cell-detail {
  color: var(--text);
}
html[data-theme="dark"] .pay-type--in {
  color: #a7f3d0;
  background: color-mix(in srgb, var(--brand) 22%, var(--surface));
}
html[data-theme="dark"] .dash-stats--payments-admin .dash-stat {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-muted) 100%);
}
.inbox-msg__text {
  white-space: pre-wrap;
}
.inbox-list {
  display: flex;
  flex-direction: column;
}
.inbox-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.inbox-list__item:last-child {
  border-bottom: 0;
}
.inbox-list__item:hover {
  background: color-mix(in srgb, var(--brand) 6%, var(--surface));
}
.inbox-list__item.is-unread .inbox-list__subject {
  font-weight: 800;
  color: var(--brand-deep);
}
.inbox-list__main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}
.inbox-list__subject {
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inbox-list__meta {
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inbox-list__dot {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--brand);
}
.inbox-detail__body {
  padding: 1rem 1.25rem 1.35rem;
}
.inbox-welcome {
  margin-top: 0.35rem;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: 0.95rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(1, 26, 20, 0.04);
}
.inbox-welcome__hero {
  padding: 1.1rem 1.2rem 1rem;
  background:
    radial-gradient(ellipse at top left, color-mix(in srgb, var(--brand) 18%, transparent) 0%, transparent 55%),
    linear-gradient(135deg, #ecf4f0 0%, #f7faf8 55%, #fff 100%);
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
}
.inbox-welcome__brand {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.inbox-welcome__hello {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.inbox-welcome__lead {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #44403c;
  max-width: 36rem;
}
.inbox-welcome__body {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1.2rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #292524;
}
.inbox-welcome__body > p { margin: 0; }
.inbox-welcome__list {
  margin: 0;
  padding: 0.65rem 0.85rem;
  list-style: none;
  border-radius: 0.7rem;
  background: color-mix(in srgb, var(--brand) 5%, #f8faf9);
  border: 1px solid color-mix(in srgb, var(--brand) 12%, var(--line));
}
.inbox-welcome__list li {
  position: relative;
  padding: 0.25rem 0 0.25rem 1.05rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #3f3f46;
}
.inbox-welcome__list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.7rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--brand);
}
.inbox-welcome__sign {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
}
html[data-theme="dark"] .inbox-welcome {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
}
html[data-theme="dark"] .inbox-welcome__hero {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 22%, var(--surface)) 0%, var(--surface) 100%);
}
html[data-theme="dark"] .inbox-welcome__lead,
html[data-theme="dark"] .inbox-welcome__body,
html[data-theme="dark"] .inbox-welcome__list li {
  color: var(--foreground);
}
html[data-theme="dark"] .inbox-welcome__list {
  background: color-mix(in srgb, var(--brand) 12%, var(--surface));
}
.inbox-msg__figure {
  margin: 0.75rem 0 0;
}
.inbox-msg__figure img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
}
.inbox-msg__link {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fafaf9;
  color: inherit;
  text-decoration: none;
}
.inbox-msg__link:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}
.inbox-msg__link-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.55rem;
}
.inbox-msg__link-body {
  display: grid;
  gap: 0.2rem;
  align-content: center;
  min-width: 0;
}
.inbox-msg__link-title {
  font-size: 0.92rem;
  color: var(--brand-deep);
}
.inbox-msg__link-desc,
.inbox-msg__link-url {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}
html[data-theme="dark"] .admin-msg-users,
html[data-theme="dark"] .inbox-msg__link {
  background: var(--surface-muted);
}
html[data-theme="dark"] .admin-msg-users__list {
  background: var(--surface);
}
.creator-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
}
@media (min-width: 640px) {
  .creator-grid { grid-template-columns: 1fr 1fr; gap: 1.15rem; }
}
@media (min-width: 1024px) {
  .creator-grid { grid-template-columns: repeat(4, 1fr); }
}
.creator-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(20, 32, 26, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.creator-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: 0 10px 24px rgba(28, 25, 23, 0.08);
  text-decoration: none;
}
.creator-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #d1fae5, #f0fdfa, #f5f5f4);
}
.creator-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}
.creator-card:hover .creator-card__media img { transform: scale(1.05); }
.creator-card__initials {
  display: grid;
  place-items: center;
  height: 100%;
  font-family: var(--font-display);
  font-size: 3rem;
  color: color-mix(in srgb, var(--brand) 40%, transparent);
  transition: color 0.2s ease;
}
.creator-card:hover .creator-card__initials {
  color: color-mix(in srgb, var(--brand) 60%, transparent);
}
.creator-card__overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--brand) 15%, transparent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.creator-card:hover .creator-card__overlay { opacity: 1; }
.creator-card__price {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  border-radius: 0.4rem;
  background: color-mix(in srgb, var(--brand) 90%, transparent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
}
.creator-card:hover .creator-card__price { background: var(--brand-hover); }
.creator-card__body { padding: 1rem; display: grid; gap: 0.4rem; }
.creator-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.creator-card__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 650;
  color: #1c1917;
  transition: color 0.15s ease;
}
.creator-card:hover .creator-card__title { color: var(--brand); }
.creator-card__country { font-size: 0.875rem; color: var(--muted); flex-shrink: 0; }
.creator-card__meta { margin: 0; font-size: 0.95rem; color: var(--muted); }
.creator-card__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.creator-card__tags span {
  border-radius: 0.3rem;
  background: #f5f5f4;
  padding: 0.2rem 0.45rem;
  font-size: 0.8rem;
  color: #57534e;
}
.creator-card__promo { margin: 0; font-size: 0.9rem; color: #57534e; }

/* —— Why atmosphere —— */
.section--why { position: relative; isolation: isolate; overflow: hidden; }
.section--why__atm {
  pointer-events: none;
  position: absolute;
  inset: -10% -5% auto;
  height: 18rem;
  background:
    radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 55%),
    radial-gradient(ellipse at 80% 10%, color-mix(in srgb, #0a5c56 10%, transparent), transparent 50%);
  z-index: 0;
}
.section--why > .wrap { position: relative; z-index: 1; }

/* —— Admin tools —— */
.dash-section-label {
  margin: 1.75rem 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.admin-tools { margin-top: 0.35rem; }

/* Admin: nová krajina — jeden riadok */
.ship-add-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.65rem 0.75rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}
.ship-add-row label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #44403c;
  min-width: 0;
  overflow: visible;
}
.ship-add-row input {
  width: 100%;
  margin: 0;
  min-width: 0;
  max-width: 100%;
}
.ship-add-row__code { flex: 0 1 4.5rem; }
.ship-add-row__name { flex: 1 1 10rem; min-width: min(100%, 8rem); }
.ship-add-row__price,
.ship-add-row__free { flex: 1 1 6.5rem; max-width: 8rem; }
.ship-add-row__btn {
  flex: 0 0 auto;
  align-self: end;
  white-space: nowrap;
}
.ship-add-row .info-tip {
  width: min(18rem, calc(100vw - 2.5rem));
  max-width: min(18rem, calc(100vw - 2.5rem));
}
.ship-add-row__price .info-tip,
.ship-add-row__free .info-tip {
  left: auto;
  right: 0;
}
@media (min-width: 960px) {
  .ship-add-row { flex-wrap: nowrap; }
  .ship-add-row__price,
  .ship-add-row__free { flex: 0 0 6.5rem; max-width: none; }
}
.ship-active-check {
  width: 1rem;
  height: 1rem;
  margin: 0;
  cursor: pointer;
  accent-color: var(--brand);
  vertical-align: middle;
}
@media (min-width: 960px) {
  .dash-hub.admin-tools {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 0.4rem;
  }
}
.admin-tools .dash-hub__card {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  min-width: 0;
}
@media (min-width: 960px) {
  .admin-tools .dash-hub__card { flex: 1 1 0; }
}
.admin-tools .dash-hub__card h2 {
  margin: 0;
  font-size: 0.85rem;
  white-space: nowrap;
}
.admin-tools .dash-hub__card p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.9;
}
.dash-hub__card--accent {
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
  background: var(--brand);
  color: #fff;
}
.dash-hub__card--accent h2 {
  color: #fff;
  font-family: var(--font-sans);
}
.dash-hub__card--accent p { color: rgba(255, 255, 255, 0.85); }
.dash-hub__card--accent:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}
button.dash-hub__card {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.dash-stats--click { margin-top: 0.35rem; }
.dash-stats--click .dash-stat {
  cursor: pointer;
  text-align: left;
  font: inherit;
  width: 100%;
}
.dash-stats--click .dash-stat:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  background: color-mix(in srgb, var(--brand) 4%, white);
}
.dash-stats--dash {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}
@media (min-width: 640px) {
  .dash-stats--dash { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .dash-stats--dash { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
.dash-stats--dash .dash-stat {
  padding: 0.65rem 0.55rem;
  min-width: 0;
}
.dash-stats--dash .dash-stat__label {
  font-size: 0.65rem;
  letter-spacing: 0.03em;
}
.dash-stats--dash .dash-stat__value {
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  margin-top: 0.35rem;
}
/* Súhrn výplat (influencer) — 4 rovnaké dlaždice, zarovnané sumy */
.dash-stats--payout {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0 1.25rem 1.25rem;
}
@media (min-width: 720px) {
  .dash-stats--payout { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.dash-stats--payout .dash-stat {
  display: flex;
  flex-direction: column;
  min-height: 5.5rem;
  padding: 0.85rem 1rem;
}
.dash-stats--payout .dash-stat__label {
  flex: 1 1 auto;
  min-height: 2.6em;
  margin: 0;
  line-height: 1.3;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  display: block;
}
.dash-stats--payout .dash-stat__value {
  flex: 0 0 auto;
  margin: 0.45rem 0 0;
  font-size: 1.35rem;
  line-height: 1.1;
}
.dash-stats--payout .dash-stat__value--money {
  font-size: 1.35rem !important;
}
.dash-card__head--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.dash-card__head--stack p {
  max-width: 40rem;
  line-height: 1.45;
}
.dash-card--payout-summary .payout-summary-empty {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: left;
}
.dash-stats--payout--inline {
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dash-stats--promos-summary {
  margin: 0 1.25rem 1rem;
  gap: 0.5rem;
}
.dash-stats--one-row-4,
.dash-stats--promos-summary.dash-stats--payout {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dash-stats--one-row-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.dash-stats--promos-summary .dash-stat,
.dash-stats--one-row-4 .dash-stat,
.dash-stats--one-row-5 .dash-stat {
  min-height: 4.75rem;
}
.dash-stats--promos-summary .dash-stat {
  padding: 0.75rem 0.65rem;
}
.dash-stats--one-row-5 .dash-stat {
  padding: 0.85rem 0.65rem;
}
.dash-stats--one-row-5 .dash-stat__label {
  font-size: 0.68rem;
  letter-spacing: 0.045em;
}
.dash-stats--loading .dash-stat__value {
  opacity: 0.45;
}
.dash-stats--loading .dash-stat__value::after {
  content: '';
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-left: 0.2em;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  animation: dash-stat-pulse 0.9s ease-in-out infinite;
}
@keyframes dash-stat-pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.55; }
}
.dash-stats--promos-summary .dash-stat__label {
  min-height: auto;
  font-size: 0.65rem;
}
@media (max-width: 899px) {
  .dash-stats--one-row-4,
  .dash-stats--promos-summary,
  .dash-stats--one-row-5 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .dash-stats--one-row-4 .dash-stat,
  .dash-stats--promos-summary .dash-stat,
  .dash-stats--one-row-5 .dash-stat {
    flex: 1 0 7.25rem;
    min-width: 7.25rem;
  }
}
.dash-stat__value--money {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem) !important;
  letter-spacing: -0.02em;
}
.dash-dash-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
@media (min-width: 900px) {
  .dash-dash-grid { grid-template-columns: 1fr 1fr; }
}
.dash-dash-grid .dash-card { margin-top: 0; }
.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  height: 9.5rem;
  padding: 0.15rem 0 0;
}
.dash-chart__col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  height: 100%;
}
.dash-chart__bar-wrap {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.dash-chart__bar {
  width: 70%;
  max-width: 1.35rem;
  min-height: 4px;
  border-radius: 0.3rem 0.3rem 0.1rem 0.1rem;
  background: color-mix(in srgb, var(--brand) 75%, #1c1917);
}
.dash-chart__bar--rev {
  background: color-mix(in srgb, var(--brand) 45%, #ca8a04);
}
.dash-chart__label {
  font-size: 0.58rem;
  color: #a8a29e;
  line-height: 1;
  white-space: nowrap;
}

/* Mesačný kalendár (štýl ako Habenko) */
.dash-card--month {
  margin-top: 0.75rem;
}
.dash-month-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.65rem;
}
.dash-month-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
}
.dash-month-sub {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  color: #78716c;
  text-transform: capitalize;
}
.dash-metric-toggle {
  display: inline-flex;
  gap: 0.3rem;
  flex-shrink: 0;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #f5f5f4;
}
.dash-metric-toggle button {
  border: 0;
  border-radius: 0.5rem;
  padding: 0.35rem 0.8rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: #57534e;
  background: transparent;
  cursor: pointer;
}
.dash-metric-toggle button.is-active {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.08);
}
.dash-month-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.dash-month-nav,
.dash-month-preset {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  color: #44403c;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
}
.dash-month-nav {
  width: 2rem;
  height: 2rem;
  padding: 0;
  line-height: 1;
  font-size: 1.15rem;
}
.dash-month-preset {
  padding: 0.35rem 0.75rem;
}
.dash-month-preset.is-active {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  background: color-mix(in srgb, var(--brand) 8%, white);
  color: var(--brand-deep);
}
.dash-month-wrap {
  min-width: 0;
  max-width: 100%;
}
.dash-month-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
  width: 100%;
}
.dash-month-weekday {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #78716c;
  text-align: center;
  padding: 0.25rem 0 0.35rem;
  border-bottom: 1px solid var(--line);
}
.dash-month-weekday.is-weekend { color: #b91c1c; }
.dash-month-cell {
  position: relative;
  min-height: 4.1rem;
  min-width: 0;
  border-radius: 0.55rem;
  border: 1px solid var(--line);
  background: #fafaf9;
  padding: 0.35rem 0.4rem 0.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-sizing: border-box;
}
.dash-month-cell:hover:not(.dash-month-cell--empty) {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  filter: brightness(1.02);
}
.dash-month-cell--empty {
  background: transparent;
  border-color: transparent;
  pointer-events: none;
  min-height: 0;
}
.dash-month-cell--has-data {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, white), color-mix(in srgb, var(--brand) 5%, white));
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}
.dash-month-cell--has-data.is-revenue {
  background: linear-gradient(135deg, color-mix(in srgb, #ca8a04 18%, white), color-mix(in srgb, #ca8a04 5%, white));
  border-color: color-mix(in srgb, #ca8a04 40%, var(--line));
}
.dash-month-cell--today {
  outline: 2px solid var(--brand-deep);
  outline-offset: -2px;
}
.dash-month-cell-head {
  display: flex;
  justify-content: flex-end;
  font-size: 0.78rem;
  font-weight: 800;
  color: #1c1917;
  line-height: 1;
}
.dash-month-cell.is-weekend .dash-month-cell-head { color: #b91c1c; }
.dash-month-cell-value {
  font-size: 0.78rem;
  font-weight: 800;
  color: #1c1917;
  text-align: center;
  line-height: 1.1;
  margin-top: 0.15rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-month-cell-value.is-empty {
  color: #a8a29e;
  opacity: 0.7;
  font-weight: 500;
  font-size: 0.72rem;
}
.dash-month-cell-bar {
  height: 4px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--brand) 75%, #1c1917);
  margin-top: 0.3rem;
  max-width: 100%;
}
.dash-month-cell-bar.is-revenue {
  background: color-mix(in srgb, var(--brand) 40%, #ca8a04);
}
.dash-month-cell-bar.is-empty {
  background: var(--line);
  opacity: 0.35;
  width: 0 !important;
}
@media (max-width: 639px) {
  .dash-month-cell { min-height: 3.4rem; padding: 0.28rem 0.3rem; }
  .dash-month-cell-value { font-size: 0.68rem; }
  .dash-month-cell-head { font-size: 0.7rem; }
}

.dash-status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.dash-status-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.65rem;
  align-items: baseline;
  padding: 0.4rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  font-size: 0.875rem;
}
.dash-status-list li:last-child { border-bottom: 0; }
.dash-status-list__name { color: #44403c; }
.dash-status-list__count {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--brand-deep);
  min-width: 1.5rem;
  text-align: right;
}
.dash-status-list__sum {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #57534e;
  min-width: 4.5rem;
  text-align: right;
}
.dash-pie-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
}
.dash-pie-pair {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .dash-pie-pair { grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; }
}
.dash-pie {
  width: 8.75rem;
  height: 8.75rem;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  box-shadow: inset 0 0 0 0.55rem #fff;
  background: #e7e5e4;
}
.dash-pie--sm {
  width: 6.5rem;
  height: 6.5rem;
  box-shadow: inset 0 0 0 0.4rem #fff;
}
.dash-pie-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 10rem;
  min-width: 0;
  display: grid;
  gap: 0.28rem;
}
.dash-pie-legend li {
  display: grid;
  grid-template-columns: 0.7rem minmax(0, 1fr) auto auto;
  gap: 0.35rem 0.45rem;
  align-items: center;
  font-size: 0.8rem;
}
.dash-pie-legend__swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 0.15rem;
}
.dash-pie-legend__name {
  color: #44403c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-pie-legend__count {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #1c1917;
}
.dash-pie-legend__pct {
  font-variant-numeric: tabular-nums;
  color: #78716c;
  min-width: 2.4rem;
  text-align: right;
}

/* —— Shop storefront (Next parity) —— */
.shop-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  color: #ecfdf5;
}
.shop-hero__bg {
  position: absolute;
  inset: 0;
  background: #011a14;
  z-index: 0;
}
.shop-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.shop-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #011a14 0%, rgba(1,26,20,0.85) 45%, rgba(1,26,20,0.55) 100%);
}
.shop-hero__inner {
  position: relative;
  z-index: 1;
  padding: 3rem 1.25rem 3.5rem;
}
@media (min-width: 640px) {
  .shop-hero__inner { padding: 4rem 1.5rem; }
}
.shop-hero__back {
  color: rgba(167, 243, 208, 0.9);
  font-size: 0.875rem;
  text-decoration: none;
}
.shop-hero__back:hover { color: #fff; text-decoration: none; }
.shop-hero__eyebrow {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6ee7b7;
}
.shop-hero__title {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.shop-hero__seller {
  margin: 0.5rem 0 0;
  color: rgba(209, 250, 229, 0.9);
  font-size: 0.95rem;
}
.shop-hero__desc {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: rgba(236, 253, 245, 0.9);
  font-size: 1.05rem;
  line-height: 1.65;
}
.shop-hero__promo {
  margin: 1rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 0.55rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  color: #ecfdf5;
}

.shop-catalog { padding-top: 2rem; }
.section h2.shop-catalog__title,
.shop-catalog__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--brand-deep);
}
.shop-catalog__count { margin: 0.25rem 0 0; font-size: 0.875rem; color: #57534e; }
.shop-edit-form__media { display: grid; gap: 0.35rem; align-content: start; }
.shop-product .shop-product__title {
  font-family: var(--font-sans);
  font-weight: 650;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-pill--solid {
  background: var(--brand);
  color: #fff;
}
.btn-pill--solid:hover {
  background: var(--brand-hover);
  color: #fff;
  text-decoration: none;
}
.btn-pill--ghost {
  background: #fff;
  border-color: var(--line);
  color: #44403c;
}
.btn-pill--ghost:hover {
  background: #e8f0ec;
  text-decoration: none;
}
.btn-pill--danger {
  background: #fff;
  border-color: #fecaca;
  color: #b91c1c;
}
.btn-pill--danger:hover {
  background: #fef2f2;
  border-color: #f87171;
  text-decoration: none;
}
.table-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.table-actions .btn-pill {
  flex: 0 0 auto;
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
  white-space: nowrap;
}
/* Promo kódy — zarovnané sumy, výplata, akcie */
.table--promos .table-cell--num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.table--promos th.table-cell--num { text-align: right; }
.table--promos .table-cell--num .table-input--num {
  margin-left: auto;
  text-align: right;
}
.table--promos .table-cell--strong { font-weight: 600; }
.table--promos .table-cell--center {
  text-align: center;
  white-space: nowrap;
}
.table--promos th.table-cell--center { text-align: center; }
.table--promos .table-cell--actions,
.table--promos th.table-cell--actions {
  text-align: right;
  white-space: nowrap;
}
.table--promos .table-cell--payout {
  min-width: 9.5rem;
  white-space: nowrap;
}
.table-payout {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}
.table-payout__amount {
  font-size: 0.8125rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--brand-deep);
  line-height: 1.2;
}
.table-payout__sub {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.table-select {
  max-width: 9.5rem;
  height: 2rem;
  padding: 0 0.4rem;
  font-size: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #fff;
}
.table-input {
  width: 100%;
  min-width: 5.5rem;
  max-width: 10rem;
  height: 2rem;
  padding: 0 0.45rem;
  font-size: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #fff;
}
.table-input--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0.02em;
  max-width: 8.5rem;
}
.table-input--num {
  max-width: 4.5rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.table tr.is-muted td {
  opacity: 0.62;
}
.order-detail__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: #fafaf9;
}
.order-detail__body {
  padding-bottom: 0;
}
.order-detail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 0.25rem;
  padding: 1rem 1.25rem 1.35rem;
  border-top: 1px solid var(--line);
  background: #fafaf9;
}
.order-detail__actions .btn-pill {
  min-height: 2.65rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  border-radius: 0.65rem;
}
@media (max-width: 640px) {
  .order-detail__actions {
    justify-content: stretch;
  }
  .order-detail__actions .btn-pill {
    flex: 1 1 auto;
    justify-content: center;
  }
}
.order-detail__meta {
  padding: 0.85rem 1.25rem 0.5rem;
}
.order-detail__id {
  margin: 0 0 0.45rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 650;
  color: #78716c;
  word-break: break-all;
}
.order-detail__number {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  color: #57534e;
  line-height: 1.4;
  word-break: break-all;
}
.order-detail__number strong {
  display: inline;
  font-weight: 750;
  color: #1c1917;
  font-variant-numeric: tabular-nums;
}
.order-facts-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #1c1917;
}
.order-facts-inline .order-facts__date {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.order-facts-inline .order-facts__status {
  font-weight: 800;
  color: var(--brand-deep);
}
.order-facts-inline .order-facts__pay {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: #57534e;
}
.order-facts-inline .order-facts__total {
  font-weight: 800;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
  color: var(--brand-deep);
}
.order-facts-inline .order-facts__dot {
  color: #a8a29e;
  font-weight: 500;
}
.order-detail__grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem 0.75rem;
}
.order-detail__grid--buyer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: start;
}
@media (min-width: 720px) {
  .order-detail__grid--buyer {
    grid-template-columns: minmax(14rem, 0.95fr) minmax(16rem, 1.15fr);
  }
  .order-detail__grid--buyer .order-panel--sellers {
    grid-column: 1 / -1;
  }
}
.order-panel {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--surface-soft);
  padding: 0.7rem 0.85rem 0.85rem;
  box-sizing: border-box;
}
.order-kv {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.order-kv__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  font-size: 0.88rem;
}
.order-kv__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.order-kv__row:first-child {
  padding-top: 0;
}
.order-kv__row dt {
  margin: 0;
  color: #78716c;
  font-weight: 500;
}
.order-kv__row dd {
  margin: 0;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: #1c1917;
}
.order-kv__row--total {
  margin-top: 0.15rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}
.order-kv__row--total dt,
.order-kv__row--total dd {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-deep);
}
.order-address {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.order-address__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1c1917;
}
.order-address__line {
  margin: 0;
  font-size: 0.88rem;
  color: #292524;
  line-height: 1.4;
}
.order-address__meta {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: #44403c;
  line-height: 1.4;
}
.order-panel--facts {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: color-mix(in srgb, var(--brand) 7%, var(--surface));
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
}
.order-panel--facts .order-facts__date {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: #44403c;
}
.order-panel--facts .order-facts__status {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.order-panel--facts .order-facts__pay {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #57534e;
}
.order-panel--facts .order-facts__total {
  margin: 0.25rem 0 0;
  font-size: 1.55rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--brand-deep);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.order-panel__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.5rem;
  min-height: 1.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-deep);
  flex: 0 0 auto;
}
.order-panel__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.75rem;
  align-content: start;
}
.order-panel__fields--3 {
  grid-template-columns: 1fr 1fr;
}
.order-panel__span2 { grid-column: 1 / -1; }
@media (max-width: 639px) {
  .order-panel__fields,
  .order-panel__fields--3 {
    grid-template-columns: 1fr;
  }
  .order-panel__span2 { grid-column: auto; }
}
@media (min-width: 900px) {
  .order-panel__fields--3 {
    grid-template-columns: 1.2fr 1fr 0.85fr;
  }
  .order-panel__fields--3 .order-panel__span2 {
    grid-column: span 2;
  }
}
.order-panel label {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  font-size: 0.72rem;
  color: #57534e;
}
.order-panel input,
.order-panel .table-select {
  min-height: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  font-size: 0.84rem;
  border-radius: 0.45rem;
  border: 1px solid var(--line);
  background: #fff;
  width: 100%;
  max-width: none;
}
.order-panel__static {
  display: block;
  min-height: 1.5rem;
  line-height: 1.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1c1917;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-panel__totals {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
  color: #1c1917;
}
.order-panel--sellers > .muted {
  margin-top: 0;
}
.seller-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  flex: 1 1 auto;
  align-content: start;
}
.seller-chip {
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #fff;
  height: 100%;
}
.seller-chip__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.seller-chip__top strong { font-size: 0.88rem; }
.order-detail__items {
  border-top: 1px solid var(--line);
  margin-top: 0.25rem;
}
.order-add-product {
  position: relative;
  padding: 0.75rem 1.25rem 1.15rem;
  border-top: 1px dashed var(--line);
  background: #fafaf9;
}
.order-add-product__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.order-add-product__label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-deep);
}
.order-add-product__search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
  align-items: center;
}
.order-add-product__search input[type="search"] {
  flex: 1 1 14rem;
  min-width: 0;
  max-width: 28rem;
  min-height: 2.15rem;
  padding: 0 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  font-size: 0.875rem;
  background: #fff;
}
.order-add-product input[type="search"] {
  width: 100%;
  max-width: 28rem;
  min-height: 2.15rem;
  padding: 0 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  font-size: 0.875rem;
}
.order-add-product__list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  max-width: 36rem;
  max-height: 14rem;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #fff;
}
.order-add-product__list button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  width: 100%;
  padding: 0.5rem 0.7rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.order-add-product__list li:last-child button { border-bottom: 0; }
.order-add-product__list button:hover { background: #f4f6f3; }

.shop-product-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}
@media (min-width: 640px) {
  .shop-product-grid { grid-template-columns: 1fr 1fr; gap: 1.15rem; }
}
@media (min-width: 1024px) {
  .shop-product-grid { grid-template-columns: repeat(4, 1fr); }
}
.shop-product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
  scroll-margin-top: 6rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.shop-product:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  box-shadow: 0 12px 28px rgba(28, 25, 23, 0.08);
}
.shop-product.is-inactive {
  border-style: dashed;
  border-color: #d6d3d1;
  opacity: 0.82;
}
.shop-product__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f4;
}
.shop-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.shop-product:hover .shop-product__media img { transform: scale(1.05); }
.shop-product__fallback {
  display: grid;
  place-items: center;
  height: 100%;
  background: linear-gradient(135deg, #ecfdf5, #f5f5f4);
  color: var(--muted);
  font-size: 0.875rem;
  padding: 1rem;
  text-align: center;
}
.shop-product__badge {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
}
.shop-product__badge--brand { background: var(--brand); }
.shop-product__badge--sale {
  left: auto;
  right: 0.5rem;
  background: #e11d48;
}
.shop-product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem 1.25rem 1.25rem;
}
.shop-product__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 650;
  color: #1c1917;
  transition: color 0.15s ease;
}
.shop-product:hover .shop-product__title { color: var(--brand); }
.shop-product__desc {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #57534e;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-product__foot { margin-top: auto; padding-top: 1rem; }
.shop-product__price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand-deep);
}
.shop-product__price s {
  margin-right: 0.4rem;
  font-size: 1rem;
  color: #a8a29e;
}
.shop-product__price .is-sale { color: #be123c; }
.shop-product__stock {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: #57534e;
}
.shop-product__variant {
  margin-top: 0.5rem;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.4rem 0.55rem;
  font: inherit;
  font-size: 0.875rem;
  background: #fff;
}
.shop-product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.shop-product__foot > .btn-pill,
.shop-product__foot > .card__cta-wrap,
.shop-product__foot > .shop-product__variant {
  margin-top: 0.85rem;
}
.shop-product__foot > .btn-pill { width: 100%; }
.shop-product__foot > .card__cta-wrap {
  width: 100%;
}

.shop-edit-form {
  margin: 0 0 1.75rem;
  display: grid;
  gap: 1rem;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line));
  border-radius: 1rem;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.05);
}
@media (min-width: 640px) {
  .shop-edit-form { grid-template-columns: 10rem minmax(0, 1fr); gap: 1.25rem; }
}
.shop-edit-form__photo {
  aspect-ratio: 1;
  width: 100%;
  border: 1px dashed color-mix(in srgb, var(--brand) 40%, var(--line));
  border-radius: 0.75rem;
  background: #f5f5f4;
  overflow: hidden;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.shop-edit-form__photo:hover {
  border-color: var(--brand);
  background: color-mix(in srgb, #ecfdf5 70%, white);
}
.shop-edit-form__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-edit-form__photo-hint {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
}
.shop-edit-form__photo-hint strong { color: var(--brand); font-size: 0.8rem; }
.shop-edit-form__remove {
  margin-top: 0.5rem;
  width: 100%;
  border: 0;
  background: none;
  color: #b91c1c;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: underline;
}
.shop-edit-form__fields { display: grid; gap: 0.75rem; }
.shop-edit-form__label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.shop-edit-form__fields > input,
.shop-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0 0.75rem;
  font: inherit;
  font-size: 0.875rem;
  background: #fff;
  min-height: var(--control-h);
  height: var(--control-h);
  line-height: 1.25;
  box-sizing: border-box;
}
.shop-edit-form__fields > textarea,
.shop-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.875rem;
  background: #fff;
  min-height: 4.25rem;
  height: auto;
  line-height: 1.4;
  box-sizing: border-box;
  resize: vertical;
}
.shop-field { display: grid; gap: 0.3rem; font-size: 0.75rem; font-weight: 600; color: #57534e; }
.shop-edit-form__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.shop-edit-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.shop-manage-bar {
  background: var(--brand);
  color: #fff;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 70%, black);
}
.shop-manage-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}
.shop-manage-bar__inner p { margin: 0; font-size: 0.875rem; }
.shop-manage-bar__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.shop-manage-bar__actions a {
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,0.15);
}
.shop-manage-bar__actions a:hover { background: rgba(255,255,255,0.28); text-decoration: none; }
.shop-manage-bar__primary {
  background: #fff !important;
  color: var(--brand-deep) !important;
}
.shop-manage-toolbar {
  margin: 0 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

/* —— Creator public profile (Next parity) —— */
.creator-profile { max-width: 56rem; }
.creator-profile__back {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--brand);
  text-decoration: none;
}
.creator-profile__back:hover { text-decoration: underline; }
.creator-profile__grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .creator-profile__grid { grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem; }
}
.creator-profile__avatar {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(135deg, #ecfdf5, #f5f5f4);
}
.creator-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.creator-profile__initials {
  display: grid;
  place-items: center;
  height: 100%;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: color-mix(in srgb, var(--brand) 40%, transparent);
}
.creator-profile__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  color: var(--brand-deep);
  letter-spacing: -0.02em;
}
.creator-profile__meta {
  margin: 0.5rem 0 0;
  color: #57534e;
  font-size: 0.95rem;
}
.creator-profile__bio {
  margin: 1rem 0 0;
  color: #44403c;
  white-space: pre-wrap;
  line-height: 1.55;
}
.creator-profile__social { margin-top: 1.5rem; }
.creator-profile__social h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.creator-profile__social ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.creator-profile__social li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  font-size: 0.875rem;
}
.creator-profile__platform { font-weight: 600; color: #292524; }
.creator-profile__social a { color: var(--brand); }
.creator-profile__cta { margin-top: 1.5rem; }
.creator-profile__section { margin-top: 3rem; }
.creator-profile__section > h2,
.section .creator-profile__section > h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand-deep);
}
.section h1.creator-profile__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  color: var(--brand-deep);
}
.creator-package-grid {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .creator-package-grid { grid-template-columns: 1fr 1fr; }
}
.creator-package {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
  padding: 1rem;
}
.creator-package__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.creator-package__head h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: #1c1917;
}
.creator-package__head span {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--brand);
}
.creator-package p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: #57534e;
  line-height: 1.45;
}
.creator-package > a {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
}
.creator-reviews {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.creator-reviews li {
  border-top: 1px solid var(--line);
  padding: 1rem 0 0;
  margin-top: 1rem;
}
.creator-reviews__head {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}
.creator-reviews p:not(.creator-reviews__head) {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: #57534e;
}

.dash-social-card {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fafaf9;
  padding: 0.85rem;
  display: grid;
  gap: 0.65rem;
}
.dash-social-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem;
}
.dash-social-card__platform { flex: 1; min-width: 10rem; }
.dash-social-card__remove {
  align-self: end;
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  color: #b91c1c;
  border-color: #fecaca;
}
.dash-social-card__grid {
  display: grid;
  gap: 0.55rem;
}
@media (min-width: 640px) {
  .dash-social-card__grid { grid-template-columns: minmax(0, 1.2fr) 7.5rem minmax(0, 1.6fr); }
  .dash-social-card__url { grid-column: auto; }
}
.dash-social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

/* —— Product detail page —— */
.product-detail { max-width: 64rem; }
.product-detail__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #78716c;
  margin-bottom: 1.5rem;
}
.product-detail__nav a {
  color: var(--brand);
  text-decoration: none;
}
.product-detail__nav a:hover { text-decoration: underline; }
.product-detail__grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 768px) {
  .product-detail__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}
.product-detail__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: #f5f5f4;
}
.product-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-detail__fallback {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  background: linear-gradient(135deg, #ecfdf5, #f5f5f4);
}
.product-detail__badge {
  position: absolute;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.product-detail__badge--sale {
  top: 0.75rem;
  right: 0.75rem;
  background: #e11d48;
  color: #fff;
}
.product-detail__badge--service {
  left: 0.75rem;
  bottom: 0.75rem;
  background: rgba(255,255,255,0.95);
  color: var(--brand-deep);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
}
.product-detail__shop {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
}
.product-detail__shop:hover { text-decoration: underline; }
.product-detail__title {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--brand-deep);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section h1.product-detail__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--brand-deep);
}
.product-detail__price {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--brand-deep);
}
.product-detail__price s {
  margin-right: 0.5rem;
  font-size: 1.15rem;
  color: #a8a29e;
}
.product-detail__price .is-sale { color: #be123c; }
.product-detail__meta {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: #57534e;
}
.product-detail__desc {
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #44403c;
  white-space: pre-wrap;
}
.product-detail__buy {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
  max-width: 22rem;
}
.product-detail__variant {
  display: grid;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #57534e;
}
.product-detail__variant select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0 0.75rem;
  font: inherit;
  background: #fff;
  min-height: var(--control-h);
  height: var(--control-h);
  line-height: 1.25;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.product-detail__cta {
  width: 100%;
  padding: 0.7rem 1.1rem;
  font-size: 0.95rem;
}
.product-detail__more {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
}
.product-detail__more a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.product-detail__more a:hover { text-decoration: underline; }

/* —— Seller hub activity —— */
.dash-stat__hint {
  margin: 0.25rem 0 0;
  font-size: 0.7rem;
  color: #78716c;
  line-height: 1.3;
}
a.dash-stat {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
a.dash-stat:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  box-shadow: 0 6px 18px rgba(28, 25, 23, 0.06);
  text-decoration: none;
}
.dash-hub__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.35rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: middle;
}
.dash-activity {
  margin: 1.25rem 0 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  overflow: hidden;
}
.dash-activity__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: #fafaf9;
}
.dash-activity__head h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-deep);
}
.dash-page .dash-activity__head h2 {
  font-family: var(--font-sans);
  font-weight: 700;
}
.dash-activity__head a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.dash-activity__head a:hover { text-decoration: underline; }
.dash-activity__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dash-activity__list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  border-top: 1px solid var(--line);
}
.dash-activity__list li:first-child { border-top: 0; }
.dash-activity__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 650;
  color: #1c1917;
}
.dash-activity__meta {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: #78716c;
  line-height: 1.4;
}
.dash-activity--empty {
  padding: 1rem 1.15rem;
  font-size: 0.875rem;
  color: #78716c;
}
.dash-activity--empty p { margin: 0; }

/* —— Dark mode (default = light) —— */
html[data-theme="dark"] {
  color-scheme: dark;
  --background: #0c1210;
  --foreground: #e7eee9;
  --brand-deep: #b7f0d4;
  --brand-deep-bg: #011a14;
  --brand-hover: color-mix(in srgb, #2dd4bf 55%, #5eead4);
  --accent: #2dd4bf;
  --surface: #151c19;
  --surface-soft: #1a2320;
  --surface-muted: #1e2824;
  --muted: #c5d0c9;
  --line: #2c3a34;
  --body-grad-1: #12352b;
  --body-grad-2: #0c1210;
  --body-grad-3: #090d0b;
  --input-bg: #1a2320;
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] a { color: #5eead4; }
html[data-theme="dark"] a:hover { color: #99f6e4; }

html[data-theme="dark"] .muted,
html[data-theme="dark"] .dash-page__lead,
html[data-theme="dark"] .dash-card__head p,
html[data-theme="dark"] .dash-card__head--inline p,
html[data-theme="dark"] .page-lead,
html[data-theme="dark"] label {
  color: var(--muted);
}

html[data-theme="dark"] .page-title,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3 {
  color: var(--brand-deep);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .table-select,
html[data-theme="dark"] .table-input {
  background: var(--input-bg);
  color: var(--foreground);
  border-color: var(--line);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #7d8c84;
}

/* Surfaces / cards */
html[data-theme="dark"] .dash-card,
html[data-theme="dark"] .login-card,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .atype-form,
html[data-theme="dark"] .cart-summary,
html[data-theme="dark"] .cart-checkout,
html[data-theme="dark"] .shop-edit-form,
html[data-theme="dark"] .empty-panel,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .creator-card,
html[data-theme="dark"] .board-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .shop-card,
html[data-theme="dark"] .dash-hub__card,
html[data-theme="dark"] .dash-activity,
html[data-theme="dark"] .home-entry,
html[data-theme="dark"] .section-panel,
html[data-theme="dark"] .wrap > .panel {
  background: var(--surface);
  border-color: var(--line);
  color: var(--foreground);
  box-shadow: var(--card-shadow);
}

/* Registrácia — výber typu účtu (tmavý režim) */
html[data-theme="dark"] .atype-group {
  background: var(--surface-soft);
  border-color: var(--line);
}
html[data-theme="dark"] .atype-group--buy {
  background: color-mix(in srgb, var(--brand) 18%, var(--surface));
  border-color: color-mix(in srgb, #5eead4 35%, var(--line));
}
html[data-theme="dark"] .atype-group--sell {
  background: color-mix(in srgb, #b45309 16%, var(--surface));
  border-color: color-mix(in srgb, #fb923c 32%, var(--line));
}
html[data-theme="dark"] .atype-group--inf {
  background: color-mix(in srgb, #0e7490 16%, var(--surface));
  border-color: color-mix(in srgb, #22d3ee 30%, var(--line));
}
html[data-theme="dark"] .atype-group--buy .atype-group__label { color: #5eead4; }
html[data-theme="dark"] .atype-group--sell .atype-group__label { color: #fdba74; }
html[data-theme="dark"] .atype-group--inf .atype-group__label { color: #67e8f9; }

html[data-theme="dark"] .atype-card,
html[data-theme="dark"] .atype-group--buy .atype-card,
html[data-theme="dark"] .atype-group--sell .atype-card,
html[data-theme="dark"] .atype-group--inf .atype-card {
  background: var(--surface);
  border-color: var(--line);
  color: var(--foreground);
  box-shadow: var(--card-shadow);
}
html[data-theme="dark"] .atype-card:hover,
html[data-theme="dark"] .atype-group--buy .atype-card:hover,
html[data-theme="dark"] .atype-group--sell .atype-card:hover,
html[data-theme="dark"] .atype-group--inf .atype-card:hover {
  border-color: color-mix(in srgb, #5eead4 45%, var(--line));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .atype-group--sell .atype-card:hover {
  border-color: color-mix(in srgb, #fb923c 50%, var(--line));
}
html[data-theme="dark"] .atype-group--inf .atype-card:hover {
  border-color: color-mix(in srgb, #22d3ee 45%, var(--line));
}

html[data-theme="dark"] .atype-card__title,
html[data-theme="dark"] .atype-group .atype-card__title {
  color: #ecfdf5;
}
html[data-theme="dark"] .atype-card__q {
  color: #5eead4;
}
html[data-theme="dark"] .atype-group--sell .atype-card__q {
  color: #fdba74;
}
html[data-theme="dark"] .atype-group--inf .atype-card__q {
  color: #67e8f9;
}
html[data-theme="dark"] .atype-card__desc,
html[data-theme="dark"] .atype-bullets li,
html[data-theme="dark"] .atype-hint {
  color: var(--muted);
}
html[data-theme="dark"] .atype-bullets > p {
  color: #94a3b8;
}
html[data-theme="dark"] .atype-bullets li::before {
  color: #5eead4;
}
html[data-theme="dark"] .atype-group--sell .atype-bullets li::before {
  color: #fdba74;
}
html[data-theme="dark"] .atype-group--inf .atype-bullets li::before {
  color: #67e8f9;
}

html[data-theme="dark"] .atype-card__icon {
  background: color-mix(in srgb, #5eead4 14%, var(--surface-muted));
  color: #5eead4;
}
html[data-theme="dark"] .atype-group--buy .atype-card__icon {
  background: color-mix(in srgb, #5eead4 16%, var(--surface-muted));
  color: #5eead4;
}
html[data-theme="dark"] .atype-group--sell .atype-card__icon {
  background: color-mix(in srgb, #fb923c 16%, var(--surface-muted));
  color: #fdba74;
}
html[data-theme="dark"] .atype-group--inf .atype-card__icon {
  background: color-mix(in srgb, #22d3ee 16%, var(--surface-muted));
  color: #67e8f9;
}
html[data-theme="dark"] .atype-card:hover .atype-card__icon {
  background: color-mix(in srgb, #5eead4 22%, var(--surface-muted));
  color: #99f6e4;
}

html[data-theme="dark"] .atype-featured {
  border-color: color-mix(in srgb, #5eead4 40%, var(--line));
  background: color-mix(in srgb, #5eead4 12%, var(--surface-muted));
  color: #ecfdf5;
}
html[data-theme="dark"] .atype-card__hl,
html[data-theme="dark"] .atype-group--sell .atype-card__hl,
html[data-theme="dark"] .atype-group--inf .atype-card__hl {
  color: #99f6e4;
}
html[data-theme="dark"] .atype-group--sell .atype-card__hl { color: #fdba74; }
html[data-theme="dark"] .atype-group--inf .atype-card__hl { color: #67e8f9; }

html[data-theme="dark"] .atype-rules {
  color: #5eead4;
}
html[data-theme="dark"] .atype-rules:hover {
  color: #99f6e4;
}
html[data-theme="dark"] .atype-back {
  color: #99f6e4;
}
html[data-theme="dark"] .atype-badge--free {
  background: color-mix(in srgb, #5eead4 18%, var(--surface-muted));
  color: #ecfdf5;
}
html[data-theme="dark"] .atype-plan {
  background: var(--surface);
  border-color: var(--line);
  color: var(--foreground);
}
html[data-theme="dark"] .atype-plan.is-selected {
  border-color: color-mix(in srgb, #5eead4 55%, var(--line));
  background: color-mix(in srgb, #5eead4 10%, var(--surface));
}
html[data-theme="dark"] .atype-plan__price {
  color: #ecfdf5;
}
html[data-theme="dark"] .atype-warn {
  border-color: color-mix(in srgb, #fbbf24 40%, var(--line));
  background: color-mix(in srgb, #fbbf24 12%, var(--surface));
  color: #fde68a;
}

html[data-theme="dark"] .card:hover,
html[data-theme="dark"] .shop-card:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .dash-hub__card:hover {
  background: color-mix(in srgb, var(--brand) 22%, var(--surface-muted)) !important;
  border-color: color-mix(in srgb, var(--brand) 65%, var(--line)) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), 0 0 0 1px color-mix(in srgb, var(--brand) 35%, transparent);
  transform: translateY(-2px);
}
html[data-theme="dark"] .dash-hub__card {
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

html[data-theme="dark"] .card__body,
html[data-theme="dark"] .shop-card__body,
html[data-theme="dark"] .creator-card__body {
  background: var(--surface);
  color: var(--foreground);
}

html[data-theme="dark"] .card__media,
html[data-theme="dark"] .shop-card__media,
html[data-theme="dark"] .shop-card__fallback {
  background: var(--surface-muted);
}

html[data-theme="dark"] .card__title,
html[data-theme="dark"] .shop-card__title,
html[data-theme="dark"] .dash-hub__card h2,
html[data-theme="dark"] .dash-activity__title {
  color: var(--brand-deep);
}

html[data-theme="dark"] .card__desc,
html[data-theme="dark"] .card__price,
html[data-theme="dark"] .shop-card__meta,
html[data-theme="dark"] .dash-hub__card p,
html[data-theme="dark"] .dash-activity__meta,
html[data-theme="dark"] .dash-stat__hint,
html[data-theme="dark"] .board-more__count {
  color: var(--muted);
}

html[data-theme="dark"] .card__shop,
html[data-theme="dark"] .shop-card__eyebrow {
  color: #5eead4;
}

html[data-theme="dark"] .card__price s,
html[data-theme="dark"] .membership-toggle__was {
  color: #6b7a72;
}

html[data-theme="dark"] .form-section,
html[data-theme="dark"] .order-panel,
html[data-theme="dark"] .order-detail__bar,
html[data-theme="dark"] .order-detail__actions,
html[data-theme="dark"] .order-add-product,
html[data-theme="dark"] .dash-stat,
html[data-theme="dark"] .sub-status,
html[data-theme="dark"] .sub-status--off,
html[data-theme="dark"] .dash-activity__head {
  background: var(--surface-soft);
  border-color: var(--line);
  color: var(--foreground);
}

html[data-theme="dark"] .dash-stats--click .dash-stat:hover,
html[data-theme="dark"] a.dash-stat:hover {
  background: color-mix(in srgb, var(--brand) 12%, var(--surface-soft));
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
}

html[data-theme="dark"] .dash-activity__head {
  background: var(--surface-muted);
}
html[data-theme="dark"] .dash-activity__head h2 {
  color: var(--brand-deep);
}
html[data-theme="dark"] .dash-activity__list li {
  border-color: var(--line);
  color: var(--foreground);
}
html[data-theme="dark"] .dash-activity--empty {
  background: var(--surface);
  color: var(--muted);
}

/* Board / listing sections */
html[data-theme="dark"] .section--board,
html[data-theme="dark"] .section--split,
html[data-theme="dark"] .section--why {
  background: color-mix(in srgb, var(--body-grad-2) 88%, #0a1612);
  border-bottom-color: var(--line);
}

/* Domov — hero a tmavé pásy musia ostať tmavé (brand-deep je v dark mode svetlý accent) */
html[data-theme="dark"] .home-hero,
html[data-theme="dark"] .home-hero__media,
html[data-theme="dark"] .section--dark {
  background: var(--brand-deep-bg);
  color: #ecfdf5;
}
html[data-theme="dark"] .page-home .site-header {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--brand) 78%, #0a5c56) 0%,
      color-mix(in srgb, var(--brand) 55%, var(--brand-deep-bg)) 55%,
      var(--brand-deep-bg) 100%
    );
}
html[data-theme="dark"] .home-hero h1 {
  color: #ecfdf5;
}
html[data-theme="dark"] .home-hero p {
  color: rgba(167, 243, 208, 0.9);
}
html[data-theme="dark"] .section--dark h2 {
  color: #fff;
}
html[data-theme="dark"] .home-split p {
  color: var(--muted);
}
html[data-theme="dark"] .home-split--dark p {
  color: #ecfdf5;
}
html[data-theme="dark"] .why-grid h3 {
  color: #ecfdf5;
}
html[data-theme="dark"] .why-grid li {
  border-top-color: var(--line);
}
html[data-theme="dark"] .section--board .board-head h2,
html[data-theme="dark"] .section--split .home-split h2,
html[data-theme="dark"] .section--why > .wrap > h2 {
  color: #ecfdf5;
}

html[data-theme="dark"] .board-kind {
  background: var(--surface);
  border-color: var(--line);
}
html[data-theme="dark"] .board-kind__btn {
  color: var(--muted);
}
html[data-theme="dark"] .board-kind__btn:hover {
  background: var(--surface-muted);
  color: #99f6e4;
}
html[data-theme="dark"] .board-kind__btn.is-active,
html[data-theme="dark"] .board-kind__btn.is-active:hover {
  background: var(--brand);
  color: #fff;
}

html[data-theme="dark"] .table th {
  background: var(--surface-muted);
  color: var(--muted);
  border-color: var(--line);
}
html[data-theme="dark"] .table td {
  border-color: var(--line);
  color: var(--foreground);
}
html[data-theme="dark"] .table tbody tr:hover td,
html[data-theme="dark"] .table tbody tr.is-clickable:hover td {
  background: color-mix(in srgb, var(--surface-muted) 80%, transparent);
}

html[data-theme="dark"] .btn-pill--ghost,
html[data-theme="dark"] .btn-outline,
html[data-theme="dark"] .btn-ghost,
html[data-theme="dark"] .btn-light,
html[data-theme="dark"] .card__cta--outline {
  background: var(--surface-soft);
  border-color: var(--line);
  color: var(--foreground);
}
html[data-theme="dark"] .btn-pill--ghost:hover,
html[data-theme="dark"] .btn-outline:hover,
html[data-theme="dark"] .card__cta--outline:hover {
  background: var(--surface-muted);
  color: #99f6e4;
}

html[data-theme="dark"] .card__cta--solid.is-in-cart,
html[data-theme="dark"] .card__cta.is-in-cart,
html[data-theme="dark"] .btn-pill.is-in-cart {
  background: color-mix(in srgb, var(--brand) 28%, var(--surface)) !important;
  color: var(--brand-deep) !important;
}

html[data-theme="dark"] .btn-pill--danger {
  background: #2a1515;
  border-color: #7f1d1d;
  color: #fecaca;
}

html[data-theme="dark"] .order-panel__title,
html[data-theme="dark"] .form-section-title,
html[data-theme="dark"] .dash-page__title,
html[data-theme="dark"] .dash-card__head h2,
html[data-theme="dark"] .order-facts__status,
html[data-theme="dark"] .order-facts__total {
  color: var(--brand-deep);
}

html[data-theme="dark"] .order-detail__number {
  color: #a8a29e;
}
html[data-theme="dark"] .order-detail__number strong,
html[data-theme="dark"] .order-address__name,
html[data-theme="dark"] .order-address__line,
html[data-theme="dark"] .order-kv__row dd {
  color: var(--foreground);
}
html[data-theme="dark"] .order-kv__row {
  border-bottom-color: var(--line);
}
html[data-theme="dark"] .order-kv__row dt {
  color: #a8a29e;
}
html[data-theme="dark"] .order-kv__row--total {
  border-top-color: var(--line);
}
html[data-theme="dark"] .order-kv__row--total dt,
html[data-theme="dark"] .order-kv__row--total dd {
  color: var(--brand-deep);
}

html[data-theme="dark"] .seller-chip,
html[data-theme="dark"] .order-invoice-list li,
html[data-theme="dark"] .dash-badge {
  background: var(--surface-muted);
  border-color: var(--line);
  color: var(--foreground);
}
html[data-theme="dark"] .dash-badge--ok {
  background: color-mix(in srgb, #059669 28%, var(--surface));
  color: #a7f3d0;
}
html[data-theme="dark"] .dash-badge--warn {
  background: color-mix(in srgb, #ca8a04 22%, var(--surface));
  color: #fde68a;
}
html[data-theme="dark"] .dash-badge--muted {
  background: var(--surface-muted);
  color: var(--muted);
}

html[data-theme="dark"] .dash-dialog__panel {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .dash-dialog__head,
html[data-theme="dark"] .dash-dialog__foot {
  border-color: var(--line);
}
html[data-theme="dark"] .dash-dialog__close {
  color: var(--muted);
}
html[data-theme="dark"] .payout-sheet__qr img {
  border-color: var(--line);
}
html[data-theme="dark"] .dash-card--warn-highlight {
  border-color: #b45309;
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.2);
}
html[data-theme="dark"] .dash-callout--warn {
  background: color-mix(in srgb, #92400e 22%, var(--surface));
  border-color: #b45309;
  color: #fde68a;
}
html[data-theme="dark"] .dash-callout--ok {
  background: color-mix(in srgb, #065f46 22%, var(--surface));
  border-color: #059669;
  color: #a7f3d0;
}
html[data-theme="dark"] .label--highlight { color: #fde68a; }
html[data-theme="dark"] .dash-badge--buyer {
  background: color-mix(in srgb, #0ea5e9 28%, var(--surface));
  color: #7dd3fc;
}
html[data-theme="dark"] .dash-badge--member,
html[data-theme="dark"] .dash-badge--premium {
  background: color-mix(in srgb, #f59e0b 26%, var(--surface));
  color: #fcd34d;
}
html[data-theme="dark"] .dash-badge--seller {
  background: color-mix(in srgb, #f97316 26%, var(--surface));
  color: #fdba74;
}
html[data-theme="dark"] .dash-badge--influencer {
  background: color-mix(in srgb, #d946ef 26%, var(--surface));
  color: #f0abfc;
}
html[data-theme="dark"] .dash-badge--admin {
  background: color-mix(in srgb, #f43f5e 26%, var(--surface));
  color: #fda4af;
}
html[data-theme="dark"] .dash-badge.order-status--new {
  background: color-mix(in srgb, #2563eb 32%, var(--surface));
  color: #93c5fd;
}
html[data-theme="dark"] .dash-badge.order-status--accepted {
  background: color-mix(in srgb, #0d9488 32%, var(--surface));
  color: #5eead4;
}
html[data-theme="dark"] .dash-badge.order-status--processing {
  background: color-mix(in srgb, #7c3aed 32%, var(--surface));
  color: #c4b5fd;
}
html[data-theme="dark"] .dash-badge.order-status--pending {
  background: color-mix(in srgb, #d97706 32%, var(--surface));
  color: #fdba74;
}
html[data-theme="dark"] .dash-badge.order-status--shipped {
  background: color-mix(in srgb, #0284c7 32%, var(--surface));
  color: #7dd3fc;
}
html[data-theme="dark"] .dash-badge.order-status--done {
  background: color-mix(in srgb, #16a34a 32%, var(--surface));
  color: #86efac;
}
html[data-theme="dark"] .dash-badge.order-status--cancelled {
  background: color-mix(in srgb, #dc2626 28%, var(--surface));
  color: #fca5a5;
}
html[data-theme="dark"] .dash-badge.order-status--refunded {
  background: color-mix(in srgb, #9a3412 28%, var(--surface));
  color: #fdba74;
}
html[data-theme="dark"] .order-status-legend__item {
  color: #d5ddd8;
}

html[data-theme="dark"] .dash-nav,
html[data-theme="dark"] .dash-month-nav {
  background: var(--surface);
  border-color: var(--line);
}
html[data-theme="dark"] .dash-nav--admin {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand) 8%, var(--surface)) 0%,
    var(--surface-muted) 100%
  );
  border-color: color-mix(in srgb, var(--brand) 32%, var(--line));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
html[data-theme="dark"] .dash-nav--admin a:hover,
html[data-theme="dark"] .dash-nav--admin button:hover {
  color: #ecfdf5;
  background: color-mix(in srgb, var(--brand) 22%, var(--surface));
  border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
}
html[data-theme="dark"] .dash-nav--admin a.is-active,
html[data-theme="dark"] .dash-nav--admin button.is-active,
html[data-theme="dark"] .dash-nav--admin a.is-active:hover,
html[data-theme="dark"] .dash-nav--admin button.is-active:hover {
  color: #ecfdf5;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand) 55%, #0f172a) 0%,
    color-mix(in srgb, var(--brand) 38%, #0f172a) 100%
  );
  border-color: color-mix(in srgb, var(--brand) 48%, var(--line));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}
html[data-theme="dark"] .dash-nav a,
html[data-theme="dark"] .dash-nav button,
html[data-theme="dark"] .board-kind-tabs button {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
html[data-theme="dark"] .dash-nav a.is-active,
html[data-theme="dark"] .dash-nav button.is-active,
html[data-theme="dark"] .dash-nav a:hover,
html[data-theme="dark"] .dash-nav button:hover,
html[data-theme="dark"] .board-kind-tabs button.is-active {
  background: color-mix(in srgb, var(--brand) 28%, var(--surface));
  color: #ecfdf5;
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
}

html[data-theme="dark"] .membership-toggle__opt,
html[data-theme="dark"] .membership-toggle button {
  background: var(--surface);
  border-color: var(--line);
  color: var(--muted);
  box-shadow: none;
}
html[data-theme="dark"] .membership-toggle__opt:hover,
html[data-theme="dark"] .membership-toggle button:hover {
  background: color-mix(in srgb, var(--brand) 12%, var(--surface));
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  color: #ecfdf5;
}
html[data-theme="dark"] .membership-toggle__opt.is-active,
html[data-theme="dark"] .membership-toggle button.is-active {
  background: color-mix(in srgb, var(--brand) 18%, var(--surface));
  color: #ecfdf5;
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 30%, transparent);
}
html[data-theme="dark"] .membership-toggle__opt.is-current,
html[data-theme="dark"] .membership-toggle button.is-current {
  background: color-mix(in srgb, var(--brand) 24%, var(--surface));
  border-color: var(--brand);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 35%, transparent);
}
html[data-theme="dark"] .membership-toggle__price,
html[data-theme="dark"] .membership-toggle__bonus {
  color: #7d8c84;
}
html[data-theme="dark"] .membership-toggle__opt.is-active .membership-toggle__price,
html[data-theme="dark"] .membership-toggle button.is-active .membership-toggle__price,
html[data-theme="dark"] .membership-toggle__opt.is-current .membership-toggle__price,
html[data-theme="dark"] .membership-toggle button.is-current .membership-toggle__price,
html[data-theme="dark"] .membership-toggle__opt.is-active .membership-toggle__bonus,
html[data-theme="dark"] .membership-toggle button.is-active .membership-toggle__bonus,
html[data-theme="dark"] .membership-toggle__opt.is-current .membership-toggle__bonus,
html[data-theme="dark"] .membership-toggle button.is-current .membership-toggle__bonus,
html[data-theme="dark"] .membership-toggle__hint {
  color: #5eead4;
}

html[data-theme="dark"] .role-chip,
html[data-theme="dark"] .role-chip--buyer {
  background: color-mix(in srgb, #0ea5e9 28%, var(--surface));
  color: #7dd3fc;
  border-color: color-mix(in srgb, #38bdf8 45%, var(--line));
}
html[data-theme="dark"] .role-chip--premium {
  background: color-mix(in srgb, #f59e0b 26%, var(--surface));
  color: #fcd34d;
  border-color: color-mix(in srgb, #fbbf24 40%, var(--line));
}
html[data-theme="dark"] .role-chip--seller {
  background: color-mix(in srgb, #f97316 26%, var(--surface));
  color: #fdba74;
  border-color: color-mix(in srgb, #fb923c 40%, var(--line));
}
html[data-theme="dark"] .role-chip--influencer {
  background: color-mix(in srgb, #d946ef 26%, var(--surface));
  color: #f0abfc;
  border-color: color-mix(in srgb, #e879f9 40%, var(--line));
}
html[data-theme="dark"] .role-chip--admin {
  background: color-mix(in srgb, #f43f5e 26%, var(--surface));
  color: #fda4af;
  border-color: color-mix(in srgb, #fb7185 40%, var(--line));
}

html[data-theme="dark"] .info-tip {
  background: #0f1714;
  color: #e7eee9;
  border-color: var(--line);
}

html[data-theme="dark"] .site-header__tip {
  background: var(--surface);
  color: var(--foreground);
}

html[data-theme="dark"] .badge--service {
  background: color-mix(in srgb, var(--surface) 80%, #fff);
  color: var(--brand-deep);
  border-color: var(--line);
}

html[data-theme="dark"] .cart-buyer-type,
html[data-theme="dark"] .cart-pay-method .cart-buyer-type {
  background: var(--surface-soft);
  border-color: var(--line);
}
html[data-theme="dark"] .cart-buyer-type button {
  color: var(--muted);
}
html[data-theme="dark"] .cart-buyer-type button.is-active {
  background: var(--surface);
  color: var(--brand-deep);
}

html[data-theme="dark"] .dash-social-simple,
html[data-theme="dark"] .dash-tax-row,
html[data-theme="dark"] .dash-social-card {
  border-color: var(--line);
}
html[data-theme="dark"] .dash-row-remove {
  background: var(--surface-soft);
  border-color: var(--line);
  color: #a8a29e;
}
html[data-theme="dark"] .dash-row-remove:hover,
html[data-theme="dark"] .dash-row-remove:focus-visible {
  color: #f87171;
  border-color: color-mix(in srgb, #f87171 40%, var(--line));
  background: color-mix(in srgb, #f87171 10%, var(--surface));
}

html[data-theme="dark"] .site-footer {
  background: #07110e;
  border-top-color: var(--line);
  color: var(--muted);
}
html[data-theme="dark"] .site-footer a {
  color: #a7f3d0;
}

/* Admin charts / lists — hardcoded light-mode greys */
html[data-theme="dark"] .dash-status-list__name,
html[data-theme="dark"] .dash-pie-legend__name,
html[data-theme="dark"] .dash-month-sub,
html[data-theme="dark"] .dash-section-label,
html[data-theme="dark"] .dash-stat__label {
  color: #d5ddd8 !important;
}
html[data-theme="dark"] .dash-status-list__sum,
html[data-theme="dark"] .dash-pie-legend__pct,
html[data-theme="dark"] .dash-chart__label {
  color: #b8c4bc !important;
}
html[data-theme="dark"] .dash-status-list__count,
html[data-theme="dark"] .dash-pie-legend__count {
  color: var(--brand-deep) !important;
}
html[data-theme="dark"] .dash-status-list li,
html[data-theme="dark"] .dash-pie-legend li {
  color: #d5ddd8;
  border-color: var(--line);
}
html[data-theme="dark"] .dash-pie {
  background: var(--surface-muted);
  border-color: var(--line);
  box-shadow: inset 0 0 0 0.55rem var(--surface);
}
html[data-theme="dark"] .dash-pie--sm {
  box-shadow: inset 0 0 0 0.4rem var(--surface);
}
html[data-theme="dark"] .dash-metric-toggle {
  background: var(--surface-soft);
  border-color: var(--line);
}
html[data-theme="dark"] .dash-metric-toggle button {
  color: #c5d0c9;
}
html[data-theme="dark"] .dash-metric-toggle button.is-active {
  background: var(--surface);
  color: var(--brand-deep);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .dash-month-nav,
html[data-theme="dark"] .dash-month-preset {
  background: var(--surface-soft) !important;
  border-color: var(--line) !important;
  color: #d5ddd8 !important;
}
html[data-theme="dark"] .dash-month-preset.is-active {
  background: color-mix(in srgb, var(--brand) 28%, var(--surface)) !important;
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line)) !important;
  color: var(--brand-deep) !important;
}
html[data-theme="dark"] .dash-month-weekday {
  color: #c5d0c9;
  border-bottom-color: var(--line);
}
html[data-theme="dark"] .dash-month-weekday.is-weekend,
html[data-theme="dark"] .dash-month-cell.is-weekend .dash-month-cell-head {
  color: #f87171 !important;
}
html[data-theme="dark"] .dash-month-cell {
  background: var(--surface-soft) !important;
  border-color: var(--line) !important;
  color: #d5ddd8;
  filter: none;
}
html[data-theme="dark"] .dash-month-cell:hover:not(.dash-month-cell--empty) {
  border-color: color-mix(in srgb, var(--brand) 50%, var(--line)) !important;
  background: var(--surface-muted) !important;
  filter: none;
}
html[data-theme="dark"] .dash-month-cell--empty {
  background: transparent !important;
  border-color: transparent !important;
}
html[data-theme="dark"] .dash-month-cell--has-data {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand) 32%, var(--surface-soft)),
    color-mix(in srgb, var(--brand) 12%, var(--surface))
  ) !important;
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line)) !important;
}
html[data-theme="dark"] .dash-month-cell--has-data.is-revenue {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, #ca8a04 28%, var(--surface-soft)),
    color-mix(in srgb, #ca8a04 10%, var(--surface))
  ) !important;
  border-color: color-mix(in srgb, #ca8a04 45%, var(--line)) !important;
}
html[data-theme="dark"] .dash-month-cell--today {
  outline-color: #5eead4;
}
html[data-theme="dark"] .dash-month-cell-head {
  color: #e7eee9 !important;
}
html[data-theme="dark"] .dash-month-cell-value {
  color: var(--brand-deep) !important;
}
html[data-theme="dark"] .dash-month-cell-value.is-empty {
  color: #7d8c84 !important;
  opacity: 1;
}
html[data-theme="dark"] .dash-month-cell-bar {
  background: color-mix(in srgb, #5eead4 70%, var(--brand));
}
html[data-theme="dark"] .dash-month-cell-bar.is-revenue {
  background: color-mix(in srgb, #fbbf24 65%, #ca8a04);
}
html[data-theme="dark"] .dash-month-cell-bar.is-empty {
  background: var(--line);
}
html[data-theme="dark"] .dash-card__head p,
html[data-theme="dark"] .dash-card__head--inline p {
  color: #c5d0c9 !important;
}

/* Cart */
html[data-theme="dark"] .cart-item,
html[data-theme="dark"] .cart-line,
html[data-theme="dark"] .cart-empty,
html[data-theme="dark"] .cart-done,
html[data-theme="dark"] .cart-auth-gate--panel {
  background: var(--surface);
  border-color: var(--line);
  color: var(--foreground);
}
html[data-theme="dark"] .cart-item__media {
  background: var(--surface-muted);
}
html[data-theme="dark"] .cart-item__shop {
  color: #5eead4;
}
html[data-theme="dark"] .cart-item__title,
html[data-theme="dark"] .cart-item__title a,
html[data-theme="dark"] .cart-item__total,
html[data-theme="dark"] .cart-page__title {
  color: var(--brand-deep);
}
html[data-theme="dark"] .cart-item__unit,
html[data-theme="dark"] .cart-item__remove,
html[data-theme="dark"] .cart-summary__hint,
html[data-theme="dark"] .cart-summary__dl dt,
html[data-theme="dark"] .cart-page__lead,
html[data-theme="dark"] .cart-back {
  color: var(--muted);
}
html[data-theme="dark"] .cart-item__remove:hover,
html[data-theme="dark"] .cart-back:hover {
  color: #99f6e4;
}
html[data-theme="dark"] .cart-qty-btn,
html[data-theme="dark"] .cart-qty-val {
  background: var(--surface-soft);
  border-color: var(--line);
  color: var(--foreground);
}
html[data-theme="dark"] .cart-qty-btn:hover {
  background: var(--surface-muted);
  color: #99f6e4;
}
html[data-theme="dark"] .cart-summary__member {
  background: color-mix(in srgb, #059669 18%, var(--surface-soft));
  color: #a7f3d0;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #34d399 40%, var(--line));
}
html[data-theme="dark"] .cart-summary__member-label {
  color: #6ee7b7;
}
html[data-theme="dark"] .cart-summary__promo-ok,
html[data-theme="dark"] .cart-summary__dl .is-discount {
  color: #6ee7b7;
}
html[data-theme="dark"] .cart-summary__dl .is-total,
html[data-theme="dark"] .cart-summary__dl .is-total dt,
html[data-theme="dark"] .cart-summary__dl .is-total dd,
html[data-theme="dark"] .cart-summary__line > span:last-child {
  color: var(--brand-deep);
}
html[data-theme="dark"] .cart-summary h2,
html[data-theme="dark"] .cart-checkout h2,
html[data-theme="dark"] .cart-address__title,
html[data-theme="dark"] .cart-pay-method__title {
  color: var(--brand-deep);
}
html[data-theme="dark"] .cart-promo input {
  background: var(--input-bg);
  border-color: var(--line);
  color: var(--foreground);
}
html[data-theme="dark"] .cart-alert--warn {
  background: color-mix(in srgb, #ca8a04 18%, var(--surface));
  border-color: color-mix(in srgb, #ca8a04 40%, var(--line));
  color: #fde68a;
}
html[data-theme="dark"] .cart-steps__current {
  color: var(--brand-deep);
}

/* ——— Pravidlá účtu ——— */
.rules-page__wrap {
  max-width: 42rem;
}
.rules-page__kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.rules-page__title {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--brand-deep);
  line-height: 1.15;
}
.rules-page__lead {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.05rem;
}
.rules-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.5rem 0 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.rules-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--foreground);
  font-size: 0.875rem;
  text-decoration: none;
}
.rules-nav__link:hover {
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  text-decoration: none;
}
.rules-nav__link.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.rules-body {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.rules-block h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--brand-deep);
}
.rules-block p {
  margin: 0 0 0.75rem;
  color: var(--foreground);
  line-height: 1.65;
  font-size: 0.95rem;
}
.rules-block--highlight {
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line));
  background: color-mix(in srgb, var(--brand) 8%, var(--surface));
}
.rules-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--foreground);
  font-size: 0.95rem;
  line-height: 1.55;
}
.rules-list li + li {
  margin-top: 0.45rem;
}
.rules-steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--foreground);
  font-size: 0.95rem;
  line-height: 1.55;
}
.rules-steps li + li {
  margin-top: 0.55rem;
}
.rules-fees {
  overflow: hidden;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: var(--surface);
}
.rules-fees table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.rules-fees th,
.rules-fees td {
  padding: 0.85rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.rules-fees tr:last-child th,
.rules-fees tr:last-child td {
  border-bottom: 0;
}
.rules-fees th {
  width: 38%;
  font-weight: 600;
  color: var(--foreground);
}
.rules-fees__value {
  display: block;
  font-weight: 650;
  color: var(--brand-deep);
}
.rules-fees__note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
}
.rules-cards {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
}
@media (min-width: 640px) {
  .rules-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.rules-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rules-card:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 12%, transparent);
  text-decoration: none;
}
.rules-card strong {
  color: var(--brand-deep);
  font-size: 1rem;
}
.rules-card span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}
.rules-card em {
  margin-top: auto;
  padding-top: 0.65rem;
  font-style: normal;
  font-size: 0.875rem;
  color: var(--brand);
}
.rules-cta {
  margin-top: 1rem !important;
  font-size: 0.95rem;
}
.rules-cta a {
  color: var(--brand);
}
.rules-disclaimer {
  margin: 0.5rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-muted) 70%, var(--surface));
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}
.rules-embed .rules-body {
  margin-top: 1.25rem;
}
.rules-embed .rules-body {
  max-width: 42rem;
}
html[data-theme="dark"] .rules-block--highlight {
  background: color-mix(in srgb, var(--brand) 14%, var(--surface));
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}
html[data-theme="dark"] .rules-nav__link.is-active {
  color: #fff;
}
html[data-theme="dark"] .rules-fees__value {
  color: #a7f3d0;
}
