:root {
  --bg: #f0f0f1;
  --card: #ffffff;
  --text: #1d2327;
  --muted: #646970;
  --line: #c3c4c7;
  --line-soft: #dcdcde;
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --primary-hover: #f97316;
  --primary-container: #fff7ed;
  --on-primary-container: #9a3412;
  --focus: rgba(234, 88, 12, 0.22);
  --danger: #b32d2e;
  --danger-bg: #fcf0f1;
  --ok: #007017;
  --ok-bg: #edfaef;
  --warn: #996800;
  --warn-bg: #fcf9e8;
  --sidebar: #1d2327;
  --sidebar-text: #f0f0f1;
  --sidebar-muted: #a7aaad;
  --sidebar-hover: #2c3338;
  --sidebar-current: #ea580c;
  --sidebar-width: 160px;
  --sidebar-collapsed: 36px;
  --admin-bar-h: 32px;
  --font-display: 'Montserrat', 'Lato', 'Segoe UI', sans-serif;
  --font-body: 'Lato', 'Segoe UI', sans-serif;
  --radius: 4px;
  --shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding: 0;
}

/* Sidebar/admin offset — yalnızca panel kabuğu varken */
body:has(.wp-sidebar) {
  padding-top: var(--admin-bar-h);
  padding-left: var(--sidebar-width);
}

body.sidebar-collapsed:has(.wp-sidebar) {
  padding-left: var(--sidebar-collapsed);
}

/* Genel / mağaza / giriş — sidebar boşluğu yok */
body.landing-page,
body.login-page,
body.public-page {
  padding: 0 !important;
  font-size: 15px;
  background: var(--bg);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* —— WordPress admin sidebar —— */
.wp-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--sidebar);
  color: var(--sidebar-text);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: width 0.12s ease;
}

body.sidebar-collapsed .wp-sidebar {
  width: var(--sidebar-collapsed);
  overflow: visible;
}

.wp-sidebar-brand {
  min-height: 46px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #16191c;
}

.wp-sidebar .brand {
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.wp-sidebar .brand-sub {
  color: var(--sidebar-muted);
  font-size: 11px;
}

.wp-sidebar .brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

body.sidebar-collapsed .wp-sidebar-brand .brand-copy {
  display: none;
}

.wp-menu {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px 0 44px;
  margin: 0;
}

.wp-menu-item {
  position: relative;
}

.wp-menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: var(--sidebar-muted);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none !important;
  border-left: 4px solid transparent;
}

.wp-menu-link:hover {
  background: var(--sidebar-hover);
  color: #fff;
}

.wp-menu-item.is-active > .wp-menu-link {
  background: var(--sidebar-hover);
  color: #fff;
  border-left-color: var(--sidebar-current);
}

.wp-menu-item.is-active > .wp-menu-link .wp-menu-icon {
  color: var(--sidebar-current);
  opacity: 1;
}

.wp-menu-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-flex;
  opacity: 0.85;
}

.wp-menu-icon svg {
  width: 18px;
  height: 18px;
}

.wp-menu-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.sidebar-collapsed .wp-menu-label {
  display: none;
}

body.sidebar-collapsed .wp-menu-link {
  justify-content: center;
  padding: 10px 6px;
  border-left-width: 0;
}

.wp-submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 4px 36px;
  display: none;
  background: #16191c;
}

.wp-menu-item.is-active .wp-submenu {
  display: block;
}

.wp-submenu a {
  display: block;
  padding: 6px 8px;
  color: var(--sidebar-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
}

.wp-submenu a:hover {
  color: #fff;
}

body.sidebar-collapsed .wp-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 180px;
  background: var(--sidebar-hover);
  padding: 6px 0;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 120;
}

body.sidebar-collapsed .wp-menu-item.flyout-open .wp-submenu,
body.sidebar-collapsed .wp-menu-item:hover .wp-submenu {
  display: block;
}

body.sidebar-collapsed .wp-submenu a {
  padding: 8px 14px;
}

.wp-menu-logout {
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 4px;
}

.wp-sidebar-collapse {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--sidebar-hover);
  color: var(--sidebar-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.wp-sidebar-collapse:hover {
  color: #fff;
}

.wp-sidebar-collapse svg {
  width: 14px;
  height: 14px;
}

body.sidebar-collapsed .wp-sidebar-collapse {
  right: 6px;
  transform: rotate(180deg);
}

/* —— WP admin bar (üst şerit) —— */
.admin-bar {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  height: var(--admin-bar-h);
  background: #1d2327;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 8px;
  z-index: 90;
  transition: left 0.12s ease;
  font-size: 13px;
}

body.sidebar-collapsed .admin-bar {
  left: var(--sidebar-collapsed);
}

.admin-bar-title h1 {
  font-family: var(--font-body);
  font-size: 13px;
  margin: 0;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0;
}

.admin-bar-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-bar-user {
  font-weight: 500;
  color: #c3c4c7;
}

.admin-bar-role {
  background: rgba(234, 88, 12, 0.25);
  color: #fdba74;
  padding: 1px 8px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.admin-bar-logout {
  color: #c3c4c7 !important;
  font-weight: 600;
  text-decoration: none !important;
  padding: 4px 8px;
}

.admin-bar-logout:hover {
  background: #2c3338;
  color: #fff !important;
}

.sidebar-backdrop {
  display: none;
}

.topbar {
  display: none;
}

/* —— Brand —— */
.brand {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-lockup {
  align-items: center;
  display: flex;
  gap: 10px;
}

.brand-lockup--lg {
  margin-bottom: 4px;
}

.brand-logo {
  border-radius: 8px;
  display: block;
  height: 40px;
  object-fit: contain;
  width: 40px;
}

.brand-lockup--lg .brand-logo {
  border-radius: 12px;
  height: 56px;
  width: 56px;
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1.15;
}

.brand-sub {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

/* —— Content —— */
.container {
  margin: 0;
  max-width: 100%;
  padding: 20px 20px 40px;
}

.container.narrow {
  max-width: 640px;
}

.wrap-title {
  margin: 0 0 16px;
}

.wrap-title--actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
}

.wrap-title h1 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text);
}

.wrap-title p {
  margin: 0;
  color: var(--muted);
}

/* WP postbox style cards */
.card,
.login-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  margin-bottom: 16px;
  padding: 0;
  overflow: hidden;
}

.card > h2,
.card-header {
  margin: 0;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
}

.card > h2 + form,
.card > h2 + .inline-search,
.card > h2 + .table-wrap,
.card > h2 + p,
.card > h2 + .stack-form,
.card > h2 + .meta-list,
.card > h2 + div {
  /* padding applied on child */
}

.card > form,
.card > .table-wrap,
.card > .inline-search,
.card > p,
.card > .stack-form,
.card > .meta-list,
.card > .license-danger,
.card > div:not(.table-wrap):not(.card-toolbar):not(.section-head) {
  padding-left: 14px;
  padding-right: 14px;
}

.card > form {
  padding-top: 14px;
  padding-bottom: 14px;
}

.card > .inline-search {
  padding-top: 12px;
  padding-bottom: 0;
}

.card > .table-wrap {
  padding: 0 0 4px;
}

.card > .table-wrap table {
  border-top: 1px solid var(--line-soft);
}

.card > p,
.card > .stack-form,
.card > .meta-list {
  padding-top: 12px;
  padding-bottom: 14px;
}

.card > form .grid-form,
.card > form.grid-form {
  margin: 0;
}

.hero-card {
  align-items: center;
  background: linear-gradient(120deg, #ea580c 0%, #9a3412 48%, #1d2327 100%);
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.hero-card h2,
.hero-card .muted,
.hero-card p {
  color: rgba(255, 255, 255, 0.88) !important;
}

.hero-card strong,
.hero-card h1 {
  color: #fff;
}

.hero-card code {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.stats-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 16px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
}

.stat-card span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-top: 4px;
  color: var(--text);
  line-height: 1.15;
}

.section-head {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

h2 {
  font-size: 14px;
  margin: 0;
  font-weight: 600;
}

.muted {
  color: var(--muted);
  margin: 0;
}

.small {
  font-size: 12px;
}

.quick-links {
  margin: 0 0 14px;
}

.quick-links a {
  color: var(--accent, #ea580c);
  font-weight: 600;
  text-decoration: none;
}

.quick-links a:hover {
  text-decoration: underline;
}

/* —— Sistem sağlığı —— */
.health-hero {
  align-items: center;
  border-radius: var(--radius, 8px);
  color: #fff;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow, 0 1px 3px rgba(0,0,0,.08));
}

.health-hero--ok {
  background: linear-gradient(125deg, #00a32a 0%, #007c1f 55%, #1d2327 120%);
}

.health-hero--warn {
  background: linear-gradient(125deg, #dba617 0%, #9a6700 55%, #1d2327 120%);
}

.health-hero--bad {
  background: linear-gradient(125deg, #d63638 0%, #8a2424 55%, #1d2327 120%);
}

.health-hero-kicker {
  font-size: 12px;
  letter-spacing: .06em;
  margin: 0 0 6px;
  opacity: .85;
  text-transform: uppercase;
}

.health-hero h2 {
  color: #fff !important;
  font-size: 1.35rem;
  margin: 0 0 6px;
}

.health-hero .muted {
  color: rgba(255, 255, 255, .88) !important;
  margin: 0;
}

.health-ring {
  align-items: center;
  animation: health-pulse 2.2s ease-in-out infinite;
  background: rgba(255, 255, 255, .18);
  border: 2px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  height: 76px;
  justify-content: center;
  width: 76px;
}

.health-ring strong {
  font-size: 1.25rem;
  line-height: 1;
}

.health-ring span {
  font-size: 11px;
  opacity: .9;
}

@keyframes health-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .35); }
  50% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
}

.health-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-bottom: 16px;
}

.health-card {
  background: #fff;
  border: 1px solid var(--line, #dcdcde);
  border-left-width: 4px;
  border-radius: var(--radius, 8px);
  padding: 14px 16px;
}

.health-card.is-ok {
  border-left-color: #00a32a;
}

.health-card.is-bad {
  background: #fcf0f1;
  border-left-color: #d63638;
}

.health-card-top {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 6px;
}

.health-card h3 {
  font-size: .95rem;
  margin: 0;
}

.health-card p {
  color: var(--muted, #646970);
  font-size: .86rem;
  line-height: 1.4;
  margin: 0;
}

.health-pill {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 3px 8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.health-pill.ok {
  background: #edfaef;
  color: #00a32a;
}

.health-pill.bad {
  background: #fcf0f1;
  color: #d63638;
}

.health-card-meta {
  margin-top: 10px;
}

.health-sev {
  color: var(--muted, #646970);
  font-size: 11px;
}

.health-meta-card .health-meta-grid {
  display: grid;
  gap: 12px 16px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  padding: 14px;
}

.health-meta-card .health-meta-grid span {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}

.health-meta-card .health-meta-grid strong {
  font-size: .92rem;
  word-break: break-all;
}

.health-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 14px;
}

.health-chip {
  background: #fff;
  border: 1px solid var(--line, #dcdcde);
  border-radius: 999px;
  color: var(--muted, #646970);
  font-size: 12px;
  padding: 4px 10px;
}

.health-chip.on {
  background: #edfaef;
  border-color: #b8e6c1;
  color: #007c1f;
}

.health-chip.off {
  background: #fcf0f1;
  border-color: #f0b3b5;
  color: #d63638;
}

@media (max-width: 720px) {
  .health-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}

.quick-links {
  margin: 0 0 14px;
}

.quick-links a {
  font-weight: 600;
}

/* —— Forms —— */
.grid-form {
  display: grid;
  gap: 12px 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
}

.stack-form {
  display: grid;
  gap: 12px;
}

label {
  color: var(--text);
  display: grid;
  font-weight: 600;
  gap: 5px;
  font-size: 13px;
}

.grid-form label {
  color: var(--text);
  font-size: 13px;
}

.grid-form .full {
  grid-column: 1 / -1;
}

.grid-form textarea,
.grid-form input,
.grid-form select {
  width: 100%;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 6px 10px;
  min-height: 32px;
  transition: border-color 0.1s, box-shadow 0.1s;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
  outline: none;
}

fieldset {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  grid-column: 1 / -1;
  padding: 12px;
  margin: 0;
}

legend {
  color: var(--muted);
  padding: 0 6px;
  font-weight: 600;
  font-size: 12px;
}

.check {
  display: inline-flex;
  font-weight: 500;
  gap: 6px;
  margin: 6px 16px 6px 0;
  align-items: center;
}

.inline-check {
  align-items: center;
  display: flex !important;
  flex-direction: row !important;
  gap: 8px;
  margin-top: 24px;
}

button,
.button,
.button-primary {
  background: var(--primary);
  border: 1px solid var(--primary-dark);
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 600;
  padding: 6px 14px;
  min-height: 32px;
  line-height: 1.3;
  box-sizing: border-box;
  max-width: 100%;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

button:hover,
.button:hover,
.button-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-dark);
  color: #fff;
  text-decoration: none;
}

button.secondary,
.button-secondary {
  background: #f6f7f7;
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: none;
}

button.secondary:hover,
.button-secondary:hover {
  background: #f0f0f1;
  border-color: #8c8f94;
  color: var(--text);
}

.button-link {
  background: var(--primary-container);
  border: 1px solid #fdba74;
  border-radius: var(--radius);
  color: var(--on-primary-container);
  display: inline-block;
  font-weight: 600;
  padding: 6px 12px;
  text-decoration: none !important;
}

.button-link:hover {
  color: var(--primary-dark);
  background: #ffedd5;
}

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

.search-form,
.inline-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  align-items: center;
}

.inline-search input,
.search-form input {
  flex: 1;
  min-width: 0;
  max-width: 320px;
}

.danger-text {
  color: var(--danger) !important;
}

button.linkish,
.linkish {
  background: none;
  border: none;
  box-shadow: none;
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 0;
  min-height: 0;
}

.linkish-danger {
  color: var(--danger) !important;
}

.button-danger,
button.button-danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}

.button-danger:hover,
button.button-danger:hover {
  background: #8a2424;
  border-color: #8a2424;
  color: #fff;
}

.btn-link {
  align-self: center;
  font-weight: 600;
}

/* —— Tables (WP list-table feel) —— */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
}

th,
td {
  border-bottom: 1px solid var(--line-soft);
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
}

th {
  background: #f6f7f7;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

tbody tr:hover {
  background: #f6f7f7;
}

tbody tr:last-child td {
  border-bottom: 0;
}

code {
  background: #f0f0f1;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  padding: 2px 6px;
  font-size: 12px;
  font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
}

.badge {
  border-radius: 2px;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge.ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.badge.danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.badge.warn {
  background: var(--warn-bg);
  color: var(--warn);
}

.alert {
  border-left: 4px solid var(--line);
  border-radius: 0;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: #fff;
  box-shadow: var(--shadow);
  border-top: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.alert.success {
  border-left-color: var(--ok);
  background: var(--ok-bg);
  color: var(--ok);
}

.alert.warning {
  border-left-color: #dba617;
  background: #fcf9e8;
  color: #614200;
}

.alert.error {
  border-left-color: var(--danger);
  background: var(--danger-bg);
  color: var(--danger);
}

/* —— Login —— */
.login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px 20px !important;
  background:
    radial-gradient(720px 420px at 85% 8%, rgba(234, 88, 12, 0.28), transparent 55%),
    radial-gradient(520px 360px at 8% 95%, rgba(234, 88, 12, 0.12), transparent 50%),
    linear-gradient(168deg, #0c0e11 0%, #15181d 48%, #1a1714 100%) !important;
  color: #f4f5f6;
}

.login-page,
body.login-body {
  padding-left: 0 !important;
  padding-top: 0 !important;
}

.login-shell {
  width: 100%;
  max-width: 400px;
  display: grid;
  gap: 1.25rem;
}

.login-brand-hero {
  text-align: center;
}

.login-brand-hero .brand-lockup {
  justify-content: center;
  margin-bottom: 0.35rem;
}

.login-brand-hero .brand {
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.login-brand-hero .brand-sub {
  color: #fdba74;
}

.login-card {
  max-width: none;
  width: 100%;
  padding: 28px 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  box-shadow:
    0 0 0 1px rgba(234, 88, 12, 0.12),
    0 24px 48px rgba(0, 0, 0, 0.35);
}

.login-card .brand-lockup {
  display: none;
}

.login-card h1 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 4px;
  text-align: left;
  letter-spacing: -0.02em;
}

.login-card > .muted {
  text-align: left;
  margin: 0 0 4px;
}

.login-card form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.login-card label {
  gap: 4px;
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
}

.login-card input {
  min-height: 40px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 14px;
}

.login-card input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--focus);
}

.login-card button[type='submit'] {
  width: 100%;
  margin-top: 6px;
  min-height: 42px;
  border-radius: 6px;
  font-weight: 700;
}

.login-card .alert {
  margin-top: 12px;
}

.login-card .hint {
  text-align: center;
  margin-top: 18px;
}

.login-card .hint a {
  color: var(--primary-dark);
  font-weight: 600;
}

.login-back {
  text-align: center;
  margin: 0;
  font-size: 13px;
}

.login-back a {
  color: #fdba74;
  text-decoration: none;
  font-weight: 600;
}

.login-back a:hover {
  color: #fff;
  text-decoration: underline;
}

.hint {
  color: var(--muted);
  font-size: 12px;
  margin: 16px 0 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  border-radius: 2px;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: #c3c4c7;
  border-radius: 1px;
}

.nav-toggle:hover span {
  background: #fff;
}

.roles-matrix th,
.roles-matrix td.center {
  text-align: center;
}

.inline-details summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 600;
}

.stack-form.compact {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  max-width: 220px;
}

.module-grid {
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
}

.module-group h4 {
  margin: 0 0 8px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.module-check {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  margin-bottom: 6px;
  background: #f6f7f7;
}

.module-check:hover {
  background: #fff;
  border-color: var(--line);
}

.module-check input {
  grid-row: 1 / span 2;
  margin-top: 3px;
  min-height: 0;
}

.module-name {
  font-weight: 700;
  color: var(--text);
}

.module-desc {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  grid-column: 2;
}

.module-code {
  grid-column: 2;
  font-size: 11px;
}

.module-picker {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
}

.module-picker-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: space-between;
}

.module-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.module-preset-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.module-preset-chip:hover,
.module-preset-chip.is-active {
  border-color: var(--accent, #e67e22);
  background: rgba(230, 126, 34, 0.08);
  color: var(--accent, #c45f0c);
}

.module-picker-summary {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.module-picker-summary strong {
  color: var(--text);
  font-size: 15px;
}

.module-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.module-group-head h4 {
  margin: 0;
}

.module-group-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.module-group-actions .sep {
  color: var(--muted);
}

.module-group-actions .linkish {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--accent, #c45f0c);
  cursor: pointer;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
}

.module-check.compact {
  padding: 8px 10px;
  margin-bottom: 4px;
}

.module-check.compact .module-desc.one-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.module-name .module-code.tip {
  display: inline;
  margin-left: 6px;
  opacity: 0.55;
  font-weight: 500;
  grid-column: auto;
}

.license-create-form {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 20px 28px;
  align-items: start;
}

.license-create-meta {
  display: grid;
  gap: 12px;
}

.license-create-modules {
  min-width: 0;
}

.license-create-form > .full,
.license-create-form > button[type="submit"],
.license-create-form > .license-form-actions {
  grid-column: 1 / -1;
}

.license-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.card-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
}

.card-toolbar h2 {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
}

.card-count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-size: 12px;
  font-weight: 700;
}

.card-toolbar .inline-search {
  margin: 0;
  padding: 0;
  border: 0;
}

.license-key,
code.license-key,
.input-mono {
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.pkg-label {
  font-weight: 600;
}

.nowrap {
  white-space: nowrap;
}

.small {
  font-size: 12px;
}

.inline-form {
  display: inline;
}

.inline-check {
  margin-top: 8px;
  display: flex !important;
  align-items: center;
  gap: 8px;
  grid-template-columns: none !important;
}

.inline-check input {
  width: auto;
  margin: 0;
}

.card-danger {
  border-color: #f0c6c6;
}

.card-danger > h2 {
  color: var(--danger);
}

.license-danger {
  padding: 14px;
  display: grid;
  gap: 16px;
}

.danger-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.danger-row p {
  margin: 4px 0 0;
  max-width: 36rem;
}

.danger-delete {
  max-width: 420px;
}

.license-hero h2 {
  margin: 4px 0 8px;
}

.field-label {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 13px;
}

.program-term-label {
  margin-top: 1rem;
}

.program-term-hint {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.inline-revoke {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .license-create-form {
    grid-template-columns: 1fr;
  }
}

.checkbox-grid {
  display: grid;
  gap: 8px;
}

.meta-list {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 12px;
  margin: 0;
  padding: 14px;
}

.meta-list dt {
  color: var(--muted);
  font-weight: 600;
}

.meta-list dd {
  margin: 0;
}

@media (max-width: 960px) {
  body,
  body.sidebar-collapsed,
  body:has(.wp-sidebar),
  body.sidebar-collapsed:has(.wp-sidebar) {
    padding-left: 0;
  }

  .wp-sidebar {
    transform: translateX(-100%);
    width: min(220px, 88vw);
    transition: transform 0.2s ease;
  }

  body.sidebar-open .wp-sidebar {
    transform: translateX(0);
  }

  body.sidebar-collapsed .wp-sidebar {
    width: min(220px, 88vw);
  }

  body.sidebar-collapsed .wp-menu-label {
    display: inline;
  }

  body.sidebar-collapsed .wp-menu-link {
    justify-content: flex-start;
    padding: 8px 10px;
    border-left-width: 4px;
  }

  .admin-bar {
    left: 0;
  }

  body.sidebar-collapsed .admin-bar {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 95;
  }

  .sidebar-backdrop[hidden] {
    display: none !important;
  }

  .wp-sidebar-collapse {
    display: none;
  }

  .admin-bar-meta .admin-bar-user {
    display: none;
  }

  .grid-form {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head,
  .hero-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .search-form,
  .inline-search {
    width: 100%;
  }

  .search-form input,
  .inline-search input {
    max-width: none;
    width: 100%;
  }

  .container {
    padding: 14px 12px 32px;
  }
}

@media (max-width: 560px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  :root {
    --admin-bar-h: 48px;
  }

  .admin-bar {
    height: var(--admin-bar-h);
    padding: 0 8px 0 4px;
  }

  .nav-toggle {
    padding: 10px;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
  }

  .nav-toggle span {
    width: 18px;
  }

  .container {
    padding: 12px 12px 28px;
  }

  .login-page {
    padding: 16px !important;
    align-items: start;
  }

  .login-card {
    max-width: none;
    padding: 22px 18px 16px;
  }

  .shop-public-header {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-public-header > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .shop-public-header .button {
    flex: 1 1 auto;
    min-height: 44px;
  }

  .meta-list {
    grid-template-columns: 1fr;
    gap: 4px 12px;
  }

  .meta-list dt {
    margin-top: 8px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
    min-height: 44px;
  }

  button,
  .button,
  .button-primary {
    min-height: 44px;
  }

  .license-key {
    font-size: 0.95rem;
    word-break: break-all;
    white-space: normal;
  }

  .program-sku-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 16px;
  }

  .card > h2,
  .card-header {
    padding: 12px 12px;
  }
}

/* Program picker + shop cards */
.program-picker {
  margin-top: 0.25rem;
}
.program-sku-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.program-sku-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.program-sku-card:hover {
  border-color: #fdba74;
}
.program-sku-card.is-selected,
.program-sku-card:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-container);
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.2);
}
.program-sku-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.program-sku-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.program-sku-desc {
  color: #525252;
  font-size: 0.9rem;
  line-height: 1.35;
}
.program-sku-meta {
  font-size: 0.8rem;
}
.program-term-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.program-term-chip {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 14px;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.program-term-chip.is-selected,
.program-term-chip:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-container);
  color: var(--on-primary-container);
}
.program-term-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* —— Public shop / cart checkout —— */
.shop-public-header {
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.9fr);
  gap: 16px;
  align-items: start;
}

.cart-empty {
  padding: 28px 16px;
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.cart-lines {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-soft);
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.cart-line-info {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cart-line-info strong {
  font-size: 14px;
  line-height: 1.35;
}

.cart-line-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.cart-qty-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0 !important;
}

.cart-qty-form input[type="number"] {
  width: 4.25rem;
  min-height: 32px;
}

.cart-line-total {
  font-variant-numeric: tabular-nums;
  min-width: 5.5rem;
  text-align: right;
}

.cart-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px 14px;
}

.checkout-aside .checkout-summary {
  padding: 14px 14px 0;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.checkout-total-row strong {
  font-size: 22px;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.checkout-form {
  padding: 14px !important;
}

.checkout-form button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
  white-space: nowrap;
}

.table-actions form {
  display: inline;
  margin: 0;
  padding: 0 !important;
}

.license-key-list {
  list-style: none;
  margin: 14px 0;
  padding: 0 14px 4px;
  display: grid;
  gap: 10px;
}

.license-key {
  display: inline-block;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  padding: 10px 12px;
  background: #f6f7f7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-line {
    flex-direction: column;
  }

  .cart-line-actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* —— Lisans hub / landing (kök index) —— */
.landing-page {
  margin: 0;
  background: #eef0f2;
  color: #121417;
  min-height: 100vh;
}

.landing-shell {
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
}

.landing-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 20, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #2a3038;
  color: #f4f5f6;
}

.landing-top .brand,
.landing-top .brand-sub {
  color: #f4f5f6;
}

.landing-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 0.5rem 0;
  flex-wrap: wrap;
}

.landing-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.landing-nav-link {
  color: #9aa3ad;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.landing-nav-link:hover {
  color: #fdba74;
}

.landing-nav-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.landing-nav > a:not(.button) {
  color: #9aa3ad;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.landing-nav > a:not(.button):hover {
  color: #fdba74;
}

.landing-hero {
  background:
    radial-gradient(900px 480px at 80% 10%, rgba(234, 88, 12, 0.35), transparent 55%),
    linear-gradient(168deg, #0c0e11 0%, #15181d 50%, #1a1714 100%);
  color: #f4f5f6;
  padding: 3.5rem 0 4rem;
}

.landing-hero-inner {
  max-width: 40rem;
}

.landing-wordmark {
  font-family: var(--font-display, Syne, sans-serif);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 0.95;
  color: #fff;
  margin: 0 0 1rem;
}

.landing-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ea580c;
  margin: 0 0 0.75rem;
}

.landing-hero .landing-kicker {
  color: #fdba74;
}

.landing-hero h1 {
  font-family: var(--font-display, Syne, sans-serif);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: #fff;
}

.landing-lead {
  color: #9aa3ad;
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.landing-btn-ghost {
  background: transparent !important;
  color: #f4f5f6 !important;
  border: 1px solid #3f4650 !important;
}

.landing-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: #9aa3ad !important;
}

.landing-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: #7e8792;
  font-size: 0.85rem;
}

.landing-trust li::before {
  content: "· ";
  color: #ea580c;
  font-weight: 700;
}

.landing-section {
  padding: 3rem 0;
}

.landing-section--alt {
  background: #fff;
}

.landing-section h2 {
  font-family: var(--font-display, Syne, sans-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: #121417;
}

.landing-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.landing-term-toggle {
  display: inline-flex;
  padding: 3px;
  background: #fff;
  border: 1px solid #d5dae0;
  border-radius: 4px;
  gap: 2px;
}

.landing-section--alt .landing-term-toggle {
  background: #eef0f2;
}

.landing-term-toggle a {
  text-decoration: none;
  color: #5c6570;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
  border-radius: 2px;
}

.landing-term-toggle a.is-active {
  background: #121417;
  color: #fff;
}

.landing-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.landing-price-card {
  position: relative;
  background: #fff;
  border: 1px solid #d5dae0;
  border-radius: 4px;
  padding: 1.35rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.landing-section--alt .landing-price-card {
  background: #eef0f2;
}

.landing-price-card.is-featured {
  border-color: #ea580c;
  box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.25);
}

.landing-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ea580c;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.landing-price-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c2410c;
  font-weight: 700;
  margin: 0;
}

.landing-price-card h3 {
  font-family: var(--font-display, Syne, sans-serif);
  font-size: 1.15rem;
  margin: 0;
}

.landing-amount {
  font-size: 1.65rem;
  font-weight: 700;
  font-family: var(--font-display, Syne, sans-serif);
  margin: 0.35rem 0 0;
  letter-spacing: -0.02em;
}

.landing-price-card form,
.landing-addon-card form {
  margin-top: auto;
  padding-top: 0.75rem;
}

.landing-price-card button,
.landing-addon-card button {
  width: 100%;
}

.landing-addon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
}

.landing-addon-card {
  background: #eef0f2;
  border: 1px solid #d5dae0;
  border-radius: 4px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.landing-section--alt .landing-addon-card {
  background: #fff;
}

.landing-addon-card h3 {
  font-size: 0.98rem;
  margin: 0;
}

.landing-addon-price {
  font-weight: 700;
  color: #c2410c;
  margin: 0.25rem 0;
}

.landing-steps h2 {
  margin-bottom: 1rem;
}

.landing-step-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.landing-step-list li {
  counter-increment: step;
  background: #fff;
  border: 1px solid #d5dae0;
  border-radius: 4px;
  padding: 1.1rem 1rem 1.1rem 3rem;
  position: relative;
  display: grid;
  gap: 0.25rem;
}

.landing-step-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0.85rem;
  top: 1.1rem;
  font-weight: 800;
  color: #ea580c;
  font-family: var(--font-display, Syne, sans-serif);
  font-size: 0.9rem;
}

.landing-footer {
  background: #121417;
  color: #9aa3ad;
  padding: 2.5rem 0 2rem;
  margin-top: 1rem;
}

.landing-footer .brand,
.landing-footer .brand-sub {
  color: #f4f5f6;
}

.landing-footer-inner {
  display: grid;
  gap: 1.25rem;
}

.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.landing-footer-links a {
  color: #e4e4e7;
  text-decoration: none;
  font-size: 0.92rem;
}

.landing-footer-links a:hover {
  color: #fdba74;
}

@media (max-width: 900px) {
  .landing-price-grid,
  .landing-step-list {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    padding: 1.75rem 0 2rem;
  }

  .landing-hero-inner {
    max-width: none;
    width: 100%;
  }

  .landing-hero h1 {
    font-size: 1.5rem;
  }

  .landing-lead {
    font-size: 0.95rem;
    margin-bottom: 1.15rem;
  }

  .landing-shell {
    width: auto;
    max-width: none;
    margin-inline: 16px;
  }

  .landing-top-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    min-height: 56px;
    padding: 0.4rem 0;
    min-width: 0;
  }

  .landing-top .brand-lockup {
    min-width: 0;
    flex: 1 1 auto;
  }

  .landing-top .brand-logo {
    width: 32px;
    height: 32px;
  }

  .landing-top .brand {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .landing-top .brand-sub {
    font-size: 11px;
  }

  .landing-nav {
    margin-left: auto;
    width: auto;
    flex-wrap: nowrap;
    gap: 0.4rem;
    justify-content: flex-end;
  }

  .landing-nav-link {
    display: none;
  }

  .landing-nav-actions {
    flex-wrap: nowrap;
    flex-shrink: 0;
  }

  .landing-nav .button,
  .landing-nav .button.secondary {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .landing-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-cta-row .button,
  .landing-cta-row .button.secondary {
    width: 100%;
    min-height: 44px;
  }

  .landing-trust {
    flex-direction: column;
    gap: 0.35rem;
  }

  .landing-section {
    padding: 1.75rem 0;
  }

  .landing-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-term-toggle {
    width: 100%;
    display: flex;
  }

  .landing-term-toggle a {
    flex: 1;
    text-align: center;
  }

  .landing-addon-grid {
    grid-template-columns: 1fr;
  }

  .landing-price-card,
  .landing-addon-card {
    padding: 1.1rem 1rem;
  }

  .landing-footer-links {
    gap: 0.65rem 1rem;
  }
}

@media (max-width: 400px) {
  .landing-top .brand-copy {
    display: none;
  }
}

@media (max-width: 560px) {
  .shop-public-header {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-public-header > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .shop-public-header .button {
    flex: 1 1 auto;
    min-height: 44px;
  }

  .license-key {
    font-size: 0.95rem;
    word-break: break-all;
    white-space: normal;
  }

  .program-sku-grid {
    grid-template-columns: 1fr;
  }
}

@supports not selector(body:has(.wp-sidebar)) {
  body {
    padding-top: 0;
    padding-left: 0;
  }
}
