:root {
  --ox-bg: #fff;
  --ox-ink: #562b3a;
  --ox-muted: #96737f;
  --ox-soft: #f7f3f4;
  --ox-line: #e6d6dc;
  --ox-pink: #ebcbd7;
  --ox-pink-strong: #efb9cd;
  --ox-card: #fff;
  --ox-shadow: 0 18px 38px rgba(86, 43, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f3eef0;
  color: var(--ox-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.4;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  text-decoration: none;
}

.mobile-shell {
  position: relative;
  width: min(100%, 460px);
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--ox-bg);
  box-shadow: 0 0 0 1px rgba(86, 43, 58, 0.08);
}

.ox-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--ox-soft);
  backdrop-filter: blur(16px);
}

.brand {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ox-ink);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--ox-soft);
  border-radius: 999px;
}

.icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  justify-items: end;
  width: min(100%, 460px);
  margin: 0 auto;
  pointer-events: none;
  background: rgba(86, 43, 58, 0);
  transition: background 0.22s ease;
}

.mobile-menu.is-open {
  pointer-events: auto;
  background: rgba(86, 43, 58, 0.22);
}

.menu-panel {
  width: min(86vw, 350px);
  min-height: 100%;
  padding: 18px;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.24s ease;
}

.mobile-menu.is-open .menu-panel {
  transform: translateX(0);
}

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ox-line);
  font-family: Forum, Georgia, serif;
  font-size: 34px;
}

.menu-close {
  width: 40px;
  height: 40px;
  color: var(--ox-ink);
  background: var(--ox-soft);
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

.menu-links {
  display: grid;
  gap: 8px;
  padding: 22px 0;
}

.menu-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  background: var(--ox-soft);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 400;
}

.menu-links a:nth-child(2) {
  background: var(--ox-pink);
}

.menu-card {
  margin-top: 8px;
  padding: 18px;
  background: var(--ox-ink);
  color: #fff;
  border-radius: 8px;
}

.menu-card p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.menu-card a {
  font-size: 18px;
  font-weight: 600;
}

main {
  padding-bottom: 92px;
}

.hero {
  padding: 12px 15px 10px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--ox-muted);
  font-size: 12px;
  font-weight: 300;
}

.breadcrumbs span:last-child {
  color: var(--ox-pink-strong);
}

.benefit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.benefit-card {
  display: grid;
  gap: 5px;
  min-height: 58px;
  padding: 10px 12px;
  background:
    repeating-linear-gradient(135deg, rgba(86, 43, 58, 0.035) 0 1px, transparent 1px 5px),
    #f3f1f1;
  border: 1px solid #d8d1d4;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.benefit-card:nth-child(2) {
  background:
    repeating-linear-gradient(155deg, rgba(86, 43, 58, 0.04) 0 1px, transparent 1px 6px),
    #f5f3f3;
}

.benefit-card span {
  color: var(--ox-muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.benefit-card strong {
  color: #5f5559;
  font-size: 12px;
  font-weight: 450;
  line-height: 1.18;
}

.category-view,
.products-view,
.product-detail-view {
  display: none;
  padding: 0 15px 24px;
}

.category-view.is-active,
.products-view.is-active,
.product-detail-view.is-active {
  display: block;
}

.category-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.category-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 82px;
  overflow: hidden;
  padding: 10px;
  background: var(--ox-soft);
  border: 1px solid var(--ox-line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(86, 43, 58, 0.06);
  transform: scale(1);
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  will-change: transform;
}

.category-card:first-child {
  background: var(--ox-pink);
}

.category-card.is-pressing {
  background: #efd7df;
  border-color: #dda6ba;
  box-shadow: 0 14px 26px rgba(86, 43, 58, 0.14);
  transform: scale(1.035);
}

.category-card:first-child.is-pressing {
  background: #efb9cd;
}

.category-card div {
  min-width: 0;
}

.category-card h2 {
  margin: 0;
  font-family: Forum, Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  overflow-wrap: anywhere;
}

.category-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 5px 8px rgba(86, 43, 58, 0.12));
}

.catalog-preview {
  margin-top: 22px;
}

.section-title {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.section-title span,
.online-orders > span {
  color: var(--ox-muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.section-title h2,
.online-orders h2 {
  margin: 0;
  font-family: Forum, Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.back-button,
.sort-pill,
.chip {
  min-height: 36px;
  padding: 0 14px;
  color: var(--ox-ink);
  background: var(--ox-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 400;
}

.sort-pill {
  display: inline-flex;
  align-items: center;
  color: var(--ox-muted);
}

.chips {
  display: flex;
  gap: 8px;
  margin: 0 -15px 16px;
  padding: 0 15px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  white-space: nowrap;
}

.chip.is-active {
  background: var(--ox-pink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 10px;
}

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--ox-card);
  border: 1px solid var(--ox-soft);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(86, 43, 58, 0.07);
}

.product-card[data-product] {
  cursor: pointer;
}

.product-gallery {
  display: flex;
  aspect-ratio: 9 / 16;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  background: var(--ox-soft);
}

.product-gallery::-webkit-scrollbar {
  display: none;
}

.product-gallery img,
.product-gallery video {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.product-gallery video {
  background: #000;
}

.product-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  min-height: 14px;
  padding: 6px 0 2px;
}

.product-dots span {
  width: 4px;
  height: 4px;
  background: #d8c5cc;
  border-radius: 999px;
}

.product-dots span:first-child {
  width: 12px;
  background: var(--ox-ink);
}

.favorite {
  position: absolute;
  top: 8px;
  right: 8px;
  display: block;
  width: 32px;
  height: 32px;
  overflow: hidden;
  color: transparent;
  background-color: transparent;
  background-image: url("/oxapki-assets/heart-glass-empty.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 30px 30px;
  border: 0;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  border-radius: 0;
  font-size: 0;
  line-height: 0;
  text-shadow: none;
  filter: drop-shadow(0 3px 7px rgba(86, 43, 58, 0.22));
}

.favorite:focus,
.favorite:focus-visible,
.favorite:active {
  outline: none;
}

.favorite.is-active {
  background-color: transparent;
  background-image: url("/oxapki-assets/heart-glass-full.svg");
  filter: drop-shadow(0 4px 9px rgba(236, 93, 157, 0.32));
}

.product-info {
  display: grid;
  gap: 6px;
  padding: 10px;
}

.product-info h2 {
  min-height: 34px;
  margin: 0;
  color: var(--ox-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}

.product-info p {
  min-height: 32px;
  margin: 0;
  color: var(--ox-muted);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.35;
}

.product-bottom {
  display: grid;
  gap: 8px;
}

.product-bottom button {
  min-height: 34px;
  color: var(--ox-ink);
  background: var(--ox-pink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.detail-card {
  display: grid;
  gap: 16px;
}

.detail-media-layout {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.detail-thumbs {
  display: grid;
  gap: 8px;
}

.detail-thumbs button,
.detail-strip button {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  background: var(--ox-soft);
  border: 1px solid var(--ox-line);
  border-radius: 8px;
}

.detail-thumbs button {
  aspect-ratio: 1 / 1;
}

.detail-thumbs button.is-active {
  border-color: var(--ox-pink-strong);
  box-shadow: 0 8px 18px rgba(86, 43, 58, 0.12);
}

.detail-thumbs img,
.detail-thumbs video,
.detail-strip img,
.detail-main-media img,
.detail-main-media video,
.detail-hero-media img,
.detail-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-main-media {
  display: flex;
  overflow: hidden;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  aspect-ratio: 4 / 5;
  background: var(--ox-soft);
  border-radius: 8px;
}

.detail-main-media::-webkit-scrollbar {
  display: none;
}

.detail-main-media img,
.detail-main-media video {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.detail-card h1 {
  margin: 0;
  font-family: Forum, Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 0.95;
}

.detail-hero-media {
  overflow: hidden;
  aspect-ratio: 9 / 12;
  background: var(--ox-soft);
  border-radius: 8px;
}

.detail-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.detail-strip button {
  aspect-ratio: 1 / 1;
}

.detail-copy {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: var(--ox-soft);
  border: 1px solid var(--ox-line);
  border-radius: 8px;
}

.detail-copy span {
  color: var(--ox-muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.detail-copy h2 {
  margin: 0;
  color: var(--ox-ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
}

.detail-copy p {
  margin: 0;
  color: var(--ox-muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.45;
}

.detail-copy strong {
  color: var(--ox-ink);
  font-size: 22px;
  font-weight: 700;
}

.detail-copy button {
  min-height: 48px;
  color: #fff;
  background: var(--ox-ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.add-section,
.gifts-section,
.detail-catalog {
  margin-top: 24px;
}

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

.add-grid article {
  display: grid;
  gap: 6px;
  min-height: 72px;
  padding: 12px;
  background: #f5f1f2;
  border: 1px solid var(--ox-line);
  border-radius: 8px;
}

.add-grid span {
  color: var(--ox-ink);
  font-size: 13px;
  font-weight: 500;
}

.add-grid strong {
  color: var(--ox-muted);
  font-size: 12px;
  font-weight: 500;
}

.gift-row {
  display: grid;
  gap: 10px;
}

.gift-row article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--ox-line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(86, 43, 58, 0.05);
}

.gift-row img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.gift-row h3 {
  margin: 0 0 4px;
  color: var(--ox-ink);
  font-size: 15px;
  font-weight: 600;
}

.gift-row p {
  margin: 0;
  color: var(--ox-muted);
  font-size: 12px;
  line-height: 1.35;
}

.online-orders {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 20px 16px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 0, rgba(235, 203, 215, 0.34), transparent 35%),
    linear-gradient(145deg, #6a3448 0%, #562b3a 74%);
  border-radius: 8px;
  box-shadow: var(--ox-shadow);
}

.online-orders > span {
  color: rgba(255, 255, 255, 0.7);
}

.online-orders h2 {
  max-width: 260px;
  color: #fff;
  font-size: 34px;
}

.online-orders p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.45;
}

.online-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 2px;
}

.online-actions a {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 0 8px;
  color: var(--ox-ink);
  background: #f4dce5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.online-actions a:first-child {
  background: #fff;
}

.delivery-bar {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: min(calc(100% - 24px), 436px);
  min-height: 64px;
  padding: 9px 9px 9px 16px;
  color: #fff;
  background: rgba(86, 43, 58, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: var(--ox-shadow);
  transform: translate(-50%, 110px);
  transition: transform 0.24s ease;
  backdrop-filter: blur(16px);
}

.delivery-bar.is-visible {
  transform: translate(-50%, 0);
}

.delivery-phone {
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.delivery-bar button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 16px;
  color: var(--ox-ink);
  background: var(--ox-pink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

@media (min-width: 420px) {
  .product-grid {
    gap: 16px 12px;
  }
}

body.admin-mode {
  background: #ece6e9;
}

body.admin-mode .mobile-shell {
  margin-left: max(12px, calc((100vw - 900px) / 2));
  margin-right: 420px;
}

body.admin-mode [data-admin-selected] {
  outline: 2px solid #e85d9c;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(232, 93, 156, 0.12), 0 12px 30px rgba(86, 43, 58, 0.16);
}

body.admin-mode .product-card,
body.admin-mode .category-card,
body.admin-mode .detail-copy,
body.admin-mode .detail-media-layout,
body.admin-mode .online-orders,
body.admin-mode .add-grid article,
body.admin-mode .gift-row article {
  cursor: crosshair;
}

.admin-panel {
  position: fixed;
  top: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr) auto auto;
  gap: 12px;
  width: min(392px, calc(100vw - 24px));
  padding: 14px;
  color: #34222a;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(86, 43, 58, 0.14);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(86, 43, 58, 0.18);
  transform: translateY(0);
  transition: transform 0.22s ease;
  backdrop-filter: blur(18px);
}

.admin-panel.is-collapsed {
  transform: translateY(60%);
}

.admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.admin-head button {
  flex: 0 0 auto;
}

.admin-panel h2,
.admin-panel h3,
.admin-panel p {
  margin: 0;
}

.admin-panel h2 {
  font-size: 18px;
  font-weight: 700;
}

.admin-panel p {
  color: #80636e;
  font-size: 12px;
  line-height: 1.4;
}

.admin-tabs,
.admin-actions,
.admin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-panel button,
.admin-panel label {
  -webkit-tap-highlight-color: transparent;
}

.admin-panel button {
  min-height: 34px;
  padding: 0 11px;
  color: #562b3a;
  background: #f5eef1;
  border: 1px solid #e5d2da;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.admin-panel button.is-active,
.admin-panel button.admin-primary {
  color: #fff;
  background: #562b3a;
  border-color: #562b3a;
}

.admin-panel button.admin-danger {
  color: #9c1d45;
  background: #ffeaf1;
  border-color: #f5bfd0;
}

.admin-add-actions {
  gap: 5px;
}

.admin-add-actions button {
  min-height: 0;
  height: 26px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.admin-inspector {
  min-height: 0;
  overflow-y: auto;
  padding-right: 3px;
}

.admin-fieldset {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px;
  background: #faf7f8;
  border: 1px solid #eadde2;
  border-radius: 10px;
}

.admin-fieldset h3 {
  font-size: 13px;
  font-weight: 700;
}

.admin-field {
  display: grid;
  gap: 5px;
}

.admin-field span {
  color: #80636e;
  font-size: 11px;
  font-weight: 600;
}

.admin-field input,
.admin-field textarea {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  color: #34222a;
  background: #fff;
  border: 1px solid #e0cfd6;
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
}

.admin-field textarea {
  min-height: 78px;
  resize: vertical;
}

.admin-empty {
  display: grid;
  place-items: center;
  min-height: 130px;
  padding: 14px;
  text-align: center;
  background: #faf7f8;
  border: 1px dashed #d8c5cc;
  border-radius: 10px;
}

.admin-export {
  display: none;
  width: 100%;
  min-height: 120px;
  padding: 10px;
  color: #34222a;
  background: #fff;
  border: 1px solid #e0cfd6;
  border-radius: 8px;
  font: 11px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.admin-export.is-visible {
  display: block;
}

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

.admin-media-tile {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid #e6d6dc;
  border-radius: 10px;
}

.admin-media-tile img,
.admin-media-tile video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f7f3f4;
  border-radius: 8px;
}

.admin-media-tile strong {
  color: #562b3a;
  font-size: 11px;
  font-weight: 700;
}

.admin-media-controls {
  display: grid;
  grid-template-columns: 34px 34px minmax(0, 1fr);
  gap: 5px;
}

.admin-media-controls button {
  min-height: 32px;
  padding: 0 7px;
}

.admin-media-add {
  display: grid;
  gap: 8px;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid #eadde2;
}

@media (max-width: 900px) {
  body.admin-mode .mobile-shell {
    margin: 0 auto;
    padding-bottom: 520px;
  }

  body.admin-mode:has(.admin-panel.is-collapsed) .mobile-shell {
    padding-bottom: 230px;
  }

  .admin-panel {
    top: auto;
    left: 6px;
    right: 6px;
    bottom: 6px;
    width: auto;
    max-height: 500px;
    padding: 12px;
    gap: 10px;
    border-radius: 14px;
  }

  .admin-panel.is-collapsed {
    max-height: 500px;
    transform: translateY(60%);
  }

  .admin-panel {
    grid-template-rows: auto auto auto auto minmax(170px, 1fr) auto auto;
  }

  .admin-panel h2 {
    font-size: 16px;
  }

  .admin-panel button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .admin-add-actions {
    gap: 5px;
  }

  .admin-add-actions button {
    min-height: 0;
    height: 28px;
    padding: 0 9px;
    font-size: 11px;
    line-height: 1;
  }

  .admin-field input,
  .admin-field textarea {
    min-height: 42px;
    font-size: 14px;
  }

  .admin-media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-media-tile {
    padding: 6px;
  }

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

  .admin-media-controls .admin-danger {
    grid-column: 1 / -1;
  }
}
