:root {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #172a20;
  background: #f4f5ee;
  color-scheme: light;
  --ink: #172a20;
  --soft: #526156;
  --line: #dce2d8;
  --paper: #fffefa;
  --accent: #ddf692;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid #55822b; outline-offset: 3px; }
.wrap { width: min(1220px, calc(100% - 72px)); margin-inline: auto; }
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; }
.brand-icon { display: grid; place-items: center; border-radius: 11px; width: 38px; height: 38px; background: #1b3929; color: var(--accent); font-weight: 800; }
.help { text-decoration: none; font-size: .9rem; font-weight: 650; }
nav { display: flex; gap: 8px; }
nav button { background: none; border: 0; color: var(--soft); padding: 10px 16px; border-radius: 9px; }
nav button[aria-current] { color: var(--ink); background: #edf2e1; font-weight: 700; }
main { padding-block: 52px 68px; }
.welcome { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.intro {
  position: relative; isolation: isolate; min-height: 570px; display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; background: radial-gradient(ellipse at 85% 82%, #36533c, transparent 58%), #14291f;
  color: #fcfff4; border-radius: 25px; padding: 54px 50px 35px;
}
.intro-copy { z-index: 1; }
.eyebrow { margin: 0 0 24px; color: #496343; font-size: .72rem; letter-spacing: .18em; font-weight: 800; }
.intro .eyebrow { color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
.intro h1 { font-size: clamp(2.7rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: -.063em; margin-bottom: 26px; }
.intro h1 em { font-family: Georgia, serif; font-weight: 400; color: var(--accent); letter-spacing: -.064em; }
.intro-description { width: min(380px, 100%); line-height: 1.7; color: #d6e2d4; font-size: 1.03rem; }
.intro-footer { z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 128px; }
.intro-footer span { border: 1px solid #52695a; border-radius: 20px; padding: 7px 13px; font-size: .8rem; color: #f0f7ea; background: #182e24; }
.art { position: absolute; right: -35px; bottom: -55px; width: 390px; height: 330px; z-index: -1; }
.orbit { position: absolute; width: 300px; height: 190px; border: 1px solid #83a87373; border-radius: 50%; transform: rotate(-28deg); inset: 62px 35px; }
.orbit-two { transform: rotate(29deg); inset: 60px 40px; }
.art-tile { position: absolute; display: grid; place-items: center; width: 107px; height: 107px; border-radius: 24px; box-shadow: 4px 15px 30px #12231986; font-size: 2.1rem; font-weight: 750; }
.tile-ai { color: #233825; background: #dff39d; right: 140px; bottom: 137px; transform: rotate(-14deg); }
.tile-g { color: #3a5162; background: #e4f2ea; right: 47px; bottom: 155px; transform: rotate(18deg); width: 83px; height: 83px; }
.tile-cc { color: #e4f3d6; background: #355441; right: 64px; bottom: 72px; transform: rotate(12deg); width: 76px; height: 76px; border: 1px solid #67846e; font-size: 1.45rem; }
.login-card { background: var(--paper); border: 1px solid var(--line); border-radius: 25px; padding: 46px 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.login-mark { display: grid; place-items: center; width: 53px; height: 53px; margin-bottom: 26px; border-radius: 15px; background: #ecf2de; font-size: 1.55rem; }
.login-card h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.04em; margin-bottom: 15px; }
.login-card p { line-height: 1.65; color: var(--soft); }
.login-card .button { width: 100%; margin-top: 10px; justify-content: space-between; }
.login-card .login-status { font-size: .86rem; margin: 12px 0 0; }
.login-footer { width: 100%; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 21px; font-size: .87rem; color: var(--soft); }
.login-footer a { font-weight: 700; color: var(--ink); }
.button { display: inline-flex; gap: 12px; justify-content: center; align-items: center; border-radius: 9px; min-height: 42px; padding: 10px 15px; border: 1px solid transparent; text-decoration: none; color: inherit; font-weight: 700; }
.primary { background: var(--accent); color: #21331b; }
.primary:hover { background: #d0ec7f; }
.secondary { border-color: var(--line); background: var(--paper); }
.secondary:hover { background: #f1f4e9; }
.account { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #182f23; color: white; border-radius: 22px; padding: 34px; margin-bottom: 36px; }
.account .eyebrow { color: var(--accent); margin-bottom: 12px; }
.account h1 { font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.05em; margin-bottom: 10px; }
.account p:last-child { color: #d5e4d8; margin: 0; }
.wallet { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wallet > div { display: flex; flex-direction: column; white-space: nowrap; margin-right: 9px; gap: 4px; }
.wallet span { font-size: .8rem; color: #d5e4d8; }
.wallet strong { font-size: 1.55rem; }
.wallet button { color: var(--ink); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.section-heading h2 { margin-bottom: 5px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.04em; }
.section-heading p { margin-bottom: 0; color: var(--soft); font-size: .9rem; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 17px; }
input:not([type=checkbox]), select, textarea { background: var(--paper); border: 1px solid #cbd4c7; border-radius: 9px; padding: 11px 13px; color: var(--ink); min-width: 0; }
#search { flex: 1; min-width: 180px; }
.stock-filter { display: flex; align-items: center; gap: 8px; color: var(--soft); font-size: .9rem; min-height: 40px; }
input[type=checkbox] { accent-color: #2d613c; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product, .order-row, .empty { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 19px; overflow-wrap: anywhere; }
.product { display: flex; flex-direction: column; gap: 12px; }
.product-top, .product-bottom, .order-row, .total { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product h3 { margin: 0; font-size: 1.07rem; }
.product small, .order-row small { color: var(--soft); }
.product-bottom { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.product-bottom strong { font-size: 1.24rem; }
.chip { border-radius: 99px; background: #edf2e2; color: #345b35; padding: 4px 9px; font-size: .77rem; font-weight: 650; }
.muted { background: #f3ebe2; color: #66452e; }
.order-list { display: grid; gap: 10px; }
.order-row { width: 100%; text-align: left; color: inherit; }
.order-row > span { display: grid; gap: 5px; }
.order-row > span:last-child { justify-items: end; white-space: nowrap; }
.order-row:hover { border-color: #77936c; }
.empty { grid-column: 1 / -1; color: var(--soft); margin: 0; }
dialog { width: min(490px, calc(100% - 30px)); max-height: 90vh; padding: 25px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: #14251bbe; }
dialog h2 { margin-right: 40px; font-size: 1.4rem; overflow-wrap: anywhere; }
.close { position: absolute; top: 12px; right: 12px; width: 39px; height: 39px; color: var(--ink); border: 0; border-radius: 8px; background: #edf2e2; font-size: 1.35rem; }
form, form label { display: grid; gap: 10px; }
form label { gap: 5px; }
textarea { resize: vertical; }
.total { padding-block: 12px; border-block: 1px solid var(--line); }
.delivery { white-space: pre-wrap; overflow-wrap: anywhere; background: #eff2e6; border-radius: 9px; padding: 13px; }
#shop-status, .form-status { color: #5b401b; }
.form-status:empty { display: none; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 38px); }
  main { padding-top: 30px; }
  .intro { min-height: 490px; padding: 36px 30px 25px; }
  .login-card { padding: 30px 25px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 26px); }
  .topbar-inner { min-height: 60px; flex-wrap: wrap; padding-block: 8px; gap: 8px; }
  nav { order: 3; width: 100%; }
  main { padding-top: 15px; }
  .welcome { grid-template-columns: 1fr; gap: 13px; }
  .intro { min-height: 360px; border-radius: 17px; padding: 25px 21px 19px; }
  .intro h1 { font-size: clamp(2.3rem, 10vw, 3.5rem); margin-bottom: 14px; }
  .intro-description { font-size: .91rem; max-width: 290px; }
  .intro .eyebrow { margin-bottom: 16px; }
  .intro-footer { margin-top: 66px; }
  .art { transform: scale(.65); right: -85px; bottom: -78px; }
  .login-card, .account { border-radius: 17px; padding: 22px; }
  .login-mark { margin-bottom: 15px; }
  .account { align-items: flex-start; flex-direction: column; margin-bottom: 23px; }
  .products { grid-template-columns: minmax(0, 1fr); }
}
