:root {
  --ink: #1b2a4a;
  --paper: #f4efe6;
  --card: #fffcf8;
  --line: #e4d9c8;
  --pine: #3d5a80;
  --moss: #4f5966;
  --gold: #c9ae6e;
  --mist: #ddd6cb;
  --awning: #a85a56;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  max-width: 100%;
  overflow: hidden;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
}

button,
input,
textarea {
  font: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 2px;
}

::placeholder {
  color: var(--moss);
  opacity: 1;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  border-radius: 0.75rem;
  background: var(--card);
  color: var(--ink);
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  max-height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

#app {
  position: relative;
  display: flex;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
}

#sidebar {
  display: flex;
  width: 16.5rem;
  flex: none;
  flex-direction: column;
  background: var(--ink);
  color: var(--mist);
}

#workspace {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}

#workspace > header {
  flex: none;
  border-bottom: 2px solid var(--awning);
}

#contenido {
  min-width: 0;
  min-height: 0;
  flex: 1;
  overflow: auto;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
}

#backdrop[hidden] {
  display: none !important;
}

#toast-root {
  position: fixed;
  z-index: 70;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

#modal-root:empty {
  display: none;
}

.toast {
  pointer-events: auto;
  border-left-width: 4px;
  border-left-style: solid;
  animation: toast-in 160ms ease-out;
}

.toast[data-tone="info"],
.toast[data-tone="success"] {
  border-left-color: var(--pine);
}

.toast[data-tone="error"] {
  border-left-color: var(--awning);
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.data-table th,
.data-table td {
  padding: 0.75rem;
  vertical-align: top;
}

.data-table thead th {
  background: var(--paper);
  color: var(--moss);
  font-weight: 600;
}

.data-table tbody tr + tr td {
  border-top: 1px solid var(--line);
}

.data-table .cell-label {
  display: none;
}

@media (max-width: 767px) {
  #sidebar {
    position: fixed;
    z-index: 40;
    inset: 0 auto 0 0;
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  #sidebar.is-open {
    transform: translateX(0);
  }

  #close-menu {
    display: grid;
  }
}

@media (min-width: 768px) {
  #close-menu,
  #menu-btn,
  #backdrop {
    display: none !important;
  }
}

.nav-chevron {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-branch:not(.is-open) .nav-chevron {
  transform: rotate(-90deg);
}

.nav-subs {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-subs.is-open {
  grid-template-rows: 1fr;
}

.nav-subs-inner {
  min-height: 0;
  overflow: hidden;
}

.nav-subs-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0.25rem 0 0.25rem 0.75rem;
  border-left: 1px solid rgb(255 255 255 / 0.2);
  padding-left: 0.5rem;
}

.nav-sub {
  opacity: 0;
  transform: translateY(-0.35rem);
  visibility: hidden;
  transition:
    opacity 200ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 200ms;
}

.nav-subs.is-open .nav-sub {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition:
    opacity 260ms ease,
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.nav-subs.is-open .nav-sub:nth-child(1) { transition-delay: 40ms; }
.nav-subs.is-open .nav-sub:nth-child(2) { transition-delay: 75ms; }
.nav-subs.is-open .nav-sub:nth-child(3) { transition-delay: 110ms; }
.nav-subs.is-open .nav-sub:nth-child(4) { transition-delay: 145ms; }

.nav-subs:not(.is-open) {
  pointer-events: none;
}

@media (max-width: 639px) {
  .data-table thead {
    display: none;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    margin-bottom: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    padding: 0.35rem 0.85rem;
  }

  .data-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    text-align: right;
  }

  .data-table .cell-label {
    display: block;
    flex: none;
    color: var(--moss);
    font-weight: 600;
    text-align: left;
  }

  .data-table .cell-value {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 640px) {
  #toast-root {
    left: auto;
    width: 22rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #sidebar,
  .toast,
  .nav-chevron,
  .nav-subs,
  .nav-sub {
    transition: none;
    animation: none;
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.pos-scroll {
  overscroll-behavior: contain;
}

@media (min-width: 1024px) {
  .pos-shell,
  .pos-columns {
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .pos-panel {
    min-height: 0;
    overflow: hidden;
  }

  #pos-ticket .pos-back {
    display: none;
  }
}

.pos-dock {
  display: none;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  border-radius: 1rem;
  background: var(--pine);
  color: white;
  padding: 0.7rem 0.9rem;
  text-align: left;
  box-shadow: 0 8px 18px rgba(27, 42, 74, 0.16);
}

.pos-dock-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.05rem;
}

.pos-dock-count {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.pos-dock-hint {
  font-size: 0.75rem;
  line-height: 1.2;
  color: rgb(255 255 255 / 0.82);
}

.pos-dock-total {
  margin-left: auto;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.pos-dock-icon {
  flex: none;
}

@media (max-width: 1023px) {
  #contenido:has(.pos-shell) {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 0;
  }

  #contenido:has(.pos-shell) > div {
    height: 100%;
    min-height: 0;
    max-height: 100%;
    flex: 1 1 auto;
    overflow: hidden;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .pos-shell {
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .pos-shell .pos-columns {
    position: relative;
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    overflow: hidden;
  }

  .pos-shell .pos-catalog {
    height: auto;
    min-height: 0;
    flex: 1 1 auto;
  }

  #pos-ticket {
    display: none;
  }

  .pos-shell .pos-dock {
    display: flex;
    flex: none;
  }

  .pos-shell.is-cart-open .pos-dock {
    display: none;
  }

  .pos-shell.is-cart-open #pos-ticket {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    height: 100%;
    overflow: hidden;
    border-color: #b7c9de;
    background: #e4edf6;
    animation: pos-sheet-in 280ms ease;
  }

  .pos-shell.is-cart-open #pos-ticket > header {
    border-bottom-color: transparent;
    background: var(--pine);
  }

  .pos-shell.is-cart-open #pos-ticket-title {
    color: #fff;
  }

  .pos-shell.is-cart-open #pos-ticket > header p {
    color: rgb(255 255 255 / 0.82);
  }

  .pos-shell.is-cart-open #pos-back {
    border-color: rgb(255 255 255 / 0.45);
    background: transparent;
    color: #fff;
  }

  .pos-shell.is-cart-open #pos-cart li {
    border-color: #d3dfec;
    background: #fff;
  }

  .pos-shell.is-cart-open #pos-pay {
    border-top-color: #c5d4e6;
    background: #d5e3f2;
  }

  .pos-shell.is-cart-open #pos-cart {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
  }

  .pos-shell.is-cart-open #pos-pay {
    max-height: 58%;
    overflow-y: auto;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }
}

@keyframes pos-sheet-in {
  from {
    transform: translateY(100%);
  }

  to {
    transform: none;
  }
}

.stock-flag {
  display: inline-flex;
  align-items: center;
  margin-left: 0.4rem;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}

.stock-pair {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.stock-state-low {
  color: #7a5b10;
  font-weight: 700;
}

.stock-flag-low {
  background: #f8e7a0;
  color: #7a5b10;
}

.stock-flag-ok {
  background: #e5f3e4;
  color: #2f6b3a;
}

.stock-flag-out {
  background: #fde8e8;
  color: var(--awning);
}

.data-table .stock-flag {
  margin-left: 0;
}

.meter {
  height: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper);
}

.meter-fill {
  display: block;
  height: 100%;
  max-width: 100%;
  border-radius: inherit;
  background: var(--pine);
}

.meter-fill.is-credit {
  background: #b8924a;
}

.meter-fill.is-negative {
  background: var(--awning);
}

.day-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
  align-items: end;
}

.day-col {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.day-track {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 8.5rem;
}

.day-bar {
  display: block;
  width: 100%;
  border-radius: 0.55rem 0.55rem 0.2rem 0.2rem;
  background: var(--pine);
}

.day-bar:not(.is-zero) {
  min-height: 0.35rem;
}

.day-bar.is-zero {
  height: 0.15rem !important;
  min-height: 0;
  background: var(--line);
}

.day-bar.is-negative {
  background: var(--awning);
}

.day-meta {
  width: 100%;
  color: var(--moss);
  font-size: 0.7rem;
  line-height: 1.25;
  text-align: center;
}

.day-meta strong {
  display: block;
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.chart-legend,
.pay-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 0.8rem;
}

.chart-legend {
  justify-content: flex-end;
  margin-bottom: 0.35rem;
}

.pay-legend {
  justify-content: center;
}

.pay-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pay-amount {
  color: var(--moss);
  font-variant-numeric: tabular-nums;
}

.chart-swatch,
.pay-swatch {
  display: inline-block;
  width: 0.85rem;
  height: 0.55rem;
  flex: none;
  border-radius: 0.15rem;
}

.sales-chart,
.pay-donut {
  display: block;
  width: 100%;
  height: auto;
}

.pay-donut-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
}

.pay-donut {
  width: min(100%, 16rem);
}

.sales-chart .chart-grid {
  stroke: var(--line);
  stroke-width: 1;
}

.sales-chart .chart-label {
  fill: var(--moss);
  font-size: 11px;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.pay-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.pay-pill-cash {
  background: #e3f6ea;
  color: #1b7a43;
}

.pay-pill-yape {
  background: #f1e8fb;
  color: #6b3fa0;
}

.pay-pill-card {
  background: #fff1dc;
  color: #b86a12;
}

.pay-pill-mixed {
  background: #e5f4fb;
  color: #0e7490;
}

.pay-pill-credit {
  background: #f6edd8;
  color: #8a6230;
}

.pay-pill-other {
  background: var(--paper);
  color: var(--ink);
}

.sale-when {
  display: grid;
  justify-items: start;
  gap: 0.1rem;
}

.sale-when-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
}

.sale-when-time svg {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--moss);
}

.sale-when-meta {
  color: var(--moss);
  font-size: 0.75rem;
  line-height: 1.35;
  white-space: nowrap;
}

.sale-state {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.15rem;
  border-radius: 999px;
  background: var(--paper);
  padding: 0.05rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink);
}

.sale-state-voided {
  background: #fde8e8;
  color: var(--awning);
}

.data-table tr.sale-row-voided,
.data-table tr.sale-row-voided td {
  background: #fbf1f1;
}

.sale-lines {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sale-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  line-height: 1.35;
}

.pos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.product-card {
  position: relative;
  display: flex;
  min-height: 9.25rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
  padding: 0.75rem 0.5rem 0.65rem;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.product-card:hover:not(:disabled) {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 10px 22px rgba(27, 42, 74, 0.1);
}

.product-card:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

.product-card.is-in {
  border-color: var(--pine);
}

.product-card:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.product-card.is-out {
  cursor: not-allowed;
  opacity: 1;
  border-color: #f0c2c0;
  background: #fde8e8;
}

.product-card.is-out .product-card-price,
.product-card.is-out .product-card-stock {
  color: var(--awning);
}

.product-card.is-out .product-art {
  animation: none;
}

.product-card.is-out:hover,
.product-card.is-out:active,
.product-card:disabled:hover {
  transform: none;
  border-color: #f0c2c0;
  box-shadow: none;
}

.product-art-wrap {
  position: relative;
  margin-bottom: 0.2rem;
}

.product-art {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: 999px;
  font-size: 1.35rem;
  animation: art-float 2.8s ease-in-out infinite;
}

.product-art.is-compact {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  font-size: 0.8rem;
  animation: none;
}

.product-art.is-pop {
  animation: art-pop 0.35s ease;
}

.product-card-name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.2;
  color: var(--ink);
}

.product-card-size,
.product-card-stock {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.7rem;
  line-height: 1.2;
  color: var(--moss);
}

.product-card-price {
  font-size: 0.84rem;
  font-weight: 750;
  color: var(--pine);
}

.product-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.7rem;
  border-radius: 999px;
  background: var(--awning);
  padding: 0.05rem 0.35rem;
  font-size: 0.62rem;
  font-weight: 750;
  line-height: 1.3;
  color: white;
}

.product-badge-in {
  background: var(--pine);
}

.inv-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cart-flash {
  animation: cart-flash 0.6s ease;
}

.total-pop {
  display: inline-block;
  animation: total-pop 0.35s ease;
}

.art-rice { background: #f3e6cf; color: #8a6230; }
.art-sugar { background: #f7f1e4; color: #a67c2d; }
.art-oil { background: #f6edd8; color: #8a6230; }
.art-dairy { background: #eef3f8; color: #3d5a80; }
.art-cheese { background: #f6edd8; color: #c9ae6e; }
.art-egg { background: #fff8ea; color: #c9ae6e; }
.art-bread { background: #f6e7d4; color: #a85a56; }
.art-grain { background: #f3e6cf; color: #8a6230; }
.art-fish { background: #e5f4fb; color: #0e7490; }
.art-meat { background: #fde8e8; color: #a85a56; }
.art-hot { background: #fde8e8; color: #a85a56; }
.art-ice { background: #e5f4fb; color: #3d5a80; }
.art-cookie { background: #f6e7d4; color: #8a6230; }
.art-coffee { background: #efe4d6; color: #5c3b2e; }
.art-sweet { background: #f8e8f2; color: #8a3d6b; }
.art-cake { background: #f8e8f2; color: #a85a56; }
.art-water { background: #e5f4fb; color: #0e7490; }
.art-soda { background: #fde8e8; color: #a85a56; }
.art-juice { background: #f6edd8; color: #c9ae6e; }
.art-clean { background: #e8eef6; color: #3d5a80; }
.art-paper { background: #f4efe6; color: #4f5966; }
.art-salt { background: #f7f4ef; color: #4f5966; }
.art-citrus { background: #f6edd8; color: #c9ae6e; }
.art-apple { background: #fde8e8; color: #a85a56; }
.art-carrot { background: #f8e6d4; color: #a85a56; }
.art-pepper { background: #fde8e8; color: #a85a56; }
.art-leaf { background: #e7f3e4; color: #3d6b45; }
.art-basket { background: var(--paper); color: var(--pine); }

@keyframes art-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes art-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

@keyframes cart-flash {
  0% { background: #e7f3e4; }
  100% { background: transparent; }
}

@keyframes total-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

@media (min-width: 640px) {
  .pos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#sale-flash-root {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  pointer-events: none;
}

#sale-flash-root:empty {
  display: none;
}

#sale-flash-root:not(:empty) {
  pointer-events: auto;
}

#sale-flash-root:not(:empty)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#sale-flash-root.is-on::before {
  opacity: 1;
}

.sale-flash-card {
  position: relative;
  display: grid;
  width: min(100%, 27.5rem);
  justify-items: center;
  gap: 0.15rem;
  border-radius: 0.75rem;
  background: var(--card);
  padding: 1.5rem 1.5rem 1.35rem;
  text-align: center;
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.22);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#sale-flash-root.is-on .sale-flash-card {
  opacity: 1;
  transform: scale(1);
}

.sale-flash-mark {
  display: block;
  margin-bottom: 0.75rem;
  color: #22c55e;
  font-size: 3.75rem;
  line-height: 1;
}

.sale-flash-mark i {
  font-size: 3.75rem;
  line-height: 1;
}

#sale-flash-root.is-on .sale-flash-mark {
  animation: check-in 0.4s ease;
}

.sale-flash-title {
  margin: 0;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 750;
  line-height: 1.25;
}

.sale-flash-detail {
  margin: 0.35rem 0 0;
  color: var(--moss);
  font-size: 1rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.boot-screen {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--paper);
  padding: 1.5rem;
}

.boot-card {
  display: grid;
  justify-items: center;
  width: min(100%, 18rem);
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
  padding: 1.75rem 1.5rem 1.4rem;
  box-shadow: 0 1px 2px rgb(27 42 74 / 0.06);
  text-align: center;
  animation: fade-in 0.3s ease;
}

.boot-logo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  background: #fff;
  object-fit: contain;
}

.boot-title {
  margin: 0.15rem 0 0;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
}

.boot-status {
  margin: 0;
  color: var(--moss);
  font-size: 0.875rem;
}

.boot-bar {
  position: relative;
  width: 7.5rem;
  height: 0.375rem;
  margin-top: 0.35rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--mist);
}

.boot-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  animation: boot-slide 0.9s linear infinite;
}

@keyframes boot-slide {
  from { transform: translateX(-120%); }
  to { transform: translateX(280%); }
}

.modal-backdrop,
.section-enter {
  animation: fade-in 0.3s ease;
}

.modal-panel {
  animation: modal-pop 0.3s ease;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes check-in {
  0% { transform: scale(0.45); }
  60% { transform: scale(1.16); }
  100% { transform: scale(1); }
}

@keyframes modal-pop {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-art,
  .product-card,
  .cart-flash,
  .total-pop,
  .pos-shell.is-cart-open #pos-ticket,
  .sale-flash-card,
  .sale-flash-mark,
  #sale-flash-root:not(:empty)::before,
  .modal-backdrop,
  .modal-panel,
  .section-enter,
  .boot-card {
    animation: none;
    transition: none;
  }

  #sale-flash-root.is-on::before,
  #sale-flash-root.is-on .sale-flash-card,
  #sale-flash-root.is-on .sale-flash-mark {
    opacity: 1;
    transform: none;
  }
}

.sale-actions {
  display: inline-flex;
  justify-content: flex-end;
  gap: 0.35rem;
}

.sale-icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--pine);
}

.sale-icon:hover {
  background: var(--paper);
}

.sale-icon.is-danger {
  color: var(--awning);
}

.sale-icon svg {
  width: 1rem;
  height: 1rem;
}

.data-table td {
  vertical-align: middle;
}

.noscript-note {
  margin: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
}
