:root {
  --bg: #08080c;
  --panel: #14131a;
  --panel-soft: #191720;
  --text: #f4ead2;
  --muted: #b9ad97;
  --gold: #d7a94b;
  --red: #b7342c;
  --line: rgba(244, 234, 210, .25);
  --shadow: 0 30px 80px rgba(0, 0, 0, .38);
  --content: 1360px;
  --gutter: clamp(1rem, 4vw, 4rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: radial-gradient(circle at 80% 0%, rgba(183, 52, 44, .24), transparent 32rem),
  radial-gradient(circle at 20% 12%, rgba(215, 169, 75, .16), transparent 28rem),
  var(--bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

html {
  scrollbar-color: rgba(215, 169, 75, .55) rgba(255, 255, 255, .08);
  scrollbar-width: thin;
}

body::-webkit-scrollbar,
.admin-options::-webkit-scrollbar,
.admin-table-wrap::-webkit-scrollbar,
.admin-subrow::-webkit-scrollbar,
.admin-editor::-webkit-scrollbar,
textarea::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

body::-webkit-scrollbar-track,
.admin-options::-webkit-scrollbar-track,
.admin-table-wrap::-webkit-scrollbar-track,
.admin-subrow::-webkit-scrollbar-track,
.admin-editor::-webkit-scrollbar-track,
textarea::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
}

body::-webkit-scrollbar-thumb,
.admin-options::-webkit-scrollbar-thumb,
.admin-table-wrap::-webkit-scrollbar-thumb,
.admin-subrow::-webkit-scrollbar-thumb,
.admin-editor::-webkit-scrollbar-thumb,
textarea::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(215, 169, 75, .75), rgba(183, 52, 44, .75));
  border-radius: 999px;
  border: 2px solid rgba(20, 19, 26, .85);
}

body::-webkit-scrollbar-thumb:hover,
.admin-options::-webkit-scrollbar-thumb:hover,
.admin-table-wrap::-webkit-scrollbar-thumb:hover,
.admin-subrow::-webkit-scrollbar-thumb:hover,
.admin-editor::-webkit-scrollbar-thumb:hover,
textarea::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(232, 191, 103, .9), rgba(210, 78, 66, .9));
}

h1, h2, h3 {
  line-height: 1.08;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1, h2 {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  letter-spacing: -.045em;
  max-width: 980px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -.035em;
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem max(var(--gutter), calc((100vw - var(--content)) / 2));
  background: rgba(8, 8, 12, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: .95rem;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  overflow: hidden;
  font-size: 2.2rem;
  line-height: 1;
  border: 1px solid var(--line);
  transition: border-color .2s;
}

.lang-flag:hover {
  border-color: rgba(215, 169, 75, .5);
}

.hero {
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: clamp(4rem, 10vw, 9rem) max(var(--gutter), calc((100vw - var(--content)) / 2));
  position: relative;
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  right: -30rem;
  top: 50%;
  transform: translateY(-50%);
  height: 105%;
  width: auto;
  max-width: none;
  object-fit: contain;
  opacity: .6;
  mask-image: linear-gradient(to right, transparent 0%, black 20%);
  pointer-events: none;
}

@media (min-width: 1200px) {
  .hero__photo {
    right: -22rem;
  }
}

@media (min-width: 1600px) {
  .hero__photo {
    right: -14rem;
  }
}

@media (min-width: 2000px) {
  .hero__photo {
    right: -8rem;
  }
}

@media (min-width: 2600px) {
  .hero__photo {
    right: -4rem;
  }
}

@media (min-width: 3000px) {
  .hero__photo {
    right: 0;
  }
}

@media (min-width: 3200px) {
  .hero__photo {
    right: -1rem;
  }
}

@media (min-width: 3800px) {
  .hero__photo {
    right: -10px;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
}

.lead {
  max-width: 720px;
  font-size: 1.25rem;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 800;
}

.actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 750;
}

.button--primary {
  background: var(--gold);
  color: #17110a;
  border-color: var(--gold);
}

.button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
}

.section {
  width: min(calc(100% - var(--gutter) * 2), var(--content));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.compact {
  padding-top: 2rem;
}

.intro, .split, .contact-panel, .product-extra, .article {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.article__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Globální h1 je nastavené pro hero, na článku by přebilo celou stránku. */
.article__body h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.1rem);
  letter-spacing: -.025em;
  line-height: 1.15;
  margin: .5rem 0 1.5rem;
}

.article__back {
  margin-top: 1.75rem;
}

.article__body ul {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}

.article__body li {
  padding-left: 1.5rem;
  position: relative;
}

.article__body li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 900;
  position: absolute;
  left: 0;
}

.text-columns {
  columns: 2;
  column-gap: 3rem;
}

.why-us ul {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem 2rem;
}

.why-us li {
  padding-left: 1.5rem;
  position: relative;
}

.why-us li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 900;
  position: absolute;
  left: 0;
}

.cards {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.cards--three {
  grid-template-columns: repeat(3, 1fr);
}

.card, .product-card, .contact-box, .price-box {
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.offer-card {
  padding: 2rem;
  min-height: 300px;
}

.card__number {
  color: var(--gold);
  font-weight: 900;
  display: block;
  margin-bottom: 2rem;
}

.offer-card__more {
  margin-top: 1rem;
}

.offer-card .inline-link {
  display: inline-block;
  margin-top: 1.25rem;
}

.offer-card__more summary {
  cursor: pointer;
  color: var(--gold);
  font-weight: 800;
  list-style: none;
}

.offer-card__more summary::-webkit-details-marker {
  display: none;
}

.offer-card__more summary::after {
  content: "+";
  margin-left: .5rem;
}

.offer-card__more[open] summary::after {
  content: "−";
}

.offer-card__more p {
  margin-top: 1rem;
}

.inline-link {
  color: var(--gold);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #000;
}

.history {
  max-width: 900px;
  margin-left: max(var(--gutter), calc((100vw - var(--content)) / 2));
}

.contact-box {
  padding: 2rem;
}

.contact-box a {
  color: var(--gold);
}

.small {
  font-size: .9rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 2rem max(var(--gutter), calc((100vw - var(--content)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-credit {
  font-size: .75rem;
  opacity: .5;
}

.footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-head {
  width: min(calc(100% - var(--gutter) * 2), 1000px);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) 0 2rem;
}

.page-head h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}

.category-strip a {
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .04);
}

.category-strip a.is-active {
  color: var(--text);
  border-color: rgba(215, 169, 75, .38);
  background: rgba(215, 169, 75, .12);
}

.category-strip--sub {
  margin-top: -.5rem;
  margin-bottom: 1.5rem;
}

.catalog-empty {
  margin: 5rem auto;
  text-align: center;
  font-size: 1.15rem;
  color: #b8a08a;
  letter-spacing: .02em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.product-card {
  overflow: hidden;
}

.product-card__image, .product-main-image {
  display: block;
  min-height: 260px;
  background-color: #1a1417;
  background-image: radial-gradient(circle at 50% 35%, rgba(215, 169, 75, .22), transparent 14%),
  linear-gradient(145deg, #2b1b16, #07070a 65%);
  background-size: cover;
  background-position: center;
}

.product-card .image-red {
  background: radial-gradient(circle at 45% 35%, rgba(183, 52, 44, .9), transparent 8%), linear-gradient(145deg, #2b1111, #07070a 65%);
}

.product-card .image-blue {
  background: radial-gradient(circle at 48% 36%, rgba(180, 205, 255, .9), transparent 8%), linear-gradient(145deg, #111a2b, #07070a 65%);
}

.product-card .body {
  padding: 1.35rem;
}

.product-card h2 {
  font-size: 1.45rem;
  letter-spacing: -.03em;
}

.availability {
  color: #b8d98b;
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.availability--limited {
  color: var(--gold);
}

.price-eur {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: .15rem;
}

.product-card .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  color: var(--gold);
}

.product-card .bottom strong {
  color: var(--text);
  font-size: 1.25rem;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 7rem) max(var(--gutter), calc((100vw - var(--content)) / 2)) 2rem;
  align-items: start;
}

.product-main-image {
  min-height: 560px;
  border-radius: 34px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: .75rem;
}

.thumb-preview {
  appearance: none;
  min-height: 90px;
  padding: 0;
  cursor: pointer;
  opacity: .72;
  transition: opacity .16s ease, border-color .16s ease;
}

.thumbs span,
.thumb-preview {
  height: 90px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  background-size: cover;
  background-position: center;
}

.thumb-preview.is-active {
  border-color: rgba(215, 169, 75, .48);
  opacity: 1;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-weight: 800;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin: 4rem 0 2rem 0;
  color: var(--muted);
  font-size: .92rem;
}

.breadcrumbs a {
  color: var(--text);
}

.breadcrumbs--detail {
  margin-bottom: 1rem;
}

.product-info h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.product-lead {
  font-size: 1.15rem;
}

.price-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.4rem;
  margin: 2rem 0;
}

.price-box span {
  display: block;
  color: var(--muted);
  font-size: .85rem;
}

.price-box strong {
  font-size: 1.5rem;
}

.params div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  padding: .75rem 0;
}

.params dt {
  color: var(--muted);
}

.params dd {
  margin: 0;
  font-weight: 800;
}

.video-single {
  max-width: 920px;
}

@media (max-width: 860px) {
  .nav a:not(.lang-flag) {
    display: none;
  }

  .intro, .split, .contact-panel, .product-extra, .product-detail, .article {
    grid-template-columns: 1fr;
  }

  .text-columns {
    columns: 1;
  }

  .cards--three, .video-grid, .product-grid {
    grid-template-columns: 1fr;
  }

  .why-us ul {
    grid-template-columns: 1fr;
  }

  .section {
    padding: clamp(2rem, 4vw, 3.5rem) 0;
  }

  .hero {
    min-height: auto;
    overflow: visible;
  }

  .hero__photo {
    left: 0;
    top: 0;
    transform: none;
    width: 144%;
    height: 600px;
    max-width: none;
    opacity: .3;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  }

  .product-main-image {
    min-height: 360px;
  }
}

.admin-shell {
  min-height: 100vh;
  padding: 0;
  background: linear-gradient(90deg, rgba(215, 169, 75, .08), transparent 46%, rgba(183, 52, 44, .12)),
  radial-gradient(circle at 18% 35%, rgba(215, 169, 75, .08), transparent 28rem),
  radial-gradient(circle at 90% 8%, rgba(183, 52, 44, .18), transparent 22rem),
  var(--bg);
}

.admin-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 48px 48px;
}

.admin-panel {
  width: 100%;
  min-height: 100vh;
  padding: .4rem 0 4rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0 max(var(--gutter), calc((100vw - var(--content)) / 2));
  margin: 0 0 2rem;
}

.admin-header .eyebrow {
  margin-bottom: 1.25rem;
}

.admin-header h1 {
  width: 100%;
  max-width: none;
  font-size: clamp(1.9rem, 6vw, 3.3rem);
  line-height: .92;
  color: #f3ead5;
}

.admin-header__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 2.7rem;
}

.login-form {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
  max-width: none;
  padding: 0 max(var(--gutter), calc((100vw - var(--content)) / 2));
}

.login-form label {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: #f3ead5;
  font-weight: 700;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
}

.login-form input {
  width: 12.5rem;
  min-height: 2.45rem;
  border-radius: 0;
  border: 1px solid rgba(244, 234, 210, .38);
  background: rgba(255, 255, 255, .95);
  color: #111;
  padding: 0 .8rem;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, .08);
}

.login-form .button {
  min-height: 3.35rem;
  padding: 0 1.8rem;
  margin-left: 1rem;
  font-size: 1.05rem;
  cursor: pointer;
}

.form-error {
  width: 100%;
  margin-top: .5rem;
  color: #ffb0a2;
}

#admin-app {
  padding: 0 max(var(--gutter), calc((100vw - var(--content)) / 2)) 3rem;
}

.admin-toolbar {
  margin-bottom: 1.2rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(244, 234, 210, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .04);
}

.admin-toolbar__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: .9rem;
  color: #f3ead5;
}

.admin-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.admin-toggle {
  padding: .7rem 1rem;
  border: 1px solid rgba(244, 234, 210, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: #ddd0b8;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.admin-toggle.is-active {
  border-color: rgba(222, 170, 90, .4);
  background: rgba(222, 170, 90, .16);
  color: #fff2d4;
}

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

.admin-grid--full {
  grid-template-columns: 1fr;
}

.admin-card {
  padding: 1.5rem;
  border: 1px solid rgba(244, 234, 210, .12);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
  box-shadow: var(--shadow);
}

.admin-card h2 {
  font-size: clamp(1.6rem, 2vw, 2.3rem);
}

.admin-card__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.admin-card__actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

[data-card="products"] .admin-card__head {
  position: sticky;
  top: 0;
  z-index: 5;
  margin: -1.5rem -1.5rem 1.2rem;
  padding: 1.5rem 1.5rem 1rem;
  background: #1c1a23;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 12px 20px -12px rgba(0, 0, 0, .5);
}

.admin-card pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #ddd0b8;
  font-size: .85rem;
  line-height: 1.6;
}

.admin-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.admin-overview p {
  margin: 0;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(244, 234, 210, .1);
  color: #f3ead5;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: .75rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(244, 234, 210, .08);
  text-align: left;
}

.admin-table th {
  color: #f3ead5;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.admin-table input,
.admin-table textarea,
.admin-table select,
.admin-block input,
.admin-block textarea,
.admin-block select,
.admin-search input,
.admin-search select {
  width: 100%;
  min-height: 2.6rem;
  padding: .65rem .75rem;
  border: 1px solid #b8b3aa;
  border-radius: 14px;
  background: #e8e4dd;
  color: #1f1b18;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}

.admin-table select,
.admin-block select,
.admin-search select {
  appearance: none;
  padding-right: 2.6rem;
  color-scheme: light;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(31, 27, 24, .72) 50%),
    linear-gradient(135deg, rgba(31, 27, 24, .72) 50%, transparent 50%),
    linear-gradient(180deg, #e8e4dd, #e8e4dd);
  background-position:
    calc(100% - 1.05rem) calc(50% - .15rem),
    calc(100% - .75rem) calc(50% - .15rem),
    0 0;
  background-size: .38rem .38rem, .38rem .38rem, 100% 100%;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.admin-table select option,
.admin-block select option,
.admin-table select optgroup,
.admin-block select optgroup {
  background: #e8e4dd;
  color: #1f1b18;
}

.admin-table input:focus,
.admin-table textarea:focus,
.admin-table select:focus,
.admin-block input:focus,
.admin-block textarea:focus,
.admin-block select:focus,
.admin-search input:focus {
  outline: none;
  border-color: #8f877b;
  background: #e8e4dd;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}

.admin-table textarea,
.admin-block textarea {
  min-height: 6.2rem;
  resize: vertical;
}

.admin-block__grid--text textarea {
  min-height: 8.5rem;
}

.admin-table input[type="checkbox"],
.admin-block input[type="checkbox"] {
  width: 1.1rem;
  min-height: 1.1rem;
}

.admin-stack {
  display: grid;
  gap: 1rem;
}

.admin-empty {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px dashed rgba(244, 234, 210, .12);
  color: #ddd0b8;
}

.admin-block {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(244, 234, 210, .08);
}

.admin-block__title {
  margin-bottom: .9rem;
  color: #f3ead5;
}

.admin-block__title code {
  color: var(--gold);
}

.admin-block__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-block__grid--products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-block__grid--text {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-block__grid--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.admin-field--wide {
  grid-column: span 2;
}

.admin-field--full {
  grid-column: 1 / -1;
}

.admin-block label {
  display: flex;
}

.admin-block__grid > label,
.admin-block__grid--text > label,
.admin-table label,
.admin-search {
  display: grid;
  gap: .45rem;
}

.admin-block label span,
.admin-table td code {
  color: #ecd7ab;
  font-size: .85rem;
}

.admin-check {
  align-content: center;
}

.admin-check--inline {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.6rem;
  padding: 0 .1rem;
}

.admin-check--inline input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
}

.admin-form-section {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(244, 234, 210, .08);
  background: rgba(255, 255, 255, .025);
}

.admin-form-section__head {
  margin-bottom: .85rem;
}

.admin-form-section__head h3 {
  margin: 0;
  font-size: 1rem;
  color: #f3ead5;
}

.admin-fieldset-reset {
  margin: 0;
  padding: 0;
  border: 0;
}

.admin-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem 1rem;
}

.admin-option {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 2rem;
  padding: .15rem 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.admin-option--child {
  padding-left: 1rem;
}

.admin-option input[type="checkbox"] {
  margin: 0;
  flex: 0 0 auto;
}

.admin-option__text {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  min-width: 0;
}

.admin-option__text strong {
  color: #f3ead5;
  font-size: .9rem;
  line-height: 1.2;
  font-weight: 600;
}

.admin-option__text small {
  color: #b9ad97;
  font-size: .74rem;
  line-height: 1;
  word-break: break-word;
}

.admin-option--child .admin-option__text strong,
.admin-option--child .admin-option__text small {
  opacity: .95;
}

.admin-editor,
.admin-block fieldset {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: .85rem;
  border-radius: 16px;
  border: 1px solid rgba(244, 234, 210, .08);
  background: rgba(255, 255, 255, .02);
}

.admin-editor__head,
.admin-block legend {
  color: #ddd0b8;
  font-size: .85rem;
}

.admin-editor__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

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

.admin-subrow--sortable {
  grid-template-columns: 1.4rem repeat(3, minmax(0, 1fr));
  align-items: center;
}

.admin-drag-handle {
  cursor: grab;
  color: #ddd0b8;
  font-size: 1.2rem;
  text-align: center;
  user-select: none;
}

.admin-subrow--sortable.sortable-ghost {
  opacity: .35;
}

.admin-subrow--sortable.sortable-chosen .admin-drag-handle {
  cursor: grabbing;
}

.admin-editor--wide {
  margin-top: 1rem;
}

.admin-products__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 2rem 1rem;
  margin-bottom: 1.15rem;
}

.admin-products__count {
  width: 100%;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.admin-search {
  display: grid;
  gap: .45rem;
  width: min(100%, 32rem);
}

.admin-search span {
  color: #ddd0b8;
  font-size: .85rem;
}

.admin-search input,
.admin-search select {
  min-height: 3rem;
}

.admin-product {
  padding: 0;
  overflow: hidden;
  border-color: rgba(244, 234, 210, .1);
}

.admin-product[open]:not(.admin-row--hidden) {
  border-color: var(--gold);
}

.admin-row--hidden {
  display: none;
}

.admin-product__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  cursor: pointer;
  list-style: none;
}

.admin-product__summary::-webkit-details-marker {
  display: none;
}

.admin-product__summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 1.9rem;
  height: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(244, 234, 210, .14);
  color: var(--gold);
  font-size: 1.05rem;
}

.admin-product[open] .admin-product__summary {
  border-bottom: 1px solid rgba(244, 234, 210, .08);
  background: rgba(255, 255, 255, .03);
}

.admin-product[open] .admin-product__summary::after {
  content: "−";
}

.admin-product__heading {
  display: grid;
  gap: .2rem;
}

.admin-product__heading strong {
  color: #f3ead5;
  font-size: 1.08rem;
}

.admin-product__heading span {
  color: #b9ad97;
  font-size: .88rem;
}

.admin-product__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-left: auto;
  padding-right: .35rem;
  align-items: center;
}

.admin-product__body {
  padding: 1rem;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0 .7rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 234, 210, .14);
  background: rgba(255, 255, 255, .04);
  color: #f3ead5;
  font-size: .8rem;
  white-space: nowrap;
}

.admin-badge--ok {
  border-color: rgba(127, 194, 119, 1);
  background: rgba(127, 194, 119, 1);
  color: #08080c;
}

.admin-badge--muted {
  color: #c6baa6;
}

.admin-badge--new {
  border-color: rgba(222, 170, 90, .28);
  background: rgba(222, 170, 90, .14);
  color: #fff2d4;
}

@media (max-width: 860px) {
  .admin-header {
    flex-direction: column;
  }

  .admin-toolbar__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-header__actions {
    width: 100%;
    padding-top: 0;
    justify-content: space-between;
  }

  .login-form {
    flex-direction: column;
    align-items: stretch;
  }

  .login-form label {
    flex-direction: column;
    align-items: flex-start;
  }

  .login-form input {
    width: 100%;
  }

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

  .admin-overview,
  .admin-block__grid,
  .admin-block__grid--products,
  .admin-block__grid--text,
  .admin-block__grid--split,
  .admin-subrow,
  .admin-options {
    grid-template-columns: 1fr;
  }

  .admin-products__toolbar,
  .admin-product__summary {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-product__meta {
    margin-left: 0;
    padding-right: 0;
  }

  .admin-field--wide {
    grid-column: auto;
  }

  .admin-option--child {
    padding-left: .8rem;
  }

  .admin-option--child::before {
    display: none;
  }
}
