:root {
  --bg: #fffaf7;
  --bg-rose: #fff1f4;
  --surface: #ffffff;
  --surface-warm: #fff7ee;
  --ink: #2d150e;
  --muted: #7d6257;
  --rose: #e95173;
  --rose-deep: #b83252;
  --gold: #d79b20;
  --teal: #4c9c9b;
  --cocoa: #5a2b1d;
  --line: #eadbd2;
  --shadow: 0 20px 50px rgba(79, 39, 24, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 250, 247, 0.9);
  border-bottom: 1px solid rgba(234, 219, 210, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--cocoa);
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--rose);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark.has-custom-logo svg {
  display: none;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
  font-weight: 800;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  color: var(--cocoa);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--rose);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--cocoa);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.section-band,
.section-pad {
  padding-right: clamp(18px, 4vw, 48px);
  padding-left: clamp(18px, 4vw, 48px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: clamp(42px, 7vw, 108px);
  align-items: center;
  max-width: 1440px;
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(52px, 8vw, 86px);
}

.hero-copy {
  max-width: 590px;
  min-width: 0;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 6.6em;
  font-size: clamp(3.1rem, 6.2vw, 5.9rem);
  line-height: 0.9;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
}

.hero-lead {
  max-width: 520px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.62;
}

.hero-actions,
.contact-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(233, 81, 115, 0.26);
  outline-offset: 2px;
}

.button svg {
  width: 19px;
  height: 19px;
}

.button-primary {
  color: #fff;
  background: var(--rose-deep);
  box-shadow: 0 12px 28px rgba(184, 50, 82, 0.22);
}

.button-primary:hover {
  background: #9d2945;
}

.button-secondary {
  color: var(--cocoa);
  background: var(--surface);
  border-color: var(--line);
}

.button-ghost {
  color: var(--cocoa);
  background: transparent;
  border-color: var(--line);
}

.hero-notes {
  display: grid;
  gap: 10px;
  max-width: 430px;
  margin-top: 34px;
}

.hero-notes span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cocoa);
  font-size: 0.96rem;
  font-weight: 700;
}

.hero-notes span::before {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--rose), var(--gold));
  border-radius: 999px;
  content: "";
}

.hero-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 16px;
  align-items: end;
}

.hero-main-image,
.hero-stack img,
.gift-media img,
.story-gallery img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-main-image {
  aspect-ratio: 0.94;
}

.hero-stack {
  display: grid;
  gap: 16px;
}

.hero-stack img {
  aspect-ratio: 0.78;
}

.section-pad {
  max-width: calc(var(--container) + 96px);
  margin: 0 auto;
  padding-top: clamp(76px, 9vw, 124px);
  padding-bottom: clamp(76px, 9vw, 124px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(30px, 5vw, 48px);
}

.section-heading p,
.gift-copy p,
.story-copy p,
.contact-copy p {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.catalog-tools {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: min(290px, 48vw);
  height: 46px;
  padding: 0 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.search-field svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.search-field input,
.catalog-tools select,
.product-form input,
.product-form select,
.product-form textarea {
  width: 100%;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.search-field input {
  height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
}

.catalog-tools select {
  height: 46px;
  padding: 0 34px 0 13px;
  font-weight: 700;
}

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

.product-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(79, 39, 24, 0.08);
}

.product-card[hidden] {
  display: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
}

.product-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-category {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stock {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.stock.is-out {
  color: var(--rose-deep);
}

.product-card h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.price {
  color: var(--cocoa);
  font-size: 1.3rem;
  font-weight: 800;
}

.price small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--cocoa);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.order-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 12px;
  color: #fff;
  background: var(--cocoa);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 800;
}

.order-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.order-button svg {
  width: 17px;
  height: 17px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 44px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.catalog-status {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.gift-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: clamp(80px, 10vw, 128px);
  padding-bottom: clamp(80px, 10vw, 128px);
  background:
    linear-gradient(90deg, rgba(255, 241, 244, 0.9), rgba(255, 250, 247, 0)),
    var(--bg);
}

.gift-media img {
  aspect-ratio: 0.82;
}

.gift-copy {
  max-width: 560px;
}

.gift-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
}

.gift-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cocoa);
  font-weight: 800;
}

.gift-list svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.story {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.story-copy {
  max-width: 410px;
}

.story-gallery {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.story-gallery img {
  aspect-ratio: 0.95;
}

.story-gallery img:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

.admin {
  padding-top: clamp(76px, 9vw, 116px);
  padding-bottom: clamp(76px, 9vw, 116px);
  background: var(--bg-rose);
}

.admin-page {
  min-height: 100vh;
  background: var(--bg-rose);
}

.admin-hero {
  display: grid;
  min-height: calc(100vh - 76px);
  place-items: center;
  padding-top: clamp(46px, 8vw, 90px);
  padding-bottom: clamp(46px, 8vw, 90px);
}

.auth-card {
  width: min(100%, 520px);
  padding: clamp(24px, 4vw, 38px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.auth-card h1 {
  font-size: clamp(2.7rem, 8vw, 4.5rem);
}

.auth-card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.login-form label {
  display: grid;
  gap: 8px;
  color: var(--cocoa);
  font-size: 0.84rem;
  font-weight: 800;
}

.login-form input {
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.auth-message {
  min-height: 24px;
  font-weight: 800;
}

.header-button {
  min-height: 40px;
  padding: 10px 14px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: var(--container);
  margin: 0 auto 22px;
}

.admin-tab {
  min-height: 44px;
  padding: 11px 16px;
  color: var(--cocoa);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-tab.is-active {
  color: #fff;
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  box-shadow: 0 12px 28px rgba(184, 50, 82, 0.16);
}

.admin-panel {
  max-width: var(--container);
  margin: 0 auto;
}

.admin > * {
  max-width: var(--container);
  margin-right: auto;
  margin-left: auto;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 410px) minmax(0, 1fr);
  gap: 22px;
}

.product-form,
.admin-table-wrap,
.settings-form,
.admin-section-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(79, 39, 24, 0.08);
}

.admin-section-block {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
  padding: 20px;
}

.admin-block-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
}

.admin-block-heading p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-subsection {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.admin-subsection h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.admin-subsection p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-form,
.settings-form,
.media-upload-form {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.settings-form,
.media-upload-form {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.media-upload-form {
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 1fr) auto;
  align-items: end;
}

.product-form label,
.settings-form label,
.media-upload-form label {
  display: grid;
  gap: 8px;
  color: var(--cocoa);
  font-size: 0.84rem;
  font-weight: 800;
}

.product-form input,
.product-form select,
.product-form textarea,
.settings-form input,
.settings-form select,
.settings-form textarea,
.media-upload-form input {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 0.94rem;
  font-weight: 500;
}

.product-form textarea,
.settings-form textarea {
  resize: vertical;
}

.form-row,
.toggle-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-row-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-preview-wrap {
  overflow: hidden;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.image-preview-wrap img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.field-image-preview {
  width: 100%;
  max-width: 170px;
  aspect-ratio: 1.4;
  object-fit: cover;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checkbox-control {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
  min-height: 44px;
  padding: 10px 12px;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checkbox-control input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--rose-deep);
}

.admin-table-wrap {
  overflow: hidden;
}

.admin-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.admin-table-header strong {
  font-size: 1rem;
}

.admin-table-header span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.admin-table {
  display: grid;
}

.media-header {
  padding: 0;
  border-bottom: 0;
}

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

.media-card {
  overflow: hidden;
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.media-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
}

.media-card span {
  display: block;
  color: var(--cocoa);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.25;
}

.media-card button {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--rose-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.media-card button svg {
  width: 16px;
  height: 16px;
}

.admin-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 96px 88px 92px;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.admin-row:last-child {
  border-bottom: 0;
}

.admin-row img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: var(--radius);
}

.admin-row strong,
.admin-row span {
  display: block;
}

.admin-row strong {
  overflow: hidden;
  font-size: 0.95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 10px;
  color: var(--cocoa);
  background: var(--surface-warm);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
}

.status-chip.is-muted {
  color: var(--muted);
}

.row-actions {
  display: flex;
  justify-content: end;
  gap: 8px;
}

.row-actions button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--cocoa);
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.row-actions svg {
  width: 17px;
  height: 17px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-copy {
  max-width: 600px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 4vw, 48px);
  color: var(--muted);
  background: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #fff;
  opacity: 0.82;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  opacity: 1;
}

.legal-page {
  max-width: 980px;
}

.legal-content {
  padding: clamp(30px, 5vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(79, 39, 24, 0.08);
}

.legal-content h1 {
  max-width: none;
  font-size: clamp(2.7rem, 7vw, 5rem);
}

.legal-content h2 {
  margin-top: 34px;
  font-family: inherit;
  font-size: 1.2rem;
  line-height: 1.25;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.75;
}

.legal-date {
  color: var(--cocoa) !important;
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: min(340px, calc(100vw - 36px));
  padding: 14px 16px;
  color: #fff;
  background: var(--cocoa);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .gift-section,
  .story,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    grid-template-columns: minmax(0, 1fr) 140px;
  }

  .section-heading,
  .contact {
    align-items: start;
    flex-direction: column;
  }

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

  .admin-row {
    grid-template-columns: 58px minmax(0, 1fr) 76px 78px;
  }

  .admin-row .status-chip:nth-of-type(2) {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
  }

  .brand strong {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 14px;
    left: 14px;
    display: none;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 12px;
  }

  .hero {
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.6rem);
  }

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

  .hero-stack {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stack img {
    aspect-ratio: 1;
  }

  .catalog-tools {
    width: 100%;
    flex-direction: column;
  }

  .search-field {
    width: 100%;
    min-width: 0;
  }

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

  .story-gallery {
    grid-template-columns: 1fr;
  }

  .story-gallery img:first-child {
    grid-row: auto;
    aspect-ratio: 0.95;
    height: auto;
  }

  .form-row,
  .toggle-row,
  .form-row-three,
  .media-upload-form {
    grid-template-columns: 1fr;
  }

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

  .admin-row {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 14px;
  }

  .admin-row img {
    width: 54px;
    height: 54px;
  }

  .admin-row .status-chip {
    display: none;
  }

  .row-actions button {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
