.s-root {
  --s-ink:#1c1f1d;
  --s-muted:#646a66;
  --s-line:#e4e1d9;
  --s-paper:#faf8f3;
  --s-green:#1f4d3a;
  --s-green-ink:#173b2c;
  --s-warn:#a4471b;
  background: var(--s-paper);
  color: var(--s-ink);
  min-height: calc(100vh - 100px);
}
.s-head {
  position: sticky;
  top: 58px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: var(--s-paper);
  border-bottom: 1px solid var(--s-line);
}
.s-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  font: 700 17px/1 "Space Grotesk", sans-serif;
  letter-spacing: -.01em;
  padding: 4px 0;
  color: var(--s-ink);
}
.s-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--s-green);
  color: #f4efe2;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.s-head-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.s-link {
  background: none;
  border: 0;
  color: var(--s-green);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.s-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--s-green);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 14px;
  min-height: 38px;
}
.s-badge {
  background: #f4efe2;
  color: var(--s-green-ink);
  border-radius: 10px;
  min-width: 20px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.s-main {
  padding: 0 16px 40px;
}
.s-strip {
  margin: 0 -16px;
  padding: 8px 16px;
  background: #e9e4d6;
  color: #4c4637;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.s-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0 6px;
  scrollbar-width: none;
}
.s-chip {
  flex: none;
  border: 1px solid var(--s-line);
  background: #fff;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 600;
  min-height: 36px;
  color: var(--s-ink);
}
.s-chip.on {
  background: var(--s-ink);
  border-color: var(--s-ink);
  color: #fff;
}
.s-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  padding: 10px 0 18px;
}
.s-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  color: var(--s-ink);
}
.s-card:hover .s-card-name {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.s-art {
  border-radius: 12px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.s-art-svg {
  width: 84%;
  height: 84%;
}
.s-card .s-art {
  margin-bottom: 4px;
}
.s-card-name {
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.3;
}
.s-card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--s-muted);
}
.s-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
}
.s-tag-out {
  background: #eee;
  color: #6b6b6b;
}
.s-dots {
  display: flex;
  gap: 5px;
  margin-top: 2px;
}
.s-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .15);
}
.s-fine {
  font-size: 12.5px;
  color: var(--s-muted);
  padding: 6px 0;
}
.s-back {
  background: none;
  border: 0;
  color: var(--s-muted);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 0 6px;
}
.s-product {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.s-art-big {
  max-width: 420px;
  aspect-ratio: 4/3;
}
.s-pname {
  font: 700 24px/1.15 "Space Grotesk", sans-serif;
  letter-spacing: -.01em;
}
.s-pprice {
  font-size: 18px;
  font-weight: 600;
  margin-top: 4px;
}
.s-blurb {
  color: var(--s-muted);
  font-size: 15px;
  margin-top: 8px;
}
.s-opt-label {
  font-size: 13px;
  font-weight: 700;
  margin: 16px 0 8px;
}
.s-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.s-size {
  min-width: 52px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #cfcbc1;
  background: #fff;
  border-radius: 9px;
  font-weight: 600;
  font-size: 14px;
  color: var(--s-ink);
}
.s-size.on {
  border: 2px solid var(--s-ink);
}
.s-size.out {
  color: #a29f97;
  text-decoration: line-through;
  background: #f3f1ec;
}
.s-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--s-paper);
  background: var(--sw);
  box-shadow: 0 0 0 1px #cfcbc1;
}
.s-swatch.on {
  box-shadow: 0 0 0 2px var(--s-ink);
}
.s-stock {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--s-green);
}
.s-stock.low {
  color: var(--s-warn);
}
.s-stock.out {
  color: #7a7a7a;
}
.s-incart {
  color: var(--s-muted);
  font-weight: 500;
}
.s-buy {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.s-buy .s-primary {
  flex: 1;
}
.s-stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #cfcbc1;
  border-radius: 10px;
  background: #fff;
  padding: 0 4px;
  font-weight: 700;
}
.s-stepper button {
  background: none;
  border: 0;
  width: 34px;
  height: 44px;
  font-size: 18px;
  color: var(--s-ink);
}
.s-stepper button:disabled {
  color: #c6c3bb;
  cursor: default;
}
.s-stepper span {
  min-width: 18px;
  text-align: center;
}
.s-stepper-sm button {
  width: 30px;
  height: 32px;
}
.s-primary {
  background: var(--s-green);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.3;
  width: 100%;
}
.s-buy .s-primary {
  width: auto;
}
.s-primary:hover {
  background: var(--s-green-ink);
}
.s-primary:disabled {
  background: #d8d5cd;
  color: #7a776f;
  cursor: default;
}
.s-added {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 10px;
  background: #e3eee6;
  color: var(--s-green-ink);
  font-size: 14px;
  font-weight: 600;
}
.s-warn {
  color: var(--s-warn);
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 8px;
}
.s-details {
  margin: 18px 0 0 18px;
  font-size: 14.5px;
  color: #3e423f;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.s-title {
  font: 700 24px/1.2 "Space Grotesk", sans-serif;
  letter-spacing: -.01em;
  margin: 4px 0 14px;
}
.s-sub {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.s-empty {
  color: var(--s-muted);
  padding: 10px 0 18px;
}
.s-muted {
  color: var(--s-muted);
  font-size: 13.5px;
}
.s-lines {
  border-top: 1px solid var(--s-line);
}
.s-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--s-line);
}
.s-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #eeebe4;
  display: grid;
  place-items: center;
}
.s-thumb .s-art-svg {
  width: 86%;
  height: 86%;
}
.s-line-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  font-size: 14.5px;
}
.s-line-text .s-warn {
  margin-top: 4px;
  font-size: 12.5px;
}
.s-line-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 14.5px;
}
.s-remove {
  background: none;
  border: 0;
  color: var(--s-muted);
  font-size: 12.5px;
  text-decoration: underline;
  padding: 2px 0;
}
.s-summary {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 0;
  margin-bottom: 6px;
}
.s-sum {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  color: #3e423f;
}
.s-sum span:first-child {
  min-width: 0;
}
.s-sum span:last-child {
  white-space: nowrap;
}
.s-sum-total {
  font-size: 17px;
  font-weight: 700;
  color: var(--s-ink);
  border-top: 1px solid var(--s-line);
  padding-top: 8px;
  margin-top: 4px;
}
.s-field {
  border: 0;
  margin: 0 0 14px;
}
.s-field legend {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.s-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--s-line);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 8px;
  cursor: pointer;
}
.s-radio.on {
  border: 2px solid var(--s-green);
  padding: 10px 11px;
}
.s-radio input {
  accent-color: var(--s-green);
  width: 18px;
  height: 18px;
  flex: none;
}
.s-radio-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 13.5px;
  color: var(--s-muted);
}
.s-radio-text strong {
  color: var(--s-ink);
  font-size: 14.5px;
}
.s-radio-side {
  margin-left: auto;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.s-demo-pay {
  border: 2px dashed #b9b2a2;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}
.s-demo-tag {
  align-self: flex-start;
  background: #fdf0d5;
  color: #7a4b06;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
}
.s-demo-pay p {
  font-size: 14.5px;
  color: #3e423f;
}
.s-done {
  padding: 18px 0 4px;
}
.s-done-kicker {
  color: var(--s-green);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.s-done .s-title {
  margin: 4px 0 6px;
}
.s-order {
  background: #fff;
  border: 1px solid var(--s-line);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 14px 0;
}
.s-order-top {
  display: flex;
  justify-content: space-between;
  font-size: 15.5px;
}
.s-timeline {
  list-style: none;
  margin-top: 12px;
}
.s-timeline li {
  position: relative;
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  color: #9a9890;
}
.s-timeline li:last-child {
  padding-bottom: 0;
}
.s-timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: #e1ded6;
}
.s-timeline li.on:not(.now):not(:last-child)::before {
  background: var(--s-green);
}
.s-tl-dot {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #d3d0c7;
  background: #fff;
  margin-top: 2px;
}
.s-timeline li.on {
  color: var(--s-ink);
}
.s-timeline li.on .s-tl-dot {
  background: var(--s-green);
  border-color: var(--s-green);
}
.s-timeline li.now .s-tl-dot {
  box-shadow: 0 0 0 4px #d6e6db;
}
.s-tl-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  min-width: 0;
}
.s-tl-at {
  font-size: 12.5px;
  color: var(--s-muted);
}
.s-tl-note {
  font-size: 13px;
  color: #3e423f;
  margin-top: 2px;
}
.s-tl-track {
  font:
    500 12.5px "JetBrains Mono",
    ui-monospace,
    monospace;
  color: var(--s-green-ink);
  margin-top: 2px;
}
@media (min-width:640px) {
  .s-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.a-root {
  --a-ink:#1a1c1f;
  --a-muted:#6a6e75;
  --a-line:#e3e3e3;
  --a-bg:#f1f1f1;
  --a-green:#1f4d3a;
  background: var(--a-bg);
  color: var(--a-ink);
  min-height: calc(100vh - 100px);
  padding: 16px;
  font-size: 14px;
}
.a-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 14px;
}
.a-title {
  font: 700 20px/1.2 "Space Grotesk", sans-serif;
}
.a-sub,
.a-clock {
  font-size: 13px;
  color: var(--a-muted);
}
.a-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.a-kpi {
  background: #fff;
  border: 1px solid var(--a-line);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.a-kpi-k {
  font-size: 12.5px;
  color: var(--a-muted);
}
.a-kpi-v {
  font: 700 22px "Space Grotesk", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.a-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 14px;
  align-items: start;
}
.a-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.a-card {
  background: #fff;
  border: 1px solid var(--a-line);
  border-radius: 10px;
  padding: 14px;
  min-width: 0;
}
.a-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.a-card-head h2 {
  font-size: 15px;
  font-weight: 700;
}
.a-muted {
  color: var(--a-muted);
  font-size: 12.5px;
}
.a-orders {
  padding: 14px 0 6px;
  container-type: inline-size;
}
.a-orders .a-card-head {
  padding: 0 14px;
}
.a-row {
  display: grid;
  grid-template-columns: 106px 70px minmax(0, 1.3fr) minmax(0, 1fr) 62px 78px 78px 96px;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  border-top: 1px solid var(--a-line);
  padding: 9px 14px;
  font-size: 13.5px;
  color: var(--a-ink);
}
.a-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.a-row-head {
  font-size: 12px;
  font-weight: 600;
  color: var(--a-muted);
  background: #fafafa;
  padding: 7px 14px;
}
button.a-row:hover {
  background: #f7f7f7;
}
button.a-row.on {
  background: #eef4f0;
  box-shadow: inset 3px 0 0 var(--a-green);
}
.a-id {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.a-new {
  font-size: 10.5px;
  font-weight: 700;
  background: #1f4d3a;
  color: #fff;
  border-radius: 4px;
  padding: 1px 5px;
}
.a-c-total {
  font-weight: 600;
  text-align: right;
}
.a-row-head span:nth-child(6) {
  text-align: right;
}
.a-c-pay {
  color: var(--a-muted);
}
.a-badge {
  justify-self: start;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
  padding: 2px 9px;
  background: #fff1c2;
  color: #6b4e00;
}
.a-badge-packed {
  background: #e2ebfb;
  color: #1e3f7a;
}
.a-badge-shipped {
  background: #dff2e4;
  color: #1d5a32;
}
.a-badge-delivered {
  background: #ebebeb;
  color: #4b4b4b;
}
.a-flash {
  animation: a-flash 2.4s ease;
}
@keyframes a-flash {
  0%, 30% {
    background: #fff3b8;
  }
  100% {
    background: transparent;
  }
}
button.a-row.a-flash {
  animation: a-flash-row 2.4s ease;
}
@keyframes a-flash-row {
  0%, 30% {
    background: #fff3b8;
  }
  100% {
    background: #eef4f0;
  }
}
@container (max-width:720px) {
  .a-row {
    grid-template-columns: 106px 64px minmax(0, 1fr) 60px 76px 92px;
  }
  .a-row > :nth-child(4),
  .a-row > :nth-child(7) {
    display: none;
  }
}
@container (max-width:520px) {
  .a-row-head {
    display: none;
  }
  .a-row {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 2px;
  }
  .a-row > :nth-child(n) {
    display: block;
  }
  .a-row > .a-id {
    display: flex;
  }
  .a-row > :nth-child(2),
  .a-row > :nth-child(5),
  .a-row > :nth-child(7) {
    display: none;
  }
  .a-row > .a-c-cust {
    grid-row: 2;
    color: var(--a-muted);
  }
  .a-row > .a-c-ship {
    grid-row: 2;
    grid-column: 2;
    text-align: right;
    color: var(--a-muted);
  }
  .a-row > .a-c-total {
    grid-row: 1;
    grid-column: 2;
  }
  .a-row > .a-badge {
    grid-row: 3;
    grid-column: 1;
    justify-self: start;
  }
}
.a-detail .a-muted {
  display: block;
}
.a-lines {
  border-top: 1px solid var(--a-line);
  margin-top: 10px;
}
.a-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--a-line);
  font-size: 13.5px;
}
.a-line > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.a-qty {
  color: var(--a-muted);
  white-space: nowrap;
}
.a-sum {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 0 4px;
}
.a-sum > div {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #3d4046;
}
.a-sum-total {
  font-weight: 700;
  color: var(--a-ink) !important;
}
.a-detail .s-timeline {
  margin: 10px 0 12px;
}
.a-primary {
  width: 100%;
  background: var(--a-ink);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 11px 14px;
  font-weight: 700;
  font-size: 14px;
}
.a-primary:hover {
  background: #000;
}
.a-hint {
  font-size: 12.5px;
  color: var(--a-muted);
  margin-top: 8px;
}
.a-ghost {
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  padding: 5px 10px;
  font-weight: 600;
  font-size: 12.5px;
}
.a-low-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  border-top: 1px solid var(--a-line);
  font-size: 13.5px;
}
.a-low-row > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.a-low-row strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.a-count {
  font-weight: 700;
  font-size: 12.5px;
  white-space: nowrap;
}
.a-count.low {
  color: #a4471b;
}
.a-count.out {
  color: #b42318;
}
.a-inv-card {
  margin-top: 14px;
}
.a-inv {
  display: flex;
  flex-direction: column;
}
.a-inv-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--a-line);
}
.a-inv-name {
  display: flex;
  flex-direction: column;
  font-size: 13.5px;
}
.a-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.a-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--a-line);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 12px;
  color: #3d4046;
  background: #fff;
}
.a-pill i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .15);
}
.a-pill b {
  font-family:
    "JetBrains Mono",
    ui-monospace,
    monospace;
  font-size: 12px;
  color: var(--a-ink);
}
.a-pill.low {
  border-color: #f0c48f;
  background: #fff6eb;
}
.a-pill.low b {
  color: #a4471b;
}
.a-pill.out {
  border-color: #f3b7b0;
  background: #fdeeec;
}
.a-pill.out b {
  color: #b42318;
}
.a-pill.changed {
  outline: 2px solid #e7b10a;
  outline-offset: 0;
}
@media (max-width:1023px) {
  .a-root {
    padding: 12px;
  }
  .a-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .a-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .a-inv-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .a-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .a-flash,
  button.a-row.a-flash {
    animation: none;
  }
}
