:root{--bg:#f5f5f3;--surface:#fff;--surface-muted:#f0efeb;--border:#e7e5e0;--text:#181816;--text-soft:#4f4c46;--text-muted:#77736d;--accent:#f5b400;--accent-soft:#fff4c9;--success:#2f8f5b;--danger:#b54747;--shadow:0 1px 2px rgba(24,24,22,.04),0 8px 28px rgba(24,24,22,.04);--radius:12px;--radius-lg:18px;--max:1180px}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body:before{display:none!important}a{color:inherit}.top{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--border);box-shadow:none}.topin,.wrap{max-width:var(--max);margin:auto}.topin{height:68px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{display:flex;gap:10px;align-items:center;color:var(--text);font-size:.94rem;font-weight:800;letter-spacing:-.01em}.brand img{width:34px;height:34px;border-radius:10px;border:1px solid var(--border);background:#fff}.status{max-width:52vw;padding:8px 11px;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted);color:var(--text-muted);font-size:.72rem;font-weight:650}.networkBar{background:#fff8dc!important;color:#5f4b12!important;border-bottom:1px solid #ead9a5!important}.networkBar button{border:1px solid #d9c27b!important;background:#fff!important;color:#5f4b12!important;border-radius:9px!important}.wrap{padding:26px 20px 124px}.hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:18px;align-items:stretch;padding:10px 0 18px}.heroCopy{padding:34px 34px 30px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow)}.ey{color:#8a6500;font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.hero h1{max-width:760px;margin:10px 0 14px;color:var(--text);font-size:clamp(2.5rem,5.2vw,4.7rem);line-height:.96;letter-spacing:-.055em;text-transform:none}.hero h1 span{display:inline;color:var(--text-muted)}.hero p{max-width:620px;margin:0;color:var(--text-soft);font-size:1rem;line-height:1.58}.actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.btn,.add,.go,.close{border:0;border-radius:10px;font:inherit;font-weight:760;cursor:pointer}.btn{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:0 15px;text-decoration:none;border:1px solid var(--border);background:#fff;color:var(--text)}.primary,.go{background:var(--accent)!important;color:#17130a!important;border-color:var(--accent)!important}.heroMeta{display:grid;align-content:center;gap:0;padding:14px 22px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.heroMeta span{position:relative;padding:18px 0 18px 34px;border-bottom:1px solid var(--border);color:var(--text-soft);font-size:.82rem;font-weight:650}.heroMeta span:last-child{border-bottom:0}.heroMeta span:before{position:absolute;left:0;top:16px;width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:var(--accent-soft);color:#715400;font-weight:900}.heroMeta span:nth-child(1):before{content:'1'}.heroMeta span:nth-child(2):before{content:'2'}.heroMeta span:nth-child(3):before{content:'3'}.trust{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 28px}.trust div{padding:15px 16px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.trust b{font-size:.8rem}.trust small{display:block;margin-top:4px;color:var(--text-muted);font-size:.72rem;line-height:1.4}.section{margin-top:22px}.head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:12px}.head h2{margin:4px 0 0;font-size:1.7rem;letter-spacing:-.035em}.head small{color:var(--text-muted);font-size:.72rem}.search{width:100%;min-height:46px;margin-bottom:10px;padding:0 14px;border:1px solid var(--border);border-radius:11px;background:#fff;color:var(--text);font:inherit;box-shadow:0 1px 1px rgba(24,24,22,.02)}.search::placeholder{color:#aaa69f}.chips{display:flex;gap:7px;overflow:auto;padding:4px 0 13px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{min-height:38px;padding:0 12px;white-space:nowrap;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--text-soft);font-size:.76rem;font-weight:700}.chip.on{border-color:#d8b43b;background:var(--accent-soft);color:#4f3b00}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.card{min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.card:hover{transform:translateY(-2px);border-color:#dcd7cc;box-shadow:var(--shadow)}.visual{aspect-ratio:4/3;overflow:hidden;background:var(--surface-muted);display:flex;align-items:center;justify-content:center}.visual img{width:100%;height:100%;object-fit:cover}.fallbackIcon{font-size:2.3rem}.body{display:flex;flex:1;flex-direction:column;padding:14px 15px 15px}.meta{color:var(--text-muted);font-size:.62rem;font-weight:780;text-transform:uppercase;letter-spacing:.07em}.card h3{margin:5px 0 6px;color:var(--text);font-size:1.02rem;letter-spacing:-.02em}.desc{display:-webkit-box;overflow:hidden;color:var(--text-muted);font-size:.78rem;line-height:1.42;-webkit-line-clamp:2;-webkit-box-orient:vertical}.row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:13px}.price{color:var(--text);font-size:.95rem;font-weight:800}.add{min-height:38px;padding:0 11px;border:1px solid #e3cd76;background:var(--accent-soft);color:#5f4700;font-size:.73rem}.add:hover{background:var(--accent)}.badge{display:inline-flex;vertical-align:middle;margin-left:5px;padding:2px 6px;border:0;border-radius:999px;background:var(--accent-soft);color:#715400;font-size:.54rem;letter-spacing:.04em}.cartbar{position:fixed;left:50%;bottom:14px;z-index:45;width:min(720px,calc(100% - 24px));transform:translateX(-50%);display:flex;justify-content:space-between;align-items:center;padding:11px 12px;border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,.96);color:var(--text);box-shadow:0 16px 42px rgba(24,24,22,.14);backdrop-filter:blur(14px)}.cartbar small{color:var(--text-muted)}.cartbar .go{min-height:42px;padding:0 14px}.hidden{display:none!important}.overlay{position:fixed;inset:0;z-index:60;display:none;align-items:flex-end;background:rgba(24,24,22,.42);backdrop-filter:blur(3px)}.overlay.open{display:flex}.panel{width:min(720px,100%);max-height:92vh;margin:auto;padding:18px;border:1px solid var(--border);border-bottom:0;border-radius:20px 20px 0 0;background:#fff;color:var(--text);overflow:auto;box-shadow:0 -12px 42px rgba(24,24,22,.12)}.ph{display:flex;justify-content:space-between;align-items:center;gap:12px}.ph h2{margin:0;font-size:1.25rem;letter-spacing:-.025em}.close{width:38px;height:38px;padding:0;border:1px solid var(--border);background:var(--surface-muted);color:var(--text);font-size:1.2rem}.line{display:grid;grid-template-columns:1fr auto;gap:10px;padding:13px 0;border-bottom:1px solid var(--border)}.muted{margin-top:4px;color:var(--text-muted);font-size:.76rem;line-height:1.4}.qty{display:flex;gap:6px;align-items:center}.qty button{min-width:42px;min-height:42px;width:42px;height:42px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--text)}.total{display:flex;justify-content:space-between;align-items:center;padding:16px 0}.field{display:grid;gap:6px;margin:11px 0}.field label{color:var(--text-soft);font-size:.75rem;font-weight:700}.field input,.field select,.field textarea{width:100%;min-height:44px;padding:10px 11px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--text);font:inherit}.field textarea{min-height:76px;resize:vertical}.err{display:none;margin-top:9px;padding:10px;border:1px solid #efcece;border-radius:9px;background:#fff3f3;color:#8f3434;font-size:.8rem}.err.show{display:block}.prodTop{display:grid;grid-template-columns:104px 1fr;gap:14px;padding-bottom:15px;border-bottom:1px solid var(--border)}.prodPic{aspect-ratio:1;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface-muted);display:flex;align-items:center;justify-content:center;font-size:2.2rem}.prodPic img{width:100%;height:100%;object-fit:cover}.block{padding:14px 0;border-bottom:1px solid var(--border)}.block h3{margin:0 0 9px;font-size:.9rem}.choices{display:flex;gap:7px;flex-wrap:wrap}.choice input{position:absolute;opacity:0}.choice span{display:inline-flex;min-height:40px;align-items:center;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--text-soft);font-size:.77rem}.choice input:checked+span{border-color:#dfc35a;background:var(--accent-soft);color:#4f3b00}.choices.long{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.choices.long .choice span{display:flex;width:100%;min-height:44px;padding:10px 12px}.textBtn{border:0;background:transparent;color:#725700;padding:4px 0;font:inherit;font-size:.74rem;font-weight:760;cursor:pointer}.dangerText{color:var(--danger)}.lineActions{display:flex;gap:10px;margin-top:8px}.track{display:none;margin:16px 0;padding:15px;border:1px solid #ead9a5;border-radius:12px;background:#fffaf0;color:var(--text)}.track.show{display:block}.track h2{margin:5px 0 2px}.trackHelp{margin:11px 0 0;color:var(--text-soft);line-height:1.45}.trackActions{display:flex;gap:8px;margin-top:13px}.editPill{padding:6px 9px;border-radius:999px;background:var(--accent-soft);color:#5e4700;font-size:.66rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.editNotice{margin-top:12px;padding-top:12px;border-top:1px solid #ead9a5;color:#6d5615;font-size:.78rem;line-height:1.45}.confirmPanel{color:var(--text)!important;background:#fff!important}.confirmMark{background:var(--accent-soft)!important;color:#6d5200!important}.confirmSummary{border-color:var(--border)!important;background:var(--surface-muted)!important}.confirmSummary span,.confirmHelp{color:var(--text-muted)!important}.confirmTrack{background:#fff!important;color:var(--text)!important;border-color:var(--border)!important}.networkBar,.trackingCard,.deliveryPanel,.pickupPanel{font-family:inherit}.modalOpen{overflow:hidden}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.choice input:focus-visible+span{outline:3px solid #ffd864;outline-offset:2px}@media(max-width:840px){.hero{grid-template-columns:1fr}.heroMeta{grid-template-columns:repeat(3,1fr);padding:0}.heroMeta span{padding:16px 12px 16px 42px;border-right:1px solid var(--border);border-bottom:0}.heroMeta span:last-child{border-right:0}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.topin{height:60px;padding:0 14px}.brand img{width:32px;height:32px}.status{max-width:48vw;padding:6px 8px;font-size:.64rem}.wrap{padding:14px 14px 110px}.hero{gap:9px;padding:5px 0 12px}.heroCopy{padding:23px 20px 22px;border-radius:14px}.hero h1{font-size:2.45rem;line-height:.98;margin:8px 0 11px}.hero p{font-size:.88rem}.actions{margin-top:15px}.heroMeta{display:none}.trust{display:flex;overflow:auto;gap:8px;margin:0 -14px 18px;padding:0 14px 4px;scrollbar-width:none}.trust::-webkit-scrollbar{display:none}.trust div{min-width:180px;padding:11px 12px}.section{margin-top:16px}.head{align-items:flex-start;flex-direction:column;gap:5px}.head h2{font-size:1.45rem}.search{min-height:44px;margin-bottom:7px}.chips{position:sticky;top:60px;z-index:30;margin:0 -14px 9px;padding:7px 14px 12px;background:linear-gradient(var(--bg) 72%,rgba(245,245,243,0))}.grid{grid-template-columns:1fr;gap:9px}.card{display:grid;grid-template-columns:112px minmax(0,1fr);border-radius:12px}.visual{height:100%;min-height:112px;aspect-ratio:1}.body{padding:10px 11px}.meta{font-size:.58rem}.card h3{font-size:.94rem;line-height:1.16;margin:3px 0 4px}.desc{font-size:.72rem;line-height:1.32}.row{padding-top:7px}.price{font-size:.9rem}.add{min-height:34px;padding:0 9px;font-size:.69rem}.cartbar{bottom:8px;width:calc(100% - 16px);padding:10px 11px}.cartbar b{font-size:.88rem}.cartbar small{font-size:.69rem}.cartbar .go{min-height:40px;padding:0 11px;font-size:.76rem}.panel{padding:16px;max-height:94vh}.prodTop{grid-template-columns:86px 1fr}.choices.long{grid-template-columns:1fr}.choice span{min-height:42px}.lineActions{margin-top:7px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card{transition:none}}
/* Hotfix: catalog badges and featured cards after legacy layer removal */
.visual{position:relative}
.featuredCard,.featuredCard:hover{
  background:var(--surface);
  border-color:var(--border);
  box-shadow:none;
}
.featuredCard .visual{
  background:var(--surface-muted);
}
.photoBadge{
  position:absolute;
  top:8px;
  left:8px;
  z-index:4;
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:4px 8px;
  border:1px solid #e0c45e;
  border-radius:999px;
  background:rgba(255,244,201,.96);
  color:#5f4700;
  font-size:.54rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space:nowrap;
  pointer-events:none;
}
.photoFallback{
  background:var(--surface-muted);
  color:var(--text-muted);
}
.photoFallback>span{color:var(--text-muted)}
@media(max-width:560px){
  .card{grid-template-columns:112px minmax(0,1fr)}
  .visual{width:112px;min-width:112px;max-width:112px;min-height:112px}
  .productPhoto{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  .photoBadge{top:7px;left:7px;max-width:96px;overflow:hidden;text-overflow:ellipsis}
  .body{min-width:0;overflow:hidden}
  .card h3,.desc{overflow-wrap:anywhere}
  .row{min-width:0}
}
