@font-face {
  font-family: JetBrains;
  src: url("JetBrainsMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  font-family: JetBrains, monospace;
  font-size: 14px;
  font-synthesis: none;
  color: #f2f2f2;
  background: #000;
  color-scheme: dark;
  --accent: #4ae1d7;
  --buy: #febd69;
  --muted: #929292;
  --material-wood: #ad6656;
  --material-steel: #d1d5db;
  --material-bronze: #b87333;
  --material-plastic: #2a2d34;
  --material-patina: #4abdb3;
  --material-concrete: #a49e94;
  --line: #262626;
  --header-height: 72px;
}
.insights-filters {
  align-items: end;
  flex-wrap: wrap;
}
.insights-filters label {
  margin: 0;
}
.insights-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.insights-card {
  border: 1px solid var(--line);
  padding: 18px;
}
.insights-card h2 {
  color: var(--muted);
}
.insights-card p {
  font-size: 1.6rem;
  margin: 10px 0 0;
}
.insights-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 32px;
}
.insights-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  margin: 16px 0;
}
.insights-bar progress {
  grid-column: 1 / -1;
  width: 100%;
  height: 6px;
  accent-color: var(--buy);
}
.insights-bar progress::-webkit-progress-bar {
  background: var(--line);
}
.insights-bar progress::-webkit-progress-value {
  background: var(--buy);
}
.insights-note {
  margin-top: 20px;
}
.insights-section {
  margin-top: 36px;
}
.insights-table {
  max-height: 420px;
  margin-top: 16px;
}
.admin-content .table-wrap.insights-table {
  overflow: auto;
}
@media (max-width: 1100px) {
  .insights-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 500px) {
  .insights-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
.insights-table th {
  position: sticky;
  top: 0;
  background: #0b0b0b;
}
@media (max-width: 800px) {
  .insights-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.6;
}
h1,
h2,
h3,
p {
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
}
p {
  margin-bottom: 1.4rem;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover,
button:hover {
  color: var(--accent);
}
button:disabled {
  color: var(--muted);
  cursor: default;
}
:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 5px;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
.muted {
  color: var(--muted);
}
.material-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px 5px;
  max-width: 100%;
  vertical-align: top;
}
.material-wood {
  --material-color: var(--material-wood);
}
.material-steel {
  --material-color: var(--material-steel);
}
.material-bronze {
  --material-color: var(--material-bronze);
}
.material-plastic {
  --material-color: var(--material-plastic);
  --material-text: #f2f2f2;
}
.material-patina {
  --material-color: var(--material-patina);
}
.material-concrete {
  --material-color: var(--material-concrete);
}
.material-color {
  display: inline-block;
  padding: 1px 4px;
  font-size: 0.86em;
  line-height: 1.4;
  color: var(--material-text, #000);
  background: var(--material-color, var(--muted));
}
[hidden] {
  display: none !important;
}
.site-header {
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  background: #000;
}
.header-left {
  --breadcrumb-gap: 16px;
  display: flex;
  align-items: center;
  gap: var(--breadcrumb-gap);
  min-width: 0;
}
.page-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.breadcrumb-separator {
  color: var(--muted);
}
.header-left > a,
.breadcrumb-separator {
  flex-shrink: 0;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-shrink: 0;
}
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.text-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  font-size: 24px;
  line-height: 1;
}
.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 1;
}
.site-menu {
  position: absolute;
  right: 28px;
  top: 65px;
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 14px !important;
  background: #080808;
  border: 1px solid var(--line);
  padding: 24px;
  min-width: 240px;
}
.site-menu-divider {
  width: 100%;
  margin: 2px 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.sculpture-filters {
  position: sticky;
  top: var(--header-height);
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 4px 16px;
  margin: 0;
  padding: 8px 28px;
  background: #000;
}
.sculpture-filters fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.sculpture-material-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
}
.sculpture-material-options label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  white-space: nowrap;
  cursor: pointer;
}
.sculpture-material-options:has(input:checked) input:not(:checked) + span {
  opacity: 0.5;
}
.sculpture-material-options input:focus-visible + span {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}
.sculpture-filter-status {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  color: var(--muted);
  white-space: nowrap;
}
.sculpture-empty {
  margin: 45px 28px;
  color: var(--muted);
}
@media (max-width: 800px) {
  .sculpture-filters {
    gap: 4px 12px;
    padding: 4px 16px;
  }
  .sculpture-empty {
    margin: 30px 16px;
  }
}
.exhibition {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 100px 32px;
  align-items: start;
  padding: 45px 28px 100px;
}
.series-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 60px 32px;
  padding: 40px 28px 100px;
}
.series-card {
  min-width: 0;
  margin: 0;
}
.series-card figcaption {
  padding-top: 14px;
}
.work {
  --span: 5;
  grid-column: 1 / span var(--span);
  min-width: 0;
  margin: 0;
  transform: translateY(var(--shift, 0px));
}
.work[data-size="small"] {
  --span: 3;
}
.work[data-size="large"] {
  --span: 7;
}
.work:nth-child(2n of :not([hidden])) {
  grid-column: calc(13 - var(--span)) / span var(--span);
  margin-top: 140px;
}
.work:nth-child(6n + 3 of :not([hidden])) {
  grid-column: 2 / span var(--span);
}
.work:nth-child(6n + 4 of :not([hidden])) {
  margin-top: 90px;
}
.work-image {
  display: block;
}
.work figcaption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  align-items: baseline;
  padding-top: 14px;
}
.work figcaption > a:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.work figcaption > span {
  white-space: nowrap;
}
.work figcaption > .work-material {
  grid-column: 1 / -1;
  white-space: normal;
}
.work figcaption .primary,
.work figcaption .primary:hover {
  margin-left: auto;
  padding: 0;
  border: 0;
  color: var(--buy);
  background: none;
}
.action {
  display: inline-block;
  white-space: nowrap;
  padding: 8px 12px;
  border: 1px solid #444;
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
}
.action:hover {
  border-color: var(--accent);
}
.primary {
  background: var(--buy);
  color: #000;
  border-color: var(--buy);
}
.primary:hover {
  color: #000;
  background: var(--buy);
  border-color: var(--buy);
}
.primary:disabled {
  background: #444;
  border-color: #444;
  color: #aaa;
}
.product-page {
  padding: 42px 28px 100px;
}
.product-overview {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  align-items: start;
  gap: 48px;
}
.product-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}
.product-image {
  display: block;
  cursor: zoom-in;
}
.product-video {
  min-width: 0;
  margin: 0;
}
.product-video video {
  display: block;
  width: 100%;
  height: auto;
  background: #111;
  object-fit: contain;
}
.product-video figcaption {
  margin-top: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.product-information {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.product-information p {
  color: var(--muted);
}
.product-inquiry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.product-inquiry .action {
  white-space: normal;
}
.related-products {
  margin-top: 48px;
}
.related-products h2 {
  margin-bottom: 18px;
}
.related-product-list {
  display: grid;
  gap: 20px;
}
.related-product {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.related-product img {
  width: 80px;
  max-height: 110px;
  object-fit: contain;
  flex: 0 0 80px;
}
.related-product-copy {
  display: grid;
  min-width: 0;
  overflow-wrap: anywhere;
}
dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  margin: 24px 0;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
}
.series-intro {
  max-width: 600px;
  color: var(--muted);
  margin-bottom: 36px;
}
.animal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 28px;
}
.animal-grid article {
  min-width: 0;
}
.animal-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
}
.animal-name {
  flex: 1 1 100%;
}
.animal-caption > span:nth-child(2) {
  margin-right: auto;
}
.animal-grid article {
  scroll-margin-top: calc(var(--header-height) + 24px);
}
.animal-plus,
.animal-plus:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--buy);
  min-width: 34px;
  min-height: 34px;
  line-height: 1;
}
@media (min-width: 1100px) {
  .animal-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (min-width: 1400px) {
  .animal-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}
.animal-caption input,
.quantity-controls input {
  width: 65px;
  margin: 0;
  padding: 5px;
}
.cart-page {
  padding: 42px 28px 100px;
}
.cart-page h1 {
  margin-bottom: 0;
}
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: start;
}
.cart-line {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-content {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
.cart-item-price {
  grid-column: 3;
  grid-row: 1;
  white-space: nowrap;
}
.cart-line-unavailable .cart-item-content {
  grid-column: 1 / 3;
}
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.cart-page #cart-summary,
.checkout-summary {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.quantity-controls > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 34px;
}
.quantity-controls input {
  appearance: textfield;
  -moz-appearance: textfield;
  text-align: center;
}
.quantity-controls input::-webkit-inner-spin-button,
.quantity-controls input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.checkout-page {
  padding: 42px 28px 100px;
}
.checkout-layout fieldset {
  margin-top: 0;
}
.checkout-layout form {
  max-width: 650px;
}
fieldset {
  padding: 0;
  border: 0;
  margin: 25px 0;
}
label {
  display: block;
  color: var(--muted);
  margin-bottom: 18px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  background: #080808;
  border: 1px solid #353535;
  border-radius: 0;
  padding: 10px 12px;
  margin-top: 7px;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
}
.total-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 0;
}
.total-row:last-child {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin: 12px 0 20px;
}
.error {
  color: #ff9c8c;
  margin-top: 15px;
}
.prose {
  max-width: 840px;
  padding: 40px 28px 100px;
}
.prose section,
.prose article {
  margin-bottom: 30px;
}
.prose h2 {
  margin-bottom: 16px;
}
.prose img {
  max-width: 600px;
  margin-bottom: 30px;
}
.prose p,
.prose li {
  color: var(--muted);
}
.prose a {
  text-decoration: underline;
  color: #fff;
}
.prose strong {
  font-weight: 400;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
dialog {
  color: inherit;
  background: #080808;
  border: 1px solid #333;
  padding: 28px;
  width: min(620px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #000c;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.product-lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 28px;
  border: 0;
  background: #000;
  overflow: hidden;
}
.product-lightbox[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
}
.product-lightbox form {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 1;
}
.product-lightbox-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 8px;
  background: #000c;
}
.product-lightbox-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 50%;
  z-index: 1;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  background: #000c;
  line-height: 1;
}
.product-lightbox-prev {
  left: 20px;
}
.product-lightbox-next {
  right: 20px;
}
.product-lightbox img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 24px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 14px 24px;
  border: 1px solid var(--line);
  max-width: 90%;
  width: max-content;
  z-index: 50;
}
@media (max-width: 800px) {
  :root {
    font-size: 13px;
    --header-height: 62px;
  }
  .site-header {
    padding: 20px 16px;
    gap: 12px;
  }
  .site-header nav {
    gap: 15px;
  }
  .header-left {
    --breadcrumb-gap: 8px;
  }
  .header-left:has(.page-title) .site-brand,
  .breadcrumb-brand-separator {
    display: none;
  }
  .header-left .breadcrumb-link ~ .breadcrumb-link,
  .header-left .breadcrumb-link ~ .breadcrumb-link + .breadcrumb-separator {
    display: none;
  }
  .site-menu {
    right: 16px;
    top: 65px;
  }
  .exhibition {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 65px 18px;
    padding: 25px 16px 70px;
  }
  .series-index {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 25px 16px 70px;
  }
  .work {
    --span: 5;
    transform: none;
  }
  .work[data-size="large"] {
    --span: 6;
  }
  .work[data-size="small"] {
    --span: 4;
  }
  .work:nth-child(2n of :not([hidden])) {
    grid-column: calc(7 - var(--span)) / span var(--span);
    margin-top: 0;
  }
  .work:nth-child(6n + 3 of :not([hidden])) {
    grid-column: 1 / span var(--span);
  }
  .work figcaption {
    gap: 6px 16px;
  }
  .product-page {
    padding: 14px 16px 70px;
  }
  .product-overview {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .product-information {
    position: static;
    grid-row: 1;
  }
  .product-images {
    gap: 24px 16px;
  }
  .animal-grid {
    gap: 30px 18px;
  }
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cart-page #cart-summary,
  .checkout-summary {
    position: static;
  }
  .cart-page,
  .prose {
    padding-left: 16px;
    padding-right: 16px;
  }
  .cart-line {
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 14px;
  }
  .checkout-page {
    padding: 14px 16px 70px;
  }
  dialog {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .work {
    transform: none !important;
  }
}

/* Administration uses the same global controls and typography. */
.admin-header {
  position: static;
  height: auto;
  min-height: var(--header-height);
  padding-block: 14px;
}
.admin-header > a {
  white-space: nowrap;
}
.admin-connection {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  white-space: nowrap;
}
.connection-dot {
  color: #64d98b;
  line-height: 1;
  flex-shrink: 0;
}
.admin-shell {
  width: 100%;
  padding: 24px 28px 100px;
}
.admin-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.admin-sidebar {
  position: sticky;
  top: 24px;
  min-height: calc(100dvh - 120px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}
.admin-navigation {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px;
}
.admin-navigation button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  text-align: left;
  color: var(--muted);
  border-left: 2px solid transparent;
}
.admin-navigation button:hover,
.admin-navigation button[aria-current="page"] {
  color: var(--accent);
  background: #0b0b0b;
}
.admin-navigation button[aria-current="page"] {
  border-left-color: var(--accent);
}
.admin-nav-toggle {
  display: none;
}
.admin-content {
  min-width: 0;
}
.admin-section-title {
  margin-bottom: 28px;
}
.admin-content .table-wrap {
  max-width: 100%;
}
.admin-content .table-wrap.is-overflowing {
  overflow-x: auto;
}
#admin-error:empty {
  display: none;
}
#tab-products th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #000;
  box-shadow: inset 0 -1px var(--line);
}
.login {
  max-width: 420px;
  margin: 70px auto;
}
.login h1 {
  margin-bottom: 12px;
}
.tabs {
  display: flex;
  gap: 38px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.tabs button {
  padding: 0 0 15px;
  color: var(--muted);
}
.tabs button[aria-current="page"] {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}
.section-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 25px;
}
.section-tools p {
  margin: 0;
}
#product-tools {
  flex-wrap: wrap;
}
.product-filters {
  display: flex;
  flex: 1;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  min-width: 0;
}
.product-filters .filter-label {
  flex: 0 1 280px;
  min-width: min(240px, 100%);
  max-width: 100%;
}
.material-filter {
  color: var(--muted);
}
#product-material-filter {
  position: relative;
  margin-top: 7px;
  color: #f2f2f2;
}
#product-material-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 45px;
  max-width: 360px;
  padding: 10px 30px 10px 12px;
  border: 1px solid var(--line);
  cursor: pointer;
  list-style: none;
}
#product-material-summary::-webkit-details-marker {
  display: none;
}
#product-material-summary::after {
  content: "⌄";
  position: absolute;
  right: 10px;
}
.material-filter-panel {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  z-index: 5;
  width: 300px;
  max-width: calc(100vw - 56px);
  padding: 16px;
  border: 1px solid var(--line);
  background: #0b0b0b;
}
.material-filter-panel p {
  margin-bottom: 12px;
}
#product-material-options {
  display: grid;
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
  padding: 4px;
}
.material-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}
.material-filter-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
}
#clear-material-filter {
  margin-top: 14px;
}
.table-wrap {
  overflow: visible;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-weight: 400;
  color: var(--muted);
  padding: 15px 20px 15px 0;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--line);
}
.product-cell {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 280px;
}
.product-cell > span:last-child {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.product-cell img,
.product-grip {
  flex-shrink: 0;
}
#tab-products td:first-child {
  width: 100%;
}
#product-search {
  appearance: none;
  width: 12ch;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  line-height: inherit;
}
#product-search::placeholder {
  color: inherit;
  opacity: 1;
}
#product-search:focus {
  outline: none;
  box-shadow: 0 1px 0 var(--accent);
}
#product-search::-webkit-search-cancel-button {
  appearance: none;
}
.product-cell img {
  height: auto;
  width: 70px;
  object-fit: contain;
}
.status {
  color: var(--accent);
}
.editor {
  width: min(1560px, calc(100% - 32px));
}
.editor-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
}
.editor-columns label {
  margin-bottom: 12px;
}
textarea[name="additional_notes"] {
  min-height: 78px;
  height: 78px;
}
#editor-photos {
  max-height: 360px;
  overflow-y: auto;
}
#editor-videos {
  max-height: 400px;
  overflow-y: auto;
}
.editor-video {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.editor-video video {
  display: block;
  width: 100%;
  max-height: 180px;
  margin-bottom: 8px;
}
.editor-video-tools {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}
.editor-video textarea {
  min-height: 60px;
}
#video-dropzone.drag-over {
  outline: 2px solid var(--accent);
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}
.checkbox input {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
}
.editor-photo {
  cursor: grab;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.editor-photo img {
  pointer-events: none;
  width: 56px;
  height: auto;
  object-fit: contain;
}
.editor-photo button {
  padding: 10px;
}
.upload-label {
  cursor: pointer;
  margin-top: 12px;
}
.upload-label input {
  max-width: 100%;
  padding: 0;
  border: 0;
  margin-top: 15px;
}
#photo-dropzone {
  border: 1px dashed var(--line);
  padding: 16px;
}
#photo-dropzone.drag-over {
  border-color: var(--buy);
}
.order,
.zone {
  border: 1px solid var(--line);
  padding: 24px;
  margin-bottom: 20px;
}
.order-top,
.zone-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.order-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.order-body p {
  color: var(--muted);
  white-space: pre-line;
}
.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.order-lines {
  padding-bottom: 20px;
}
.order-total {
  padding: 12px 0;
  color: var(--accent);
}
.zone .muted {
  overflow-wrap: anywhere;
}
#zone-countries-preview {
  max-height: 180px;
  overflow-y: auto;
  overflow-wrap: anywhere;
}
.empty {
  padding: 50px 0;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .admin-header {
    flex-wrap: wrap;
    gap: 12px 24px;
  }
  .admin-header > a {
    flex: 1;
    min-width: 0;
    white-space: normal;
  }
}
@media (min-width: 801px) and (max-width: 1100px) {
  .editor-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .admin-shell {
    padding: 20px 16px 70px;
  }
  .admin-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .admin-sidebar {
    position: static;
    min-height: 0;
    max-height: none;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .admin-nav-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    color: var(--muted);
  }
  .admin-nav-toggle::after {
    content: "+";
  }
  .admin-nav-toggle[aria-expanded="true"]::after {
    content: "−";
  }
  .admin-nav-toggle[aria-expanded="false"] + .admin-navigation {
    display: none;
  }
  .admin-navigation {
    margin-bottom: 12px;
  }
  .section-tools {
    align-items: start;
    flex-direction: column;
  }
  .tabs {
    gap: 20px;
  }
  .editor-columns,
  .order-body {
    grid-template-columns: 1fr;
  }
  .order-top {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .animal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.filter-label {
  margin: 0;
  min-width: 240px;
}

.quantity-controls button[aria-label^="Increase"] {
  color: var(--buy);
}

.animal-image {
  display: block;
  width: 100%;
}
.editor-photo.dragging {
  opacity: 0.45;
}

[data-cart-count] {
  color: var(--buy);
}
.country-picker {
  position: relative;
  margin-top: 7px;
  color: #f2f2f2;
}
.country-picker input {
  margin: 0;
  padding-right: 38px;
}
.country-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 100%;
}
.country-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 270px;
  overflow-y: auto;
  background: #080808;
  border: 1px solid #353535;
  z-index: 30;
}
.country-options button {
  display: block;
  width: 100%;
  padding: 8px 12px;
  text-align: left;
}
.country-options button[aria-selected="true"] {
  color: var(--buy);
  background: #181818;
}
.country-options > div {
  padding: 8px 12px;
}

.contact-page {
  max-width: none;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.contact-photo img {
  max-width: none;
  margin: 0;
}
@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
  padding-top: 16px;
}
.mail-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}
.mail-preview {
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding-top: 24px;
}
@media (max-width: 800px) {
  .mail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tabs {
    flex-wrap: wrap;
  }
}
.danger {
  color: #ff9c8c;
}

#product-rows tr[draggable="true"],
.product-grip {
  cursor: grab;
}
#product-rows .dragging {
  opacity: 0.4;
}
#product-rows .drop-before td {
  box-shadow: inset 0 2px var(--buy);
}
#product-rows .drop-after td {
  box-shadow: inset 0 -2px var(--buy);
}

#product-form {
  display: flex;
  flex-direction: column;
  max-height: calc(90dvh - 58px);
}
#product-form .editor-columns {
  min-height: 0;
  overflow-y: auto;
}
#product-form .dialog-top {
  flex-shrink: 0;
}
.dialog-tools {
  display: flex;
  align-items: center;
  gap: 24px;
}
.dialog-tools .checkbox {
  margin: 0;
  white-space: nowrap;
}
#product-form textarea[name="description"] {
  height: 200px;
  min-height: 200px;
}
.material-field {
  margin: 0 0 12px;
  color: var(--muted);
}
.material-tags,
.note-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 7px;
}
.material-tags .material-tag {
  margin: 0;
  cursor: pointer;
}
.material-tag > span {
  display: block;
  border: 1px solid transparent;
  overflow-wrap: anywhere;
}
.material-tag input:checked + span,
.material-filter-option input:checked + span {
  outline: 1px solid #f2f2f2;
  outline-offset: 2px;
}
.material-tag input:focus-visible + span {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .dialog-tools {
    gap: 12px;
  }
  #product-form .dialog-top {
    flex-wrap: wrap;
    gap: 12px;
  }
}

#product-error:empty {
  display: none;
}

.withdrawal-link {
  color: var(--buy);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.checkout-legal {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.purchase-note,
.cart-item-specs,
.checkout-item-specs {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.purchase-note {
  font-size: 12px;
  margin: 16px 0;
}
.purchase-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.shipping-legal {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.shipping-legal summary {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.shipping-legal h3 {
  margin-top: 24px;
}
.checkout-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.checkout-item-specs {
  margin: 8px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 4px 12px;
  overflow-wrap: anywhere;
}
.checkout-item-specs dd {
  margin: 0;
  white-space: pre-line;
}
.cart-item-specs {
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.checkout-legal a,
.guarantee-link {
  text-decoration: underline;
}
.guarantee-notice {
  margin: 16px 0;
  font-size: 13px;
}
.guarantee-notice summary {
  cursor: pointer;
  text-decoration: underline;
}
.guarantee-notice img {
  display: block;
  width: 100%;
  height: auto;
  margin: 16px 0;
}
.guarantee-notice > a {
  text-decoration: underline;
}
.guarantee-artwork {
  width: min(100%, 595px);
  padding: 12px;
  margin: 16px 0;
  background: #fff;
}
.guarantee-artwork img,
.prose .guarantee-artwork .legal-guarantee {
  width: 100%;
  height: auto;
  margin: 0;
  background: #fff;
}
.guarantee-link {
  display: block;
  margin: 16px 0;
  font-size: 13px;
}
.prose .legal-guarantee {
  display: block;
  width: min(100%, 595px);
  height: auto;
  margin: 24px 0;
}
.model-withdrawal-form,
.withdrawal-receipt {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--muted);
  font: inherit;
  padding: 20px;
  border: 1px solid var(--line);
}
.withdrawal-page form {
  margin-top: 32px;
}
.buying-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 24px 0 36px;
}
.buying-page section,
#withdrawal-instructions {
  scroll-margin-top: 90px;
}
.buying-page h3 {
  margin: 20px 0 12px;
}
@media print {
  .site-header nav,
  .withdrawal-page form {
    display: none;
  }
  body,
  .prose,
  .prose p,
  .prose a,
  .withdrawal-receipt {
    color: #000;
    background: #fff;
  }
}

.measurements {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.related-field {
  min-width: 0;
  margin: 0;
}
.related-field p {
  margin: 8px 0 12px;
}
.related-options {
  max-height: 260px;
  overflow-y: auto;
  margin-top: 8px;
}
.editor-columns .related-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  color: inherit;
}
.related-option input {
  width: auto;
  margin: 0;
  accent-color: var(--buy);
  flex: 0 0 auto;
}
.related-option img,
.related-image-placeholder {
  width: 44px;
  max-height: 65px;
  object-fit: contain;
  flex: 0 0 44px;
}
.related-option > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.related-details {
  display: block;
}

.mail-tabs {
  margin-bottom: 24px;
}
.shipment-editor {
  max-width: 1000px;
}
.shipment-editor .mail-layout > *,
.order-body > * {
  min-width: 0;
}
.order-shipment {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  overflow-wrap: anywhere;
}
.shipment-note {
  white-space: pre-wrap;
  margin: 12px 0;
}
.order-shipment .muted {
  margin-top: 12px;
}
.shipment-editor .mail-preview {
  padding-top: 12px;
}

/* Promo codes share the existing cart and admin form styles. */
#promo-code-controls {
  margin: 24px 0;
}
.promo-code-form label {
  margin-bottom: 8px;
}
.promo-code-entry {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.promo-code-entry input {
  min-width: 0;
  flex: 1;
  text-transform: uppercase;
}
.promo-code-entry button {
  flex: 0 0 auto;
}
.promo-remove {
  margin-top: 12px;
}
#promo-message {
  margin: 12px 0 0;
}
#promo-message:empty {
  display: none;
}
#promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
