:root {
  --bg: #ececec;
  --panel: #ffffff;
  --panel-soft: #f6f6f4;
  --text: #202020;
  --muted: #5f5b53;
  --gold: #c89435;
  --gold-bright: #8a5a13;
  --green: #3f6f55;
  --clay: #a75d44;
  --line: rgba(32, 32, 32, 0.14);
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 4.7rem;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.45rem 0.75rem;
  background: rgba(8, 8, 9, 0.96);
  border-bottom: 1px solid rgba(217, 168, 78, 0.32);
  backdrop-filter: blur(14px);
  color: #f7efe0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-bright);
  font-family: Cinzel, Georgia, serif;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: inset 0 0 20px rgba(217, 168, 78, 0.18);
}

.brand strong {
  display: block;
  font-family: Cinzel, Georgia, serif;
  font-size: 0.7rem;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.brand small {
  display: block;
  color: var(--gold);
  font-size: 0.48rem;
  font-weight: 700;
  text-transform: uppercase;
}

.header-action,
.whatsapp-main,
.product-link,
.toggle-products {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  font-weight: 800;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.header-action {
  border: 0;
  padding: 0.5rem 0.7rem;
  background: var(--gold);
  color: #16110a;
  cursor: pointer;
  font-size: 0.78rem;
  white-space: nowrap;
}

.cart-action {
  position: relative;
  width: 2.55rem;
  padding: 0;
}

.cart-icon {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.ghost-action {
  border: 1px solid rgba(217, 168, 78, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #f7efe0;
}

#cartCount {
  position: absolute;
  right: -0.32rem;
  top: -0.32rem;
  display: inline-grid;
  min-width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border: 2px solid rgba(9, 9, 10, 0.92);
  border-radius: 999px;
  background: #16110a;
  color: var(--gold-bright);
  font-size: 0.72rem;
}

#cartCount[hidden] {
  display: none;
}

@media (max-width: 420px) {
  .admin-action {
    display: none;
  }
}

main {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.intro {
  padding: 0.95rem 1rem 0.55rem;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Cinzel, Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 44rem;
  margin-bottom: 0.65rem;
  font-size: clamp(1.08rem, 4.8vw, 2.35rem);
  line-height: 1.12;
}

h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.35rem, 6vw, 2.6rem);
  line-height: 1.1;
}

.intro p:not(.eyebrow),
.contact p,
.process li {
  color: var(--muted);
}

.category-nav {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 0.42rem;
  overflow-x: auto;
  padding: 0.25rem 1rem 0.75rem;
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.48rem 0.68rem;
  background: #fff;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.category-nav a.is-active {
  border-color: var(--gold-bright);
  background: var(--gold);
  color: #16110a;
}

.product-showcase,
.process,
.contact {
  padding: 1rem;
}

.product-showcase {
  padding-top: 0.35rem;
}

.sections-list {
  display: grid;
  gap: 1rem;
}

.category-section {
  scroll-margin-top: 5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.category-head {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.category-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.category-title-row h3 {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-size: 1.2rem;
}

.category-count {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.category-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.products-grid {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.68rem;
  min-height: 0;
  padding: 0.68rem;
  border: 1px solid rgba(32, 32, 32, 0.12);
  border-radius: 0.45rem;
  background: var(--panel-soft);
}

.product-media {
  display: grid;
  min-width: 0;
  min-height: 11rem;
  aspect-ratio: 1.32 / 1;
  place-items: center;
  border-radius: 0.38rem;
  background: #eeeeeb;
}

.product-media img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.product-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.6rem;
}

.product-info h4 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.product-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.55rem;
}

.product-meta strong,
.product-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.45rem;
  font-size: 0.74rem;
  line-height: 1;
}

.product-meta strong {
  background: rgba(200, 148, 53, 0.16);
  color: var(--gold-bright);
}

.product-meta span {
  border: 1px solid rgba(32, 32, 32, 0.16);
  color: var(--muted);
}

.variant-select {
  width: 100%;
  min-height: 2.35rem;
  margin-top: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 0.45rem 0.55rem;
  background: #fff;
  color: var(--text);
}

.product-link {
  border: 0;
  width: 100%;
  padding: 0.65rem 0.8rem;
  background: var(--gold);
  color: #16110a;
  cursor: pointer;
  font-size: 0.85rem;
}

.product-link:disabled {
  background: #d8d8d6;
  color: #77726a;
  cursor: not-allowed;
}

.quote-link {
  background: var(--green);
  color: #fff;
}

.toggle-products {
  width: calc(100% - 2rem);
  margin: 0 1rem 1rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-bright);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
}

.product-card[data-hidden="true"] {
  display: none;
}

.category-section.is-expanded .product-card[data-hidden="true"] {
  display: grid;
}

.process {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.process ol {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.3rem;
}

.process li::marker {
  color: var(--gold);
  font-weight: 800;
}

.contact {
  margin: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.whatsapp-main {
  border: 0;
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--green);
  color: #fff;
  cursor: pointer;
}

.contact-details {
  display: grid;
  gap: 0.45rem;
  margin: 0.9rem 0 0.4rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.contact-details p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-details strong {
  color: var(--gold-bright);
}

.store-notes {
  display: grid;
  gap: 0.3rem;
  padding: 0.5rem 1rem 1.2rem;
  color: var(--muted);
  text-align: center;
}

.store-notes p {
  margin: 0;
  font-size: 0.86rem;
}

.store-dialog {
  width: min(100% - 1rem, 34rem);
  max-height: calc(100dvh - 1rem);
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0;
  background: transparent;
  color: var(--text);
}

.admin-dialog {
  width: min(100% - 1rem, 62rem);
}

.store-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.dialog-panel {
  display: grid;
  gap: 0.8rem;
  max-height: calc(100dvh - 1rem);
  overflow: auto;
  padding: 1rem;
  background: #fff;
}

.admin-panel {
  gap: 0.9rem;
}

.dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.dialog-head h2 {
  margin: 0;
  font-size: 1.35rem;
}

.icon-button {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #fff;
  color: var(--gold-bright);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.dialog-panel label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.field-note {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.form-error {
  min-height: 1.2rem;
  margin: 0;
  color: #ffb0a0;
  font-size: 0.84rem;
  font-weight: 700;
}

.field-title {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.25rem 0;
  background: #fff;
}

.admin-tabs button {
  min-height: 2.35rem;
  border: 1px solid rgba(32, 32, 32, 0.14);
  border-radius: 0.42rem;
  background: var(--panel-soft);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-tabs button.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: #16110a;
}

.admin-tab-panel {
  display: grid;
  gap: 0.8rem;
}

.admin-tab-panel[hidden] {
  display: none;
}

.admin-card {
  display: grid;
  gap: 0.8rem;
  border: 1px solid rgba(32, 32, 32, 0.12);
  border-radius: 0.48rem;
  padding: 0.75rem;
  background: var(--panel);
}

.admin-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(32, 32, 32, 0.12);
}

.admin-card h3 {
  margin: 0.12rem 0 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.15;
}

.product-editor,
.settings-form {
  display: grid;
  gap: 0.8rem;
}

.compact-action {
  min-height: 2.1rem;
  padding-inline: 0.65rem;
  font-size: 0.78rem;
}

.dialog-panel input,
.dialog-panel select,
.dialog-panel textarea {
  width: 100%;
  min-height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 0.6rem 0.7rem;
  background: #fff;
  color: var(--text);
}

.dialog-panel input[type="file"] {
  padding: 0.5rem;
}

.dialog-panel textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.dialog-subtitle {
  margin: -0.35rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr;
}

.check-row {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 0.6rem !important;
}

.check-row input {
  width: 1.1rem;
  min-height: 1.1rem;
}

.image-preview {
  display: grid;
  min-height: 8rem;
  place-items: center;
  border: 1px solid rgba(32, 32, 32, 0.12);
  border-radius: 0.45rem;
  background: var(--panel-soft);
}

.image-preview img {
  max-width: 100%;
  max-height: 9rem;
  object-fit: contain;
}

.variant-builder {
  display: grid;
  gap: 0.75rem;
  border: 1px solid rgba(32, 32, 32, 0.12);
  border-radius: 0.45rem;
  padding: 0.75rem;
  background: var(--panel-soft);
}

.stock-box {
  display: grid;
  gap: 0.75rem;
  border: 1px solid rgba(32, 32, 32, 0.12);
  border-radius: 0.45rem;
  padding: 0.75rem;
  background: var(--panel-soft);
}

.admin-manager {
  display: grid;
  gap: 0.75rem;
  border: 1px solid rgba(32, 32, 32, 0.12);
  border-radius: 0.45rem;
  padding: 0.75rem;
  background: var(--panel);
}

.admin-section-list,
.admin-product-list,
.inventory-list,
.movement-list,
.outgoing-report,
.inventory-alerts {
  display: grid;
  gap: 0.5rem;
}

.admin-section-item,
.admin-product-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  border: 1px solid rgba(32, 32, 32, 0.12);
  border-radius: 0.4rem;
  padding: 0.55rem;
  background: var(--panel-soft);
}

.admin-product-item {
  grid-template-columns: 3.25rem minmax(0, 1fr);
}

.admin-product-thumb {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.35rem;
  object-fit: contain;
  background: #eeeeeb;
}

.admin-product-info {
  display: grid;
  gap: 0.45rem;
}

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

.admin-section-actions {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0.35rem;
}

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

.inventory-toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.summary-tile,
.inventory-item,
.movement-item,
.outgoing-item,
.inventory-alert {
  border: 1px solid rgba(32, 32, 32, 0.12);
  border-radius: 0.4rem;
  padding: 0.65rem;
  background: var(--panel-soft);
}

.summary-tile span,
.movement-item span,
.outgoing-item span,
.inventory-item span,
.inventory-alert span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.summary-tile strong {
  display: block;
  color: var(--gold-bright);
  font-size: 1.15rem;
}

.outgoing-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
}

.outgoing-item > div:last-child {
  text-align: right;
}

.inventory-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.inventory-item img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.35rem;
  object-fit: contain;
  background: #eeeeeb;
}

.inventory-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.stock-ok {
  color: #1f6f3a !important;
}

.stock-low {
  color: #9a610d !important;
}

.stock-out {
  color: #b73f2f !important;
}

.admin-section-item strong,
.admin-section-item span,
.admin-product-item strong,
.admin-product-item span {
  display: block;
}

.admin-section-item span,
.admin-product-item span {
  color: var(--muted);
  font-size: 0.78rem;
}

.secondary-action,
.danger-action {
  min-height: 2.5rem;
  border: 1px solid var(--gold);
  border-radius: 0.45rem;
  background: transparent;
  color: var(--gold-bright);
  cursor: pointer;
  font-weight: 800;
}

.danger-action {
  border-color: rgba(183, 63, 47, 0.35);
  color: #b73f2f;
}

.form-actions {
  display: grid;
  gap: 0.65rem;
}

.variant-list {
  display: grid;
  gap: 0.55rem;
}

.variant-item {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  border: 1px solid rgba(32, 32, 32, 0.12);
  border-radius: 0.4rem;
  padding: 0.5rem;
  background: var(--panel);
}

.variant-item img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.32rem;
  object-fit: contain;
  background: #eeeeeb;
}

.variant-item strong,
.variant-item span {
  display: block;
}

.variant-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.cart-list {
  display: grid;
  gap: 0.65rem;
}

.personalization-fields {
  display: grid;
  gap: 0.8rem;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  border: 1px solid rgba(32, 32, 32, 0.12);
  border-radius: 0.45rem;
  padding: 0.7rem;
  background: var(--panel-soft);
}

.cart-item strong,
.cart-item span {
  display: block;
}

.cart-item-actions {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
}

.quantity-stepper {
  display: inline-grid;
  grid-template-columns: 2rem 2rem 2rem;
  min-height: 2rem;
  overflow: hidden;
  border: 1px solid rgba(32, 32, 32, 0.16);
  border-radius: 0.4rem;
  background: #fff;
}

.quantity-stepper button,
.quantity-stepper span {
  display: grid;
  min-width: 2rem;
  place-items: center;
  border: 0;
  color: var(--text);
  font-weight: 900;
}

.quantity-stepper button {
  background: rgba(200, 148, 53, 0.1);
  cursor: pointer;
}

.quantity-stepper span {
  color: var(--gold-bright);
}

.cart-item span,
.empty-cart {
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

.cart-total strong {
  color: var(--gold-bright);
  font-size: 1.15rem;
}

footer {
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 2rem 1rem 5.8rem;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

footer .brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

.footer-admin {
  justify-self: center;
  border: 1px solid rgba(32, 32, 32, 0.14);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
}

.mobile-cart-bar {
  position: fixed;
  right: 1rem;
  bottom: calc(0.85rem + env(safe-area-inset-bottom));
  left: 1rem;
  z-index: 12;
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 0;
  border-radius: 0.55rem;
  background: var(--gold);
  color: #16110a;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  font-weight: 900;
}

.mobile-cart-bar[hidden] {
  display: none;
}

.mobile-cart-bar strong {
  display: inline-grid;
  min-width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 999px;
  background: #16110a;
  color: var(--gold-bright);
  font-size: 0.78rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: calc(4.75rem + env(safe-area-inset-bottom));
  left: 1rem;
  z-index: 20;
  min-height: 2.7rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32, 32, 32, 0.14);
  border-radius: 0.5rem;
  padding: 0.7rem 0.85rem;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--gold-bright);
  font-size: 0.88rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

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

@media (min-width: 720px) {
  body {
    padding-bottom: 0;
  }

  .site-header {
    padding: 0.75rem 2rem;
  }

  .brand-mark {
    width: 2.45rem;
    height: 2.45rem;
    font-size: 1.05rem;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.62rem;
  }

  .intro,
  .product-showcase,
  .process {
    padding-inline: 2rem;
  }

  .category-nav {
    padding-inline: 2rem;
  }

  .intro {
    padding-top: 2rem;
  }

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

  .product-card {
    grid-template-columns: 8rem minmax(0, 1fr);
  }

  .product-media {
    min-height: 8rem;
  }

  .process {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    margin-top: 1.5rem;
  }

  .contact {
    max-width: 44rem;
    margin: 2rem auto;
  }

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

  .admin-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-tab-panel[data-admin-panel="products"] {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    align-items: start;
  }

  .admin-tab-panel[data-admin-panel="sections"],
  .admin-tab-panel[data-admin-panel="settings"],
  .admin-tab-panel[data-admin-panel="inventory"] {
    max-width: 44rem;
    margin-inline: auto;
    width: 100%;
  }

  .inventory-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .inventory-toolbar {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .admin-product-item {
    grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  }

  .admin-product-actions {
    min-width: 10rem;
  }

  footer {
    padding-bottom: 2rem;
  }

  .mobile-cart-bar {
    display: none;
  }

  .toast {
    right: 2rem;
    bottom: 1.25rem;
    left: auto;
    width: min(22rem, calc(100vw - 4rem));
  }
}

@media (min-width: 1040px) {
  .intro {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: end;
  }

  .intro .eyebrow,
  .intro h1 {
    grid-column: 1;
  }

  .intro p:not(.eyebrow) {
    grid-column: 2;
    margin-bottom: 0.2rem;
    font-size: 1.05rem;
  }

  .sections-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .product-media {
    aspect-ratio: 1 / 0.78;
  }
}
