:root {
  --forest-950: #0d2b24;
  --forest-900: #123a2f;
  --forest-800: #1b4a3c;
  --forest-700: #2a5c4b;
  --forest-100: #dce8df;
  --linen-50: #fbf8ef;
  --linen-100: #f4eedf;
  --linen-200: #e9dfcb;
  --linen-300: #d8ccb3;
  --gold: #b28b34;
  --gold-light: #e6d39d;
  --rust: #875e4c;
  --ink: #17221e;
  --muted: #5f6b65;
  --line: #20352d;
  --white: #fffdf7;
  --shadow: rgba(18, 45, 36, 0.18);
  --mx: 0px;
  --my: 0px;
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: #b9c8b9;
  background-image:
    linear-gradient(rgba(18, 58, 47, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 58, 47, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, rgba(252, 248, 236, 0.65), transparent 30%),
    linear-gradient(135deg, #c9d1c2, #aebfad);
  background-size: 16px 16px, 16px 16px, auto, auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at calc(75% + var(--mx)) calc(22% + var(--my)), rgba(230, 211, 157, 0.35), transparent 23%),
    radial-gradient(circle at calc(14% - var(--mx)) calc(80% - var(--my)), rgba(18, 58, 47, 0.2), transparent 27%);
  content: "";
  pointer-events: none;
}

button,
input,
select {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
}

button:not(:disabled),
select:not(:disabled) {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

:focus-visible {
  z-index: 2;
  outline: 3px solid #d6a827;
  outline-offset: 3px;
}

::selection {
  color: var(--white);
  background: var(--forest-700);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 9px 14px;
  color: var(--white);
  background: var(--forest-950);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.desktop {
  width: min(1540px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 22px 0;
}

.desktop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 2px 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--forest-950);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 14px);
  gap: 3px;
  width: 38px;
  height: 38px;
  padding: 3px;
  filter: drop-shadow(2px 2px 0 rgba(255, 255, 255, 0.55));
  transform: skewY(-5deg);
}

.brand-mark span,
.start-logo i {
  display: block;
  background: var(--forest-800);
  border: 1px solid var(--forest-950);
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(3),
.start-logo i:nth-child(2),
.start-logo i:nth-child(3) {
  background: var(--gold);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 17px;
  letter-spacing: 0.08em;
}

.brand-copy small {
  color: #4f615a;
  font-size: 11px;
  letter-spacing: 0.04em;
}

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

.connection {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--forest-900);
  font-size: 12px;
  font-weight: 700;
}

.connection i {
  width: 8px;
  height: 8px;
  background: #2b7d50;
  border: 1px solid var(--forest-950);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(43, 125, 80, 0.16);
}

.retro-button {
  min-height: 34px;
  padding: 6px 11px;
  background: #ece7d8;
  border: 2px solid;
  border-color: #fff #68716b #68716b #fff;
  box-shadow: 1px 1px 0 #18231f;
  font-size: 12px;
  font-weight: 700;
}

.retro-button:active {
  border-color: #68716b #fff #fff #68716b;
  box-shadow: none;
  transform: translate(1px, 1px);
}

.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(285px, 330px);
  grid-template-areas:
    "folders hero hero"
    "folders products cart"
    "service products cart";
  gap: 17px;
  align-items: start;
}

.window {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--linen-100);
  border: 2px solid;
  border-color: #fff #2f4039 #2f4039 #fff;
  box-shadow: 5px 5px 0 var(--shadow), 0 0 0 1px #405149;
}

.window::after {
  position: absolute;
  inset: 34px 0 0;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  content: "";
  pointer-events: none;
}

.titlebar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 33px;
  padding: 4px 5px 4px 8px;
  color: #fffdf5;
  background: linear-gradient(90deg, var(--forest-950), var(--forest-700));
  border-bottom: 2px solid var(--forest-950);
}

.titlebar-gold {
  background: linear-gradient(90deg, #876820, #b28b34);
}

.titlebar-light {
  color: var(--forest-950);
  background: #d5cab1;
}

.titlebar-name {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.titlebar-name h2,
.titlebar-name span {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 17px;
  width: 17px;
  height: 15px;
}

.folder-mini,
.shop-mini {
  background: #e7cc77;
  border: 1px solid #322a17;
}

.folder-mini::before,
.shop-mini::before {
  position: absolute;
  top: -4px;
  left: 1px;
  width: 8px;
  height: 4px;
  background: #e7cc77;
  border: 1px solid #322a17;
  border-bottom: 0;
  content: "";
}

.shop-mini {
  background: #e8e3d5;
}

.shop-mini::before {
  background: #e8e3d5;
}

.cart-mini::before {
  position: absolute;
  inset: 2px 1px 5px 3px;
  border: 2px solid #f4e3a5;
  border-top: 0;
  content: "";
  transform: skewX(-8deg);
}

.cart-mini::after {
  position: absolute;
  right: 1px;
  bottom: 0;
  width: 3px;
  height: 3px;
  background: #f4e3a5;
  border-radius: 50%;
  box-shadow: -9px 0 0 #f4e3a5;
  content: "";
}

.window-buttons {
  display: flex;
  flex: 0 0 auto;
  gap: 3px;
  margin-left: 8px;
}

.window-buttons span,
.dialog-x {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  color: var(--ink);
  background: #e3dfd1;
  border: 2px solid;
  border-color: #fff #535d57 #535d57 #fff;
  font: 700 12px/1 Arial, sans-serif;
}

.window-buttons.dark span {
  background: #ece5d5;
}

.window-menu {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 31px;
  padding: 5px 9px;
  color: #3b4741;
  background: #e5dfd0;
  border-bottom: 1px solid #69736e;
  box-shadow: inset 0 1px #fff;
  font-size: 11px;
}

.folder-window {
  grid-area: folders;
}

.folder-content {
  position: relative;
  z-index: 1;
  padding: 22px 14px 16px;
  background:
    radial-gradient(circle, rgba(23, 63, 52, 0.11) 1px, transparent 1.2px),
    var(--linen-100);
  background-size: 10px 10px;
}

.eyebrow {
  margin: 0;
  color: #725619;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.folder-list {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}

.folder {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 62px;
  padding: 7px 9px;
  text-align: left;
  background: rgba(255, 253, 247, 0.62);
  border: 1px solid transparent;
}

.folder:hover {
  background: rgba(255, 253, 247, 0.94);
  border-color: var(--linen-300);
}

.folder.active {
  color: var(--white);
  background: var(--forest-800);
  border-color: var(--forest-950);
  box-shadow: inset 1px 1px rgba(255, 255, 255, 0.2), 2px 2px 0 rgba(18, 43, 35, 0.2);
}

.folder > span:last-child {
  display: grid;
  gap: 4px;
}

.folder strong {
  font-size: 13px;
}

.folder small {
  color: #66716c;
  font-size: 10px;
}

.folder.active small {
  color: #d7e4dc;
}

.folder-icon {
  position: relative;
  display: block;
  width: 38px;
  height: 27px;
  background: #d9b959;
  border: 2px solid #6b5720;
  box-shadow: inset 2px 2px rgba(255, 246, 187, 0.65), 2px 2px 0 rgba(56, 47, 21, 0.15);
}

.folder-icon::before {
  position: absolute;
  top: -8px;
  left: 2px;
  width: 17px;
  height: 8px;
  background: #d9b959;
  border: 2px solid #6b5720;
  border-bottom: 0;
  content: "";
}

.folder.active .folder-icon {
  background: #f0cf69;
}

.folder-tip {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 9px;
  margin-top: 22px;
  padding: 12px 10px;
  background: #e9dfc8;
  border: 1px solid #b8a984;
  box-shadow: inset 1px 1px #fff;
}

.folder-tip p {
  margin: 0;
  color: #4f5a55;
  font-size: 10px;
  line-height: 1.6;
}

.folder-tip strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 11px;
}

.tip-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--forest-700);
  border: 1px solid var(--forest-950);
  border-radius: 50%;
  box-shadow: inset 2px 2px rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.hero-window {
  grid-area: hero;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  min-height: 337px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(244, 238, 223, 1) 0%, rgba(244, 238, 223, 0.95) 54%, rgba(225, 219, 199, 0.74) 100%),
    radial-gradient(circle, rgba(23, 63, 52, 0.15) 1px, transparent 1.2px);
  background-size: auto, 10px 10px;
}

.hero-content::before {
  position: absolute;
  top: -80px;
  right: 17%;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(178, 139, 52, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(178, 139, 52, 0.055), 0 0 0 72px rgba(178, 139, 52, 0.045);
  content: "";
}

.hero-copy {
  align-self: center;
  padding: 36px clamp(26px, 4vw, 64px);
}

.hero-copy h1 {
  margin: 12px 0 14px;
  color: var(--forest-950);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: clamp(43px, 5vw, 76px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.hero-copy h1 span {
  color: var(--forest-700);
}

.hero-intro {
  max-width: 560px;
  margin: 0;
  color: #53605a;
  font-size: 13px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 23px;
}

.primary-button,
.checkout-button,
.add-button {
  border: 0;
  font-weight: 800;
}

.primary-button {
  min-height: 42px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--forest-800);
  border: 2px solid;
  border-color: #3f7160 #09291f #09291f #3f7160;
  box-shadow: 2px 2px 0 rgba(12, 35, 28, 0.25);
  font-size: 12px;
}

.primary-button:hover,
.checkout-button:hover:not(:disabled) {
  background: var(--forest-700);
}

.primary-button:active,
.checkout-button:active:not(:disabled) {
  border-color: #09291f #3f7160 #3f7160 #09291f;
  box-shadow: none;
  transform: translate(1px, 1px);
}

.text-button {
  padding: 7px 0 5px;
  color: var(--forest-900);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--forest-700);
  font-size: 12px;
  font-weight: 700;
}

.text-button:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.hero-art {
  position: relative;
  align-self: center;
  justify-self: center;
  width: 290px;
  height: 260px;
  transform: translate(calc(var(--mx) * 0.35), calc(var(--my) * 0.35));
  transition: transform 0.2s ease-out;
}

.art-shadow {
  position: absolute;
  right: 13px;
  bottom: 7px;
  width: 220px;
  height: 38px;
  background: rgba(20, 50, 41, 0.2);
  border-radius: 50%;
  filter: blur(9px);
  transform: rotate(-5deg);
}

.art-card {
  position: absolute;
  width: 208px;
  height: 222px;
  overflow: hidden;
  border: 2px solid var(--forest-950);
  box-shadow: 8px 9px 0 rgba(18, 58, 47, 0.17);
}

.back-card {
  top: 11px;
  right: 34px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.27) 1px, transparent 1.2px),
    var(--gold);
  background-size: 9px 9px;
  transform: rotate(8deg);
}

.front-card {
  top: 20px;
  left: 23px;
  background: linear-gradient(#e3d8b7 0 51%, #bdc9ae 51%);
  transform: rotate(-5deg);
}

.sun {
  position: absolute;
  top: 33px;
  left: 67px;
  width: 73px;
  height: 73px;
  background: var(--gold-light);
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(178, 139, 52, 0.12), 0 0 0 25px rgba(178, 139, 52, 0.08);
}

.hill {
  position: absolute;
  bottom: -45px;
  border-radius: 50% 50% 0 0;
}

.hill-back {
  left: -42px;
  width: 194px;
  height: 160px;
  background: #547762;
  transform: rotate(15deg);
}

.hill-front {
  right: -67px;
  width: 222px;
  height: 149px;
  background: var(--forest-900);
  transform: rotate(-11deg);
}

.tiny-tree {
  position: absolute;
  bottom: 41px;
  width: 4px;
  height: 39px;
  background: var(--forest-950);
}

.tiny-tree::before,
.tiny-tree::after {
  position: absolute;
  left: 50%;
  width: 34px;
  height: 48px;
  background: #315e4d;
  border: 2px solid var(--forest-950);
  border-radius: 55% 55% 48% 48%;
  content: "";
  transform: translate(-50%, -55%);
}

.tiny-tree::after {
  width: 25px;
  height: 33px;
  background: #6f8c6e;
  transform: translate(-50%, -105%);
}

.tree-one {
  left: 55px;
}

.tree-two {
  right: 37px;
  bottom: 24px;
  transform: scale(0.7);
}

.gold-seal {
  position: absolute;
  right: 5px;
  bottom: 25px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff9e7;
  background: var(--gold);
  border: 2px dashed #fff2bd;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold), 4px 5px 0 rgba(18, 58, 47, 0.2);
  font-size: 23px;
  transform: rotate(8deg);
}

.statusbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 25px;
  padding: 5px 8px;
  color: #53605a;
  background: #dfd9ca;
  border-top: 1px solid #7a827e;
  box-shadow: inset 0 1px #fff;
  font-size: 10px;
}

.statusbar span + span {
  padding-left: 12px;
  border-left: 1px solid #a8aea9;
}

.products-window {
  grid-area: products;
}

.product-menu {
  gap: 17px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(210px, 42%);
  height: 25px;
  margin-left: auto;
  padding: 0 7px;
  color: var(--forest-900);
  background: var(--white);
  border: 2px solid;
  border-color: #6c746f #fff #fff #6c746f;
}

.search-box input {
  width: 100%;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 11px;
}

.search-box:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: -1px;
}

.addressbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 5px 7px;
  background: #d8d3c6;
  border-bottom: 1px solid #7c8580;
  font-size: 10px;
}

.address-label {
  flex: 0 0 auto;
  color: #52605a;
}

.address-path {
  flex: 1;
  min-width: 0;
  height: 24px;
  padding: 5px 7px;
  overflow: hidden;
  background: var(--white);
  border: 2px solid;
  border-color: #68716b #fff #fff #68716b;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sort-control select {
  width: 118px;
  height: 24px;
  padding: 2px 18px 2px 6px;
  color: var(--ink);
  background: #f2eee2;
  border: 1px solid #69736e;
  font-size: 10px;
}

.product-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  padding: 15px;
  background:
    linear-gradient(rgba(23, 63, 52, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 63, 52, 0.035) 1px, transparent 1px),
    var(--linen-50);
  background-size: 12px 12px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #a9a38f;
  box-shadow: 2px 2px 0 rgba(24, 52, 43, 0.11);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.product-card:hover {
  border-color: var(--forest-700);
  box-shadow: 4px 5px 0 rgba(24, 52, 43, 0.14);
  transform: translateY(-2px);
}

.product-card.dragging {
  opacity: 0.55;
  outline: 3px dashed var(--gold);
  transform: rotate(1deg) scale(0.99);
}

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

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 198px;
  overflow: hidden;
  border-bottom: 1px solid #b9b29f;
}

.product-visual::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.65), transparent 20%),
    radial-gradient(circle, rgba(23, 63, 52, 0.12) 1px, transparent 1.3px);
  background-size: auto, 11px 11px;
  content: "";
}

.product-visual svg {
  position: relative;
  z-index: 1;
  width: 95%;
  height: 186px;
  transition: transform 0.25s ease;
}

.product-card:hover .product-visual svg {
  transform: scale(1.035) translateY(-2px);
}

.visual-bag { background: #e7ddc5; }
.visual-mug { background: #ccd8c7; }
.visual-lamp { background: #eadfc0; }
.visual-bottle { background: #c9d5ca; }
.visual-clock { background: #e1d4bd; }
.visual-mat { background: #d6d3bd; }

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 7px;
  color: #fffdf7;
  background: var(--forest-800);
  border: 1px solid var(--forest-950);
  box-shadow: 2px 2px 0 rgba(20, 48, 39, 0.2);
  font-size: 9px;
  font-weight: 800;
}

.product-badge.quiet {
  color: var(--forest-950);
  background: var(--gold-light);
  border-color: #7e6426;
}

.product-info {
  padding: 13px 13px 14px;
}

.product-info > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}

.category-tag {
  color: var(--forest-700);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.rating {
  color: #7e6327;
  font-size: 9px;
  font-weight: 800;
}

.product-info h3 {
  margin: 8px 0 6px;
  color: var(--forest-950);
  font-size: 16px;
  line-height: 1.3;
}

.product-info > p {
  min-height: 38px;
  margin: 0;
  color: #67716c;
  font-size: 10px;
  line-height: 1.7;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px dashed #c7bda7;
}

.price {
  color: var(--forest-900);
  font-family: Arial, sans-serif;
  font-size: 21px;
}

.price small,
.cart-total small {
  margin-right: 2px;
  font-size: 11px;
}

.card-actions {
  display: flex;
  gap: 5px;
}

.icon-button,
.add-button {
  min-height: 30px;
  background: #e8e2d4;
  border: 1px solid #68716b;
  box-shadow: inset 1px 1px #fff;
  font-size: 10px;
}

.icon-button {
  width: 30px;
  padding: 0;
  font-size: 16px;
  font-weight: 900;
}

.add-button {
  padding: 5px 8px;
  color: var(--white);
  background: var(--forest-800);
  border-color: var(--forest-950);
}

.icon-button:hover {
  background: var(--linen-300);
}

.add-button:hover {
  background: var(--gold);
}

.empty-state {
  position: relative;
  z-index: 1;
  padding: 70px 24px;
  text-align: center;
  background: var(--linen-50);
}

.empty-state > span {
  display: block;
  color: var(--gold);
  font-size: 42px;
}

.empty-state strong {
  display: block;
  margin-top: 6px;
  color: var(--forest-900);
}

.empty-state p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.cart-window {
  position: sticky;
  top: 14px;
  grid-area: cart;
}

.titlebar-cart {
  background: linear-gradient(90deg, #2d4b41, #5f755f);
}

.cart-body {
  position: relative;
  z-index: 1;
  padding: 17px 15px 15px;
  background:
    radial-gradient(circle, rgba(23, 63, 52, 0.08) 1px, transparent 1.2px),
    var(--linen-100);
  background-size: 11px 11px;
}

.cart-headline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.cart-headline strong {
  display: block;
  margin-top: 3px;
  color: var(--forest-950);
  font-size: 16px;
}

.clear-button {
  padding: 4px 0;
  color: var(--rust);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
}

.drop-zone {
  position: relative;
  min-height: 183px;
  max-height: 330px;
  overflow: auto;
  background: rgba(255, 253, 247, 0.76);
  border: 2px dashed #96a096;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.drop-zone.is-over {
  background: #edf1e5;
  border-color: var(--gold);
  box-shadow: inset 0 0 0 3px rgba(178, 139, 52, 0.15);
}

.empty-cart {
  display: grid;
  justify-items: center;
  padding: 20px 12px 16px;
  color: #5f6b65;
  text-align: center;
}

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

.empty-cart strong {
  margin-top: 8px;
  color: var(--forest-900);
  font-size: 12px;
}

.empty-cart p {
  margin: 4px 0 0;
  font-size: 10px;
}

.basket-illustration {
  position: relative;
  width: 71px;
  height: 54px;
  margin-top: 3px;
  background: #d7c995;
  border: 2px solid var(--forest-950);
  box-shadow: inset 4px 4px rgba(255, 255, 255, 0.32), 4px 4px 0 rgba(20, 48, 39, 0.12);
  clip-path: polygon(8% 17%, 92% 17%, 81% 96%, 19% 96%);
}

.basket-illustration::before {
  position: absolute;
  top: -12px;
  left: 14px;
  width: 38px;
  height: 29px;
  border: 5px solid var(--forest-950);
  border-bottom: 0;
  border-radius: 25px 25px 0 0;
  content: "";
}

.basket-illustration span,
.basket-illustration span::before,
.basket-illustration span::after {
  position: absolute;
  top: 11px;
  left: 19px;
  width: 2px;
  height: 32px;
  background: rgba(23, 63, 52, 0.55);
  content: "";
}

.basket-illustration span::before { top: 0; left: 13px; }
.basket-illustration span::after { top: 0; left: 26px; }

.cart-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 6px 9px;
  list-style: none;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  padding: 10px 0;
  border-bottom: 1px dashed #c2b79e;
}

.cart-item:last-child {
  border-bottom: 0;
}

.cart-item-main {
  min-width: 0;
}

.cart-item-name {
  display: block;
  overflow: hidden;
  color: var(--forest-950);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-price {
  display: block;
  margin-top: 4px;
  color: var(--rust);
  font-size: 10px;
  font-weight: 800;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 2px;
}

.quantity-control button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: #e5dfd0;
  border: 1px solid #7a827e;
  box-shadow: inset 1px 1px #fff;
  font-weight: 800;
}

.quantity-control span {
  min-width: 22px;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
}

.delivery-note {
  display: grid;
  grid-template-columns: 27px 1fr;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  padding: 9px;
  color: #645530;
  background: #ede0b8;
  border: 1px solid #b99a4d;
}

.delivery-note > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: var(--white);
  background: var(--gold);
  border-radius: 50%;
}

.delivery-note p {
  margin: 0;
  font-size: 9px;
  line-height: 1.5;
}

.delivery-note strong {
  color: #4b3c18;
  font-size: 10px;
}

.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  padding-top: 13px;
  border-top: 2px solid var(--forest-900);
}

.cart-total > span {
  color: #55615b;
  font-size: 11px;
  font-weight: 800;
}

.cart-total strong {
  color: var(--forest-900);
  font-family: Arial, sans-serif;
  font-size: 27px;
}

.checkout-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 45px;
  margin-top: 12px;
  padding: 10px 15px;
  color: var(--white);
  background: var(--forest-800);
  border: 2px solid;
  border-color: #3f7160 #09291f #09291f #3f7160;
  box-shadow: 2px 2px 0 rgba(12, 35, 28, 0.25);
  font-size: 12px;
}

.safe-note {
  margin: 9px 0 0;
  color: #64706a;
  text-align: center;
  font-size: 9px;
}

.service-window {
  grid-area: service;
}

.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--linen-100);
}

.service-grid > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 17px 14px;
  border-right: 1px solid #bbb29f;
}

.service-grid > div:last-child {
  border-right: 0;
}

.service-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 35px;
  height: 35px;
  color: var(--white);
  background: var(--forest-700);
  border: 1px solid var(--forest-950);
  box-shadow: inset 2px 2px rgba(255, 255, 255, 0.15), 2px 2px 0 rgba(20, 48, 39, 0.15);
  font-size: 18px;
  font-weight: 900;
}

.service-grid p {
  display: grid;
  min-width: 0;
  gap: 3px;
  margin: 0;
}

.service-grid strong {
  overflow: hidden;
  color: var(--forest-950);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-grid small {
  color: #66716c;
  font-size: 9px;
}

.taskbar {
  position: sticky;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 49px;
  margin: 19px -22px 0;
  padding: 6px max(12px, calc((100vw - 1496px) / 2 + 22px));
  background: #d9d4c8;
  border-top: 2px solid #fff;
  box-shadow: 0 -1px 0 #53605a, 0 -6px 18px rgba(20, 48, 39, 0.12);
}

.start-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 35px;
  padding: 5px 13px 5px 8px;
  background: #e8e3d6;
  border: 2px solid;
  border-color: #fff #5e6862 #5e6862 #fff;
  box-shadow: 1px 1px 0 #2c3833;
  font-size: 12px;
  font-weight: 900;
}

.start-button[aria-expanded="true"] {
  background: #cfc9bb;
  border-color: #5e6862 #fff #fff #5e6862;
  box-shadow: none;
}

.start-logo {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  gap: 2px;
}

.start-logo i {
  width: 8px;
  height: 8px;
}

.task-divider {
  align-self: stretch;
  width: 3px;
  margin: 0 2px;
  border-left: 1px solid #7b847f;
  border-right: 1px solid #fff;
}

.task-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 34px;
  padding: 5px 10px;
  overflow: hidden;
  background: #e1dcd0;
  border: 2px solid;
  border-color: #fff #6f7773 #6f7773 #fff;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-item.active {
  background: #cfc9ba;
  border-color: #727a75 #fff #fff #727a75;
}

.task-item b {
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  color: var(--white);
  background: var(--forest-700);
  border-radius: 9px;
  font-size: 9px;
}

.task-clock {
  margin-left: auto;
  padding: 8px 9px;
  border: 2px solid;
  border-color: #7b837f #fff #fff #7b837f;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.start-menu {
  position: fixed;
  bottom: 52px;
  left: max(8px, calc((100vw - 1496px) / 2 + 5px));
  z-index: 100;
  display: grid;
  grid-template-columns: 36px 1fr;
  width: min(315px, calc(100vw - 16px));
  min-height: 244px;
  padding: 4px;
  background: #ded9cd;
  border: 2px solid;
  border-color: #fff #4f5a54 #4f5a54 #fff;
  box-shadow: 4px 4px 0 rgba(18, 42, 34, 0.25);
}

.start-menu[hidden] {
  display: none;
}

.start-side {
  position: relative;
  overflow: hidden;
  color: #dce6df;
  background: linear-gradient(#2d5b4a, #123a2f);
}

.start-side span {
  position: absolute;
  bottom: 10px;
  left: 8px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.start-items {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 5px;
}

.start-items button {
  display: grid;
  grid-template-columns: 39px 1fr;
  align-items: center;
  gap: 9px;
  min-height: 66px;
  padding: 7px;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
}

.start-items button:hover,
.start-items button:focus-visible {
  color: var(--white);
  background: var(--forest-700);
  border-color: var(--forest-950);
}

.start-items button > span:first-child {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  color: var(--forest-900);
  background: #e5d6a4;
  border: 1px solid #887134;
  font-size: 20px;
  font-weight: 900;
}

.start-items button > span:last-child {
  display: grid;
  gap: 4px;
}

.start-items strong {
  font-size: 12px;
}

.start-items small {
  color: #68736d;
  font-size: 9px;
}

.start-items button:hover small,
.start-items button:focus-visible small {
  color: #dbe5df;
}

.retro-dialog {
  width: min(480px, calc(100% - 28px));
  max-width: 480px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  overflow: visible;
}

.retro-dialog::backdrop {
  background: rgba(12, 33, 27, 0.56);
  backdrop-filter: blur(2px);
}

.dialog-window {
  background: var(--linen-100);
  border: 3px solid;
  border-color: #fff #26352f #26352f #fff;
  box-shadow: 8px 8px 0 rgba(9, 25, 20, 0.28), 0 0 0 1px #1e3129;
}

.dialog-x {
  flex: 0 0 auto;
}

.dialog-content {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 17px;
  align-items: center;
  min-height: 140px;
  padding: 27px 30px;
  background:
    radial-gradient(circle, rgba(23, 63, 52, 0.08) 1px, transparent 1.2px),
    var(--linen-100);
  background-size: 10px 10px;
}

.dialog-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: var(--forest-700);
  border: 2px solid var(--forest-950);
  border-radius: 50%;
  box-shadow: inset 3px 3px rgba(255, 255, 255, 0.2), 4px 4px 0 rgba(18, 43, 35, 0.17);
  font-size: 26px;
  font-weight: 900;
}

.dialog-content h3 {
  margin: 0 0 8px;
  color: var(--forest-950);
  font-size: 17px;
}

.dialog-content p {
  margin: 0;
  color: #5f6a65;
  font-size: 11px;
  line-height: 1.65;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 12px 15px;
  background: #d8d2c4;
  border-top: 1px solid #7c8580;
  box-shadow: inset 0 1px #fff;
}

.dialog-actions button {
  min-width: 105px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 63px;
  z-index: 200;
  max-width: min(330px, calc(100% - 32px));
  padding: 11px 14px;
  color: #fff;
  background: var(--forest-900);
  border: 2px solid;
  border-color: #477260 #061f18 #061f18 #477260;
  box-shadow: 4px 4px 0 rgba(8, 27, 21, 0.25);
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .workspace {
    grid-template-columns: 220px minmax(0, 1fr);
    grid-template-areas:
      "folders hero"
      "folders products"
      "cart products"
      "service service";
  }

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

  .hero-copy {
    padding: 34px 30px;
  }

  .hero-art {
    margin-right: -25px;
    transform: scale(0.86) translate(calc(var(--mx) * 0.35), calc(var(--my) * 0.35));
  }

  .cart-window {
    position: static;
  }
}

@media (max-width: 860px) {
  .desktop {
    padding-right: 14px;
    padding-left: 14px;
  }

  .workspace {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "folders"
      "products"
      "cart"
      "service";
  }

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

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

  .folder {
    grid-template-columns: 40px 1fr;
  }

  .folder-tip {
    margin-top: 14px;
  }

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

  .taskbar {
    margin-right: -14px;
    margin-left: -14px;
  }
}

@media (max-width: 680px) {
  .desktop {
    padding-top: 12px;
  }

  .desktop-header {
    align-items: flex-start;
    margin-bottom: 12px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    max-width: 220px;
    font-size: 9px;
  }

  .connection {
    display: none;
  }

  .sound-toggle {
    width: 36px;
    padding: 5px;
  }

  .sound-label {
    display: none;
  }

  .workspace {
    gap: 13px;
  }

  .window {
    box-shadow: 3px 4px 0 var(--shadow), 0 0 0 1px #405149;
  }

  .hero-content {
    display: block;
    min-height: 510px;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    padding: 30px 23px 15px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 13.2vw, 65px);
  }

  .hero-intro {
    font-size: 12px;
  }

  .hero-art {
    position: absolute;
    right: 50%;
    bottom: -12px;
    margin: 0 -145px 0 0;
    transform: scale(0.86) translate(calc(var(--mx) * 0.25), calc(var(--my) * 0.25));
  }

  .hero-actions {
    gap: 14px;
  }

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

  .product-menu > span:not(.sr-only) {
    display: none;
  }

  .search-box {
    width: 100%;
    margin-left: 0;
  }

  .address-label {
    display: none;
  }

  .address-path {
    font-size: 9px;
  }

  .sort-control select {
    width: 104px;
  }

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

  .product-visual {
    min-height: 230px;
  }

  .product-visual svg {
    width: min(96%, 330px);
    height: 218px;
  }

  .product-info h3 {
    font-size: 18px;
  }

  .product-info > p {
    min-height: 0;
    font-size: 11px;
  }

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

  .service-grid > div {
    border-right: 0;
    border-bottom: 1px solid #bbb29f;
  }

  .service-grid > div:last-child {
    border-bottom: 0;
  }

  .task-item {
    flex: 1 1 0;
    justify-content: center;
  }

  .task-item span + * {
    display: none;
  }

  .task-clock {
    display: none;
  }

  .taskbar {
    min-height: 51px;
    padding: 7px 9px;
  }

  .toast {
    right: 16px;
    bottom: 65px;
  }
}

@media (max-width: 410px) {
  .brand-copy small {
    max-width: 185px;
  }

  .folder {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 100px;
    text-align: center;
  }

  .folder-tip {
    grid-template-columns: 29px 1fr;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero-content {
    min-height: 555px;
  }

  .window-buttons span {
    width: 20px;
  }

  .addressbar {
    flex-wrap: wrap;
  }

  .address-path {
    flex-basis: calc(100% - 112px);
  }

  .dialog-content {
    grid-template-columns: 45px 1fr;
    gap: 12px;
    padding: 24px 18px;
  }

  .dialog-icon {
    width: 44px;
    height: 44px;
  }

  .dialog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .dialog-actions button {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-art {
    transform: none !important;
  }
}

body.motion-off::before {
  --mx: 0px;
  --my: 0px;
}

body.motion-off .hero-art {
  transform: none !important;
  transition: none;
}
