:root{
  --brand:#f18423;
  --brand-dark:#c86410;
  --ink:#162019;
  --muted:#687069;
  --muted-light:#929892;
  --surface:#ffffff;
  --surface-warm:#fff7ef;
  --surface-page:#fbfaf8;
  --border:#e7e0d9;
  --border-strong:#d8d0c8;
  --success:#24613f;
  --success-bg:#eff8f2;
  --shadow:0 8px 24px rgba(22,32,25,.06);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--surface-page);
  font-size:15px;
  line-height:1.4;
}
button,input,textarea{font:inherit}
[hidden]{display:none!important}
button:focus-visible,input:focus-visible,textarea:focus-visible{
  outline:3px solid rgba(241,132,35,.26);
  outline-offset:2px;
}

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:64px;
  padding:0 18px;
  background:rgba(255,255,255,.97);
  color:var(--ink);
  border-bottom:2px solid var(--brand);
  box-shadow:0 2px 12px rgba(22,32,25,.04);
  backdrop-filter:blur(10px);
}
.brand{
  display:flex;
  align-items:center;
  font-size:18px;
  font-weight:900;
  letter-spacing:.055em;
  white-space:nowrap;
}
.brand span{
  margin-left:9px;
  padding:4px 7px;
  border-radius:999px;
  background:var(--brand);
  color:var(--ink);
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
}
.topbar-actions{display:flex;align-items:center;gap:12px}
.language-switch{display:flex;align-items:center;gap:3px}
.language-switch button{
  min-width:32px;
  padding:6px 7px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:var(--muted);
  font-size:10px;
  font-weight:800;
  cursor:pointer;
}
.language-switch button:hover{background:var(--surface-warm);color:var(--ink)}
.language-switch button.active{background:var(--brand);color:var(--ink)}
.cart-link,.text-button{border:0;background:transparent;cursor:pointer}
.cart-link{
  min-height:38px;
  padding:7px 9px 7px 12px;
  border-radius:9px;
  background:var(--brand);
  color:var(--ink);
  font-weight:800;
}
.cart-link:hover{background:#ed7915}
.cart-link b{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  margin-left:5px;
  padding:0 6px;
  border-radius:999px;
  background:var(--ink);
  color:#fff;
  font-size:12px;
}

main{
  width:min(100%,900px);
  margin:0 auto;
  padding:24px 18px 110px;
}
.intro{
  padding:2px 2px 20px;
  border-bottom:1px solid var(--border);
}
.intro p{margin:0 0 4px;font-size:16px;font-weight:800}
.intro small,.muted,.micro{color:var(--muted)}

.toolbar{
  position:sticky;
  top:64px;
  z-index:10;
  padding:14px 0 12px;
  background:rgba(251,250,248,.97);
  backdrop-filter:blur(10px);
}
.toolbar input{
  width:100%;
  height:48px;
  padding:0 15px;
  border:1px solid var(--border-strong);
  border-radius:10px;
  background:#fff;
  color:var(--ink);
  outline:none;
  box-shadow:0 1px 2px rgba(22,32,25,.02);
}
.toolbar input::placeholder{color:var(--muted-light)}
.toolbar input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(241,132,35,.12)}
.filters{
  display:flex;
  gap:7px;
  margin-top:10px;
  overflow-x:auto;
  padding-bottom:2px;
  scrollbar-width:none;
}
.filters::-webkit-scrollbar{display:none}
.filter{
  flex:0 0 auto;
  min-height:38px;
  padding:0 13px;
  border:1px solid var(--border-strong);
  border-radius:999px;
  background:#fff;
  color:#343a35;
  cursor:pointer;
  font-size:13px;
  font-weight:650;
}
.filter:hover{border-color:#e8ad78;background:var(--surface-warm)}
.filter.active{background:var(--brand);color:var(--ink);border-color:var(--brand);font-weight:800}

.products{
  display:grid;
  gap:10px;
  padding-top:2px;
}
.product{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--surface);
  box-shadow:0 1px 2px rgba(22,32,25,.025);
  transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.product:hover{
  border-color:#edc39e;
  box-shadow:var(--shadow);
  transform:translateY(-1px);
}
.product-media{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 104px;
  width:104px;
  height:118px;
  padding:8px;
  border:1px solid #f1e2d4;
  border-radius:11px;
  background:linear-gradient(180deg,#fffaf5 0%,var(--surface-warm) 100%);
  overflow:hidden;
}
.product-media img{
  display:block;
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  transition:opacity .15s ease;
}
.product-media[hidden]{display:flex!important}
.product-media[hidden] img{opacity:0}
.product-main{min-width:0;flex:1 1 auto}
.product-main h3{
  margin:0 0 5px;
  font-size:16px;
  line-height:1.24;
  font-weight:850;
  letter-spacing:-.01em;
}
.product-main p{margin:0;color:var(--muted);font-size:12px}
.product-main .product-ids{margin-top:5px;font-size:10px;color:var(--muted-light)}
.product-buy{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
  flex:0 0 auto;
}
.price{text-align:right}
.price strong{display:block;font-size:17px;line-height:1.15;font-weight:900}
.price span{display:block;margin-top:2px;color:var(--muted);font-size:10px}
.qty{
  display:grid;
  grid-template-columns:40px 34px 40px;
  align-items:center;
  text-align:center;
}
.qty button{
  width:40px;
  height:40px;
  border:1px solid var(--border-strong);
  border-radius:9px;
  background:#fff;
  color:var(--ink);
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.qty button:hover:not(:disabled){background:var(--surface-warm);border-color:#e8ad78}
.qty button:last-child{background:var(--brand);border-color:var(--brand);font-weight:800}
.qty button:last-child:hover:not(:disabled){background:#ed7915}
.qty button:disabled{opacity:.3;cursor:default}
.qty span{font-weight:850}
.empty{padding:34px 0;color:var(--muted);text-align:center}

.cart-panel{
  margin-top:32px;
  padding:24px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  box-shadow:var(--shadow);
}
.section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding-bottom:14px;
  border-bottom:1px solid var(--border);
}
.section-kicker{
  margin:0 0 2px;
  color:var(--brand-dark);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.section-head h2{margin:0;font-size:26px}
.text-button{padding:6px 0;color:var(--brand-dark);font-size:13px;font-weight:800}
.text-button:hover{text-decoration:underline}
.cart-items{border-bottom:1px solid var(--border)}
.cart-line{display:flex;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #f0ece8}
.cart-line:last-child{border-bottom:0}
.cart-line div{min-width:0}
.cart-line strong{font-size:13px}
.cart-line span{display:block;margin-top:2px;color:var(--muted);font-size:11px}
.totals{padding:14px 0 4px}
.totals>div{display:flex;justify-content:space-between;gap:16px;padding:5px 0}
.totals span{color:#59615a}
.totals .total-net{margin-top:4px;padding-top:11px;border-top:1px solid var(--border)}
.totals .total-gross{margin-top:4px;padding-top:11px;border-top:1px solid var(--border-strong);font-size:17px}
.hint{
  margin:13px 0 0;
  padding:11px 13px;
  border:1px solid #f3d2b5;
  border-radius:9px;
  background:var(--surface-warm);
  color:#74400f;
  font-size:12px;
}
.checkout{margin-top:28px;padding-top:22px;border-top:1px solid var(--border)}
.checkout h3{margin:0 0 14px;font-size:19px}
.field-grid{display:grid;gap:11px}
.checkout label{display:grid;gap:5px;font-size:12px;font-weight:750}
.checkout input,.checkout textarea{
  width:100%;
  padding:11px 12px;
  border:1px solid var(--border-strong);
  border-radius:9px;
  background:#fff;
  color:var(--ink);
  outline:none;
}
.checkout input:focus,.checkout textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(241,132,35,.12)}
.checkout textarea{resize:vertical}
.primary{
  width:100%;
  min-height:50px;
  margin-top:15px;
  border:1px solid var(--brand);
  border-radius:10px;
  background:var(--brand);
  color:var(--ink);
  font-weight:900;
  cursor:pointer;
}
.primary:hover:not(:disabled){background:#ed7915}
.primary:disabled{opacity:.6;cursor:wait}
.micro{margin:9px 0 0;font-size:10px}
.confirmation{
  margin-top:14px;
  padding:12px;
  border:1px solid #cfe6d7;
  border-radius:9px;
  background:var(--success-bg);
  color:var(--success);
  font-size:13px;
}
.confirmation span{color:#647069}

.cart-bar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:30;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.97);
  border-top:1px solid var(--border);
  backdrop-filter:blur(10px);
}
.cart-bar button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:56px;
  padding:8px 15px;
  border:0;
  border-radius:11px;
  background:var(--brand);
  color:var(--ink);
  text-align:left;
  cursor:pointer;
  box-shadow:0 5px 18px rgba(241,132,35,.2);
}
.cart-bar span{display:flex;flex-direction:column;gap:1px}
.cart-bar strong{font-size:13px}
.cart-bar small{font-size:10px;opacity:.72}
.cart-bar b{font-size:13px}

@media(min-width:680px){
  main{padding:30px 22px 84px}
  .topbar{padding:0 26px}
  .product-buy{flex-direction:row;align-items:center;gap:20px}
  .price{min-width:135px}
  .field-grid{grid-template-columns:1fr 1fr}
  .field-grid .wide{grid-column:1/-1}
  .cart-bar{display:none!important}
}

@media(max-width:620px){
  main{padding:18px 12px 110px}
  .topbar{min-height:60px;padding:0 12px}
  .toolbar{top:60px}
  .brand{font-size:15px}
  .brand span{margin-left:7px;padding:3px 6px;font-size:8px}
  .topbar-actions{gap:7px}
  .language-switch button{min-width:28px;padding:5px 4px}
  .cart-link{padding:7px 8px;font-size:12px}
  .product{align-items:flex-start;gap:11px;padding:12px}
  .product-media{flex-basis:76px;width:76px;height:92px;padding:6px}
  .product-main h3{font-size:14px}
  .product-main p{font-size:11px}
  .product-buy{gap:8px}
  .price strong{font-size:14px}
  .qty{grid-template-columns:36px 28px 36px}
  .qty button{width:36px;height:36px;border-radius:8px}
  .cart-panel{padding:18px 14px}
}

@media(max-width:420px){
  .language-switch{gap:1px}
  .language-switch button{min-width:25px;font-size:9px}
  .product{display:grid;grid-template-columns:70px minmax(0,1fr);align-items:start}
  .product-media{grid-row:1 / span 2;flex-basis:70px;width:70px;height:88px}
  .product-buy{grid-column:2;align-items:stretch}
  .price{text-align:left}
  .qty{justify-content:start}
}
