*{box-sizing:border-box}:root{--g:#00a651;--r:#ed1c24;--dk:#14372b;--bg:#f5f7f6;--ln:#dfe6e2;--mut:#6c7c75}body{margin:0;font-family:Arial,sans-serif;background:var(--bg);color:#17231e}header{background:#fff;border-bottom:3px solid var(--g);position:sticky;top:0;z-index:8}.top{max-width:1250px;margin:auto;padding:10px 18px;display:flex;align-items:center;gap:18px}.logo{width:155px;height:62px;object-fit:contain}.search{flex:1;padding:13px;border:1px solid #cbd6d1;border-radius:12px;font-size:15px}.adminLink{background:var(--r);color:#fff;text-decoration:none;padding:11px 14px;border-radius:10px;font-weight:bold}.wrap{max-width:1250px;margin:auto;padding:20px}.hero{background:linear-gradient(125deg,#008d46,#00a651);color:#fff;border-radius:20px;padding:25px;border-right:7px solid var(--r)}.hero h1{margin:0}.filters{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;margin:18px 0}.filters select,.field input,.field textarea,.field select{padding:11px;border:1px solid #cbd6d1;border-radius:9px;background:#fff;width:100%}.market{background:#fff;padding:4px;border-radius:10px}.market button{border:0;background:transparent;padding:8px 12px;border-radius:7px}.market .on{background:var(--g);color:#fff}.bar{display:flex;justify-content:space-between;margin:15px 0}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.card{background:#fff;border:1px solid var(--ln);border-radius:15px;overflow:hidden}.pic{height:145px;background:#e9f6ef;display:grid;place-items:center;font-size:52px;text-decoration:none}.pic img{width:100%;height:100%;object-fit:contain}.body{padding:12px}.body small{color:var(--g);font-weight:bold}.body h3{font-size:15px;min-height:36px;margin:6px 0}.meta{font-size:12px;color:var(--mut);margin:4px 0}.btn{border:0;border-radius:9px;padding:9px 11px;font-weight:bold;cursor:pointer}.add{width:100%;background:#e7f6ee;color:#087c43;margin-top:8px}.primary{background:var(--g);color:#fff}.danger{background:var(--r);color:#fff}.tray{position:fixed;bottom:18px;left:18px;background:var(--r);color:#fff;border:0;border-radius:14px;padding:13px 17px;font-weight:bold;display:none;z-index:10}.tray.show{display:block}.overlay{position:fixed;inset:0;background:#0008;display:none;z-index:20;align-items:end;justify-content:center}.overlay.open{display:flex}.panel{background:#fff;width:100%;max-width:680px;border-radius:22px 22px 0 0;padding:22px;max-height:82vh;overflow:auto}.row{display:grid;grid-template-columns:1fr auto auto;gap:10px;padding:10px;border-bottom:1px solid var(--ln)}.wa{width:100%;background:#20a75a;color:#fff;padding:13px;border:0;border-radius:10px;font-weight:bold;margin-top:15px}.copy{width:100%;background:#eef2f0;padding:12px;border:1px solid var(--ln);border-radius:9px;direction:ltr;text-align:left;margin-top:10px}.detail{position:fixed;inset:0;background:var(--bg);z-index:16;display:none;overflow:auto}.detail.open{display:block}.detailInner{max-width:850px;margin:30px auto;background:#fff;border-radius:18px;padding:25px;position:relative}.back{position:absolute;right:14px;top:14px}.spec{display:flex;justify-content:space-between;border-bottom:1px solid var(--ln);padding:10px}.spec span{color:var(--mut)}
/* admin */.adminBody{max-width:1400px;margin:auto;padding:18px}.adminTop{display:flex;justify-content:space-between;align-items:center;gap:15px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.stat{background:#fff;border-radius:13px;padding:16px;border-top:4px solid var(--g)}.stat b{font-size:25px;display:block}.tools{display:grid;grid-template-columns:1fr auto auto;gap:10px;margin-bottom:12px}.tableWrap{overflow:auto;background:#fff;border-radius:14px}.tbl{width:100%;border-collapse:collapse;min-width:1000px}.tbl th{background:var(--dk);color:#fff;padding:10px;text-align:right;position:sticky;top:0}.tbl td{padding:9px;border-bottom:1px solid var(--ln);font-size:13px}.tbl tr:hover{background:#f3faf6}.edit{background:#e7f6ee;color:#087c43}.modal{position:fixed;inset:0;background:#0009;display:none;align-items:center;justify-content:center;z-index:30;padding:15px}.modal.open{display:flex}.editor{background:#fff;max-width:850px;width:100%;max-height:92vh;overflow:auto;border-radius:18px;padding:22px}.form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field label{font-size:12px;color:var(--mut);display:block;margin-bottom:4px}.wide{grid-column:1/-1}.note{background:#fff4d9;border-right:4px solid #f4b942;padding:11px;border-radius:8px;margin:12px 0;font-size:13px}@media(max-width:850px){.grid{grid-template-columns:repeat(2,1fr)}.filters,.tools,.form,.stats{grid-template-columns:1fr}.top{flex-wrap:wrap}.search{min-width:100%}.adminLink{position:absolute;left:12px;top:22px}}
.fallbackLogo{width:78%!important;height:78%!important;object-fit:contain!important;padding:10px;opacity:.95}

.thumb{width:58px;height:45px;object-fit:contain;background:#f3f7f5;border-radius:7px}
.actions{white-space:nowrap}.actions .btn{margin-left:5px}
.imageEdit{display:flex;gap:18px;align-items:center;background:#f5f8f6;padding:12px;border-radius:10px}
.imageEdit img{width:160px;height:120px;object-fit:contain;background:white;border:1px solid var(--ln);border-radius:10px}
.hint{font-size:12px;color:var(--mut);margin-top:8px}

.detailPic{height:300px;background:#e9f6ef;border-radius:14px;display:grid;place-items:center}
.detailPic img{width:100%;height:100%;object-fit:contain}
.adminTabs{display:flex;gap:8px;margin:15px 0}

/* V5 image containment */
.card{display:flex;flex-direction:column;min-width:0}
.card .pic{height:170px;min-height:170px;max-height:170px;overflow:hidden;position:relative;padding:8px}
.card .pic img{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center}
.card .body{position:relative;background:#fff;z-index:2;flex:1}
@media(max-width:480px){.card .pic{height:145px;min-height:145px;max-height:145px}}
.promoBadge{display:inline-block;background:var(--r);color:#fff;border-radius:999px;padding:5px 9px;font-weight:bold;font-size:12px}
.promoPrice{font-size:25px;font-weight:900;color:var(--r);margin:7px 0}
.promoOld{text-decoration:line-through;color:var(--mut);font-size:13px}
.promoGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.promoCard{background:#fff;border:1px solid var(--ln);border-radius:15px;overflow:hidden}
.promoCard .promoPic{height:190px;background:#e9f6ef;padding:8px;overflow:hidden;display:grid;place-items:center}
.promoCard .promoPic img{width:100%;height:100%;object-fit:contain}
.promoCard .promoBody{padding:14px}
.promoLine{display:grid;grid-template-columns:1fr 150px 170px 120px 80px;gap:8px;align-items:center;padding:8px;border-bottom:1px solid var(--ln)}
.promoLine input,.promoLine select{width:100%;padding:8px;border:1px solid #ccd6d1;border-radius:8px}
@media(max-width:850px){.promoGrid{grid-template-columns:repeat(2,1fr)}.promoLine{grid-template-columns:1fr}.promoLine>*{width:100%}}

/* V6 retail storefront */
.wrap{max-width:1480px}
.shopHero{min-height:235px;display:flex;align-items:center;justify-content:space-between;padding:38px 48px;background:linear-gradient(115deg,#008b45 0%,#00a651 55%,#42bd72 100%);box-shadow:0 12px 30px rgba(0,90,45,.16)}
.heroEyebrow{font-size:12px;letter-spacing:2px;font-weight:900;background:#ed1c24;padding:6px 10px;border-radius:999px}
.shopHero h1{font-size:40px;margin:15px 0 7px}.shopHero p{font-size:18px}.heroFood{font-size:100px;filter:drop-shadow(0 12px 12px #00652f55)}
.categorySection{margin:25px 0}.sectionHead{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.sectionHead h2{margin:0;font-size:24px}.sectionHead span{color:var(--mut)}
.categoryRail{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.categoryTile{border:0;background:#fff;border-radius:16px;overflow:hidden;padding:0;box-shadow:0 3px 14px #1232;cursor:pointer;transition:.2s}.categoryTile:hover{transform:translateY(-4px);box-shadow:0 10px 24px #1233}.categoryTile img{width:100%;height:105px;object-fit:cover;display:block}.categoryTile span{display:block;padding:10px;font-weight:800;color:#17382a}
.grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}.card .pic{height:135px;min-height:135px;max-height:135px}.body{padding:10px}.body h3{font-size:13px;line-height:1.3;height:34px;min-height:34px;overflow:hidden}.meta{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.add{font-size:12px}
.card{box-shadow:0 2px 10px #17382a10;transition:.18s}.card:hover{transform:translateY(-3px);box-shadow:0 8px 20px #17382a22;border-color:#b7d9c5}
.promoHero{background:radial-gradient(circle at 85% 20%,#ffdf55 0 12%,transparent 13%),linear-gradient(120deg,#ed1c24,#ff5a32);color:#fff;border-radius:22px;padding:32px 38px;display:flex;gap:30px;align-items:center;margin-bottom:22px;box-shadow:0 15px 35px #b7002633;position:relative;overflow:hidden}.promoHero:after{content:"SALE";position:absolute;left:-15px;bottom:-28px;font-size:105px;font-weight:900;color:#ffffff18;transform:rotate(-8deg)}.promoHero img{width:160px;background:#fff;border-radius:18px;padding:12px}.promoHero h1{font-size:38px;margin:8px 0}.promoHero p{margin:5px 0}.promoKicker{background:#ffdf55;color:#8c1515;padding:6px 11px;border-radius:999px;font-weight:900}
.promoGrid{grid-template-columns:repeat(4,1fr)}.promoCard{border:2px solid #ffe2a8;box-shadow:0 7px 22px #7b1d1018;position:relative}.promoCard:before{content:"מבצע";position:absolute;right:9px;top:9px;background:#ed1c24;color:#fff;padding:5px 9px;border-radius:999px;font-weight:900;z-index:2}.promoCard .promoBody h3{min-height:42px}.promoPrice{background:#fff3cf;border-radius:10px;padding:9px;text-align:center;color:#d51620}
@media(max-width:1200px){.grid{grid-template-columns:repeat(4,1fr)}.categoryRail{grid-template-columns:repeat(4,1fr)}}
@media(max-width:800px){.grid{grid-template-columns:repeat(2,1fr)}.categoryRail{grid-template-columns:repeat(3,1fr)}.promoGrid{grid-template-columns:repeat(2,1fr)}.shopHero{padding:25px}.shopHero h1{font-size:29px}.heroFood{font-size:65px}.promoHero{flex-direction:column;text-align:center}.promoHero h1{font-size:30px}}

/* V7 real-food category photography */
.categoryRail{grid-template-columns:repeat(9,1fr);gap:9px}
.categoryTile{height:112px;position:relative;background:#111}
.categoryTile img{height:112px;width:100%;object-fit:cover;filter:saturate(1.05) contrast(1.03)}
.categoryTile:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,.05) 70%)}
.categoryTile span{position:absolute;right:9px;bottom:7px;left:9px;padding:0;color:white;z-index:2;text-shadow:0 1px 3px #000;font-size:14px;text-align:right}
.shopHero{background:linear-gradient(110deg,#006f38,#00a651 65%,#60c985)}
.card .pic{background:#fff}
@media(max-width:1200px){.categoryRail{grid-template-columns:repeat(6,1fr)}}
@media(max-width:800px){.categoryRail{grid-template-columns:repeat(3,1fr)}.categoryTile,.categoryTile img{height:100px}}

/* V8 category photography: product-world closeups */
.categoryRail{grid-template-columns:repeat(9,minmax(0,1fr));gap:10px}
.categoryTile{height:auto;background:transparent;box-shadow:none;border-radius:0;overflow:visible;text-align:right}
.categoryTile:hover{transform:translateY(-2px);box-shadow:none}
.categoryTile:after{display:none}
.categoryTile img{width:100%;height:105px;object-fit:cover;border-radius:15px;box-shadow:0 3px 10px rgba(0,0,0,.12);filter:saturate(1.06) contrast(1.03)}
.categoryTile span{position:static;display:block;color:#17231e;text-shadow:none;padding:7px 3px 0;font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1200px){.categoryRail{grid-template-columns:repeat(6,1fr)}}
@media(max-width:800px){.categoryRail{grid-template-columns:repeat(3,1fr)}.categoryTile img{height:95px}}

/* V10 — supplied PDF visual language */
:root{--g:#009b58;--r:#d91418;--paper:#f4f4f2}
body{background:var(--paper)}
header{border-bottom:1px solid #ddd;background:#fff}
.wrap{max-width:1480px}
.pdfHero{height:310px;border-radius:0;background:#e8e8e6;position:relative;overflow:hidden;padding:45px 55px;color:#171717;box-shadow:none;border:0}
.pdfHero:before{content:"";position:absolute;left:-7%;top:-45%;height:200%;width:55%;background:var(--r);clip-path:polygon(47% 0,100% 0,63% 100%,0 100%)}
.pdfHero:after{content:"";position:absolute;left:29%;top:-30%;height:170%;width:25%;background:rgba(255,255,255,.65);clip-path:polygon(50% 0,100% 0,58% 100%,0 100%)}
.pdfHeroText{position:relative;z-index:2;width:58%;margin-right:auto}.pdfHeroText span{background:var(--g);color:#fff;padding:6px 11px;font-weight:900}.pdfHeroText h1{font-size:45px;margin:16px 0 8px;line-height:1.05}.pdfHeroText p{font-size:19px;color:#555}
.categorySection{background:#fff;margin:22px 0;padding:22px;border-top:4px solid var(--r);box-shadow:0 5px 18px #0000000c}
.sectionHead{display:flex;justify-content:space-between;align-items:end;margin-bottom:15px}.sectionHead h2{margin:0;font-size:26px;border-right:6px solid var(--r);padding-right:10px}.sectionHead span{color:#777}
.categoryRail{display:grid;grid-template-columns:repeat(6,1fr);gap:13px}
.categoryTile{height:auto;border:0;background:#fff;padding:0;text-align:right;cursor:pointer;transition:.2s}.categoryTile:hover{transform:translateY(-3px)}
.categoryTile img{display:block;width:100%;height:185px;object-fit:cover;border-radius:0}
.categoryTile span{display:block;padding:10px 4px 5px;font-size:16px;font-weight:900;color:#171717;border-top:4px solid var(--r)}
.filters{background:#fff;padding:12px;border-right:4px solid var(--g)}
.grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.card{border-radius:0;border:1px solid #ddd;box-shadow:none}.card .pic{height:145px;min-height:145px;max-height:145px;background:#fff}.body small{color:var(--g)}.add{background:#fff;border:1px solid var(--g);color:var(--g)}
.promoHero{border-radius:0;background:#ededeb;color:#171717;border-right:9px solid var(--r);box-shadow:none}.promoKicker{background:var(--r);color:#fff}
@media(max-width:1200px){.categoryRail{grid-template-columns:repeat(4,1fr)}.grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:800px){.categoryRail{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:repeat(2,1fr)}.categoryTile img{height:150px}.pdfHeroText{width:75%}.pdfHeroText h1{font-size:31px}}

/* V11 — product cards modeled on the supplied PDF product pages */
.categoryTile{overflow:hidden;min-width:0}
.categoryTile img{display:block;width:100%;max-width:100%;height:170px;object-fit:cover;object-position:center;overflow:hidden}
.categoryRail{overflow:hidden}
.card{background:#fff;border:0;border-radius:0;padding:10px;box-shadow:none;overflow:hidden}
.card .pic{height:150px;min-height:150px;max-height:150px;background:#f2f2f0;border:1px solid #168a5a;padding:12px;overflow:hidden}
.card .pic img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center;display:block;background:#fff}
.card .body{padding:10px 2px 4px;text-align:right}
.card .body small{display:none}
.card .body h3{font-size:13px;line-height:1.25;height:auto;min-height:32px;margin:0 0 5px;font-weight:900;color:#111}
.card .meta{font-size:10px;color:#111;line-height:1.45;white-space:normal;overflow:visible;border-bottom:1px solid #222;padding:2px 0 5px;margin:0 0 4px}
.card .add{margin-top:7px;border:0;border-top:2px solid #111;border-radius:0;background:#fff;color:#008c4d;padding:7px 2px;font-size:11px;text-align:right}
.card:hover{transform:none;box-shadow:none;background:#fafafa}
@media(min-width:1201px){.grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
