:root{--g:#07513e;--g2:#063d30;--bg:#faf8f2;--gold:#b88836;--line:#e3e8e3}
html[data-market-lang=ru]{--g:#07563e;--g2:#06422f;--bg:#f5f7f6;--gold:#f28a18}
html[data-market-lang=en]{--g:#073e30;--g2:#052f25;--bg:#fff;--gold:#9eaa91}
html[data-market-lang=zh]{--g:#087658;--g2:#07583e;--bg:#f6faf7;--gold:#ec573b}
html[data-market-lang=ar]{--g:#14543f;--g2:#113e31;--bg:#fcf9f1;--gold:#ae813b;font-family:Tahoma,Arial,sans-serif}
html[data-market-lang=kk]{--g:#13605b;--g2:#0f4845;--bg:#faf9f2;--gold:#c39e50}
body{background:var(--bg)}.green,.btn:not(.light):not(.charity):not(.secondary):not(.danger):not(.gray):not(.orange){background-color:var(--g)}
.market-language{font:inherit;max-width:170px;border:1px solid var(--line);background:#fff;color:var(--g2);border-radius:30px;padding:9px 14px;cursor:pointer}
.market-tools{position:relative;display:flex;justify-content:flex-end;gap:10px;padding:12px 20px;max-width:1240px;margin:auto}.market-tools button{border:1px solid var(--line);border-radius:20px;padding:8px 12px;background:white;color:var(--g2);cursor:pointer}
.hero{position:relative;min-height:320px;overflow:hidden;background:#f4f0e7 url('/assets/harvest.jpg') center/cover no-repeat;border:0;border-radius:12px;padding:40px;grid-template-columns:1.1fr 1fr;align-items:start}
.hero>div:first-child{max-width:520px;position:relative;z-index:1}.hero h1{color:var(--g2);font-family:Georgia,serif;font-size:48px;line-height:1.08}.hero p{max-width:430px;color:#29443a;font-size:16px;line-height:1.6}.hero .freebox{position:absolute;inset-inline-end:20px;bottom:20px;width:230px;background:#ffffffeb;padding:14px;font-size:13px}
.hero .market-cta{display:inline-block;text-decoration:none;margin-top:8px;background:var(--g);color:white;border-radius:24px;padding:12px 22px;font-weight:bold}
.card,.setcard{box-shadow:none;border-radius:12px}.pic{background:#f8faf8}.pic img{object-fit:contain}.chips .chip{border-radius:8px}.chips .chip.on{background:var(--g)}
html[data-market-lang=en] .hero{min-height:380px;border-radius:0;padding:48px}html[data-market-lang=en] .grid{gap:24px}html[data-market-lang=en] .card{padding:18px;border-color:#edf0ec}html[data-market-lang=en] .hero h1{font-size:58px}
html[data-market-lang=ru] .hero{background-color:#ecf2eb;border-radius:16px}html[data-market-lang=ru] .market-cta{background:#f28a18}html[data-market-lang=ru] .chips{border-inline-start:4px solid var(--g);padding-inline-start:12px}
html[data-market-lang=zh] .hero h1{font-family:'Microsoft YaHei',Arial,sans-serif;font-size:42px}html[data-market-lang=zh] .market-cta{background:#ec573b}html[data-market-lang=zh] .card{border-radius:6px}html[data-market-lang=zh] .grid{gap:10px}
html[data-market-lang=ar] .hero{background-image:linear-gradient(90deg,#fcf9f100 35%,#fcf9f1 62%),url('/assets/harvest.jpg');background-position:left center;grid-template-columns:1fr 1fr;border:1px solid #dacbb2}html[data-market-lang=ar] .hero h1{font-family:Tahoma,Arial,sans-serif;font-size:44px;line-height:1.45}html[data-market-lang=ar] .market-cta{background:var(--gold)}html[data-market-lang=ar] input[type=tel],html[data-market-lang=ar] input[type=password],html[data-market-lang=ar] .price{direction:ltr;unicode-bidi:isolate}html[data-market-lang=ar] .sidebar{border-right:0;border-left:1px solid var(--line)}
html[data-market-lang=kk] .hero{border-bottom:4px solid var(--gold)}html[data-market-lang=kk] .hero h1{font-family:Arial,sans-serif}
.market-editor{position:fixed;inset:0;z-index:200;background:#0008;overflow:auto;padding:25px}.market-editor-inner{max-width:1000px;margin:auto;padding:24px;background:#fff;border-radius:16px;direction:ltr;color:#16392b}.market-editor h2{margin:0 0 10px}.market-editor-row{display:grid;grid-template-columns:1fr 1.2fr auto;gap:10px;padding:12px 0;border-bottom:1px solid #e3e8e3}.market-editor textarea{width:100%;min-height:65px;font:inherit;padding:8px}.market-editor button,.market-editor select,.market-editor input{padding:10px;border:1px solid #ccd9d0;border-radius:8px;background:white}.market-editor small{display:block;color:#607569}.market-editor-controls{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
@media(max-width:900px){.hero,.hero[data-x]{grid-template-columns:1fr;min-height:400px;background-position:65% center}.hero>div:first-child{background:#faf8f2db;padding:15px;border-radius:10px;max-width:75%}.hero .freebox{width:190px}.hero h1,html[data-market-lang=en] .hero h1{font-size:38px}.market-tools{padding:8px 12px}html[data-market-lang=ar] .hero>div:first-child{background:#fcf9f1ed}}
@media(max-width:520px){.hero{padding:18px;min-height:430px}.hero>div:first-child{max-width:100%}.hero h1,html[data-market-lang=en] .hero h1,html[data-market-lang=ar] .hero h1,html[data-market-lang=zh] .hero h1{font-size:30px}.hero .freebox{width:calc(100% - 36px);inset-inline-end:18px;bottom:18px}.market-editor-row{grid-template-columns:1fr}.market-editor{padding:10px}.market-tools{flex-wrap:wrap}html[data-market-lang=en] .grid{gap:8px}html[data-market-lang=en] .card{padding:9px}}
html[data-market-lang=ar] .hero{background:#fcf9f1}html[data-market-lang=ar] .hero:before{content:'';position:absolute;inset:0;background:url('/assets/harvest.jpg') center/cover no-repeat;transform:scaleX(-1)}html[data-market-lang=ar] .hero .freebox{z-index:1}

/* Shared national market logo */
.market-courier-brand{text-align:center;padding:12px}.market-courier-brand img{width:230px;max-width:65vw;height:auto}.market-login-logo{display:block;width:240px;max-width:100%;height:auto;margin:0 auto 20px}.logo img{width:180px;height:66px;object-fit:contain}
@media(max-width:520px){.logo img{width:124px;height:46px}}

.product-guidance{overflow-wrap:anywhere;min-width:0}.product-guidance[open]{max-height:320px;overflow:auto;overscroll-behavior:contain}.product-guidance summary{cursor:pointer;position:sticky;top:0;background:white;padding:5px 0}.product-guidance p{unicode-bidi:plaintext}.market-help{position:static!important}@media(max-width:520px){.product-guidance[open]{max-height:240px}}
/* Mobile layout: keep navigation and hero panels in normal document flow. */
@media(max-width:520px){
 header{position:relative;top:auto}
 .nav{gap:8px;padding:10px 12px}
 .nav .logo{flex:1 1 100%}
 .nav .logo img{display:block;width:165px;height:61px;margin:auto}
 .nav .btn{flex:1 1 auto;white-space:normal}
 .nav .search{min-width:0;width:100%}
 html[data-market-lang] .hero{display:flex;flex-direction:column;min-height:0;padding:18px;gap:16px;background-image:none}
 html[data-market-lang] .hero:before{display:none}
 html[data-market-lang] .hero>div:first-child{max-width:100%;width:100%;padding:0;background:transparent}
 html[data-market-lang] .hero .freebox{position:relative;inset:auto;width:100%;margin:0;box-sizing:border-box}
 html[data-market-lang] .hero h1{font-size:30px;line-height:1.25}
 html[data-market-lang] .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .card{min-width:0;overflow-wrap:anywhere}
 .sectionhead h2{font-size:22px}
}

.category-visual-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;overflow:visible;padding:18px 0}.category-visual-grid .category-tile{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px;white-space:normal;background:#fff;color:var(--g2);border:1px solid var(--line);border-radius:14px;min-width:0}.category-tile img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:10px}.category-tile>span:last-child{padding:3px;font-size:14px;line-height:1.35}.category-tile-symbol{display:grid;place-items:center;aspect-ratio:1;width:100%;font-size:48px;background:#faf8f2;border-radius:10px}.category-visual-grid .category-tile.on{outline:2px solid var(--g);background:#edf6ef}@media(max-width:520px){.category-visual-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.category-tile>span:last-child{font-size:12px}}
