:root{--bg:#f3eee6;--card:#fffdf9;--ink:#111315;--muted:#6e6a64;--accent:#c96b34;--accent2:#a97a49;--line:#e3d9cc;--ok:#1f6b4f;--danger:#9e2f25;--dark:#0f1113;--dark2:#1a1d20}
*{box-sizing:border-box}
html{font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--ink)}
body{margin:0;min-height:100vh}
button,input,textarea{font:inherit}
button{cursor:pointer}
.top{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;padding:14px max(16px,calc((100vw - 1180px)/2));background:linear-gradient(90deg,var(--dark),var(--dark2));color:#fff;box-shadow:0 6px 24px #0003;border-bottom:1px solid #ffffff14}
.logo{font-weight:900;letter-spacing:.6px;font-size:22px}.logo span{color:var(--accent)}
.sub{font-size:12px;color:#bbb;margin-top:2px}
.cart-btn{border:1px solid #ffffff44;background:#fff;color:#111;border-radius:999px;padding:10px 14px;font-weight:700}
.cart-btn b{display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;background:var(--accent);color:#fff;border-radius:20px;margin-left:6px}
main{max-width:1180px;margin:0 auto;padding:20px 16px 70px}
.hero{background:radial-gradient(circle at 85% 20%,#4b2a19 0,#231914 25%,#121416 62%,#0d0f11 100%);color:#fff;border-radius:24px;padding:30px;margin-bottom:18px;overflow:hidden;border:1px solid #ffffff12;box-shadow:0 16px 40px #2d1d1222}
.hero h1{font-size:clamp(28px,5vw,48px);line-height:1.02;margin:0 0 12px}
.hero p{max-width:820px;margin:0;color:#ddd;line-height:1.5;font-size:15px}
.toolbar{position:sticky;top:72px;z-index:20;background:var(--bg);padding:8px 0 12px}
#search{width:100%;border:1px solid var(--line);border-radius:13px;padding:13px 14px;background:#fff;outline:none;font-size:16px}
#search:focus{border-color:#bbb;box-shadow:0 0 0 3px #0000000c}
.chips{display:flex;gap:8px;overflow:auto;padding:10px 0 1px;scrollbar-width:none}
.chip{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 12px}
.chip.active{background:#111;color:#fff;border-color:#111}
.status{padding:30px;text-align:center;color:var(--muted)}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.product{background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.picture{aspect-ratio:4/3;background:#f0f0f0;display:grid;place-items:center;overflow:hidden;position:relative}
.picture img{width:100%;height:100%;object-fit:cover;display:block}
.placeholder{font-size:54px;filter:grayscale(1);opacity:.35}
.badge{position:absolute;left:9px;top:9px;background:#111e;color:#fff;padding:6px 8px;border-radius:999px;font-size:11px}
.product-body{padding:13px;display:flex;flex-direction:column;gap:9px;flex:1}
.product h3{font-size:15px;line-height:1.25;margin:0;min-height:38px}
.price{font-weight:900;font-size:18px}.stock{font-size:12px;color:var(--ok)}.stock.off{color:var(--muted)}
.package-note{font-size:12px;line-height:1.35;color:var(--muted);background:#f7f7f7;border-radius:9px;padding:8px}
.add-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:auto;align-items:end}
.qty label{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}
.qty input{width:100%;border:1px solid var(--line);border-radius:9px;padding:9px}
.add{border:0;background:var(--accent);color:#fff;border-radius:10px;padding:10px 12px;font-weight:800}
.add:disabled{background:#ccc;cursor:not-allowed}
.drawer{position:fixed;inset:0;z-index:100}
.drawer-backdrop{position:absolute;inset:0;background:#0008}
.drawer-panel{position:absolute;right:0;top:0;height:100%;width:min(520px,100%);background:#fff;overflow:auto;padding:18px 18px 80px;box-shadow:-20px 0 60px #0003}
.drawer-head{display:flex;justify-content:space-between;align-items:center;position:sticky;top:-18px;background:#fff;padding:18px 0 10px;z-index:2}.drawer-head h2{margin:0}
.icon-btn{width:38px;height:38px;border:0;background:#eee;border-radius:50%;font-size:26px}
.cart-line{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}
.cart-name{font-weight:700;font-size:14px}.cart-meta{color:var(--muted);font-size:12px;margin-top:4px}.remove{border:0;background:none;color:var(--danger);font-size:13px}
.delivery-note{background:#fff2e8;border:1px solid #ffd5b8;border-radius:12px;padding:12px;margin:16px 0;font-size:13px;line-height:1.4}
.totals{display:flex;justify-content:space-between;gap:15px;font-size:16px;margin:15px 0 6px}.totals b{font-size:20px}
.fine{color:var(--muted);font-size:12px;line-height:1.4;margin-bottom:18px}
form{display:grid;gap:12px}
form label{font-size:13px;font-weight:700}
form input,form textarea,form select{display:block;width:100%;margin-top:5px;border:1px solid var(--line);border-radius:10px;padding:11px;background:#fffdf9;color:var(--ink)}
.check{display:flex;gap:9px;align-items:flex-start;font-weight:400!important;line-height:1.35}.check input{width:auto;margin:2px 0 0;flex:0 0 auto}
.primary{border:0;background:linear-gradient(180deg,#d57a40,#bc5c28);color:#fff;border-radius:12px;padding:14px;font-weight:800;font-size:16px;box-shadow:0 8px 18px #b85b2b35}.primary:hover{filter:brightness(1.03)}.primary:disabled{opacity:.55}
.error{background:#fee4e2;color:#912018;padding:10px;border-radius:9px;font-size:13px}
.hidden{display:none!important}
.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);background:#111;color:#fff;padding:11px 16px;border-radius:999px;z-index:150;box-shadow:0 8px 30px #0004}
.link-btn{border:0;background:none;padding:0;color:#555;margin:10px 0 16px}
.order-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;max-width:760px;margin:0 auto}
.order-title{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.order-title h1{margin:0;font-size:27px}
.state{display:inline-flex;background:#111;color:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}
.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:22px 0}.step{height:6px;border-radius:10px;background:#ddd}.step.done{background:var(--accent)}
.order-items{border-top:1px solid var(--line);margin-top:18px}.order-line{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}
.order-sum{display:flex;justify-content:space-between;gap:15px;font-size:20px;font-weight:900;margin:20px 0}
.pay-note{padding:14px;border-radius:12px;background:#f4f4f4;line-height:1.45;font-size:14px}
@media(max-width:900px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){
 .top{padding:11px 13px}.logo{font-size:19px}.sub{font-size:10px}.cart-btn{padding:8px 10px}
 main{padding:13px 11px 70px}.hero{padding:20px;border-radius:16px}.hero h1{font-size:30px}
 .toolbar{top:61px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .product{border-radius:14px}.product-body{padding:10px}.product h3{font-size:13px;min-height:34px}.price{font-size:16px}
 .package-note{font-size:11px}.add-row{grid-template-columns:1fr}.add{width:100%}
 .steps{gap:3px}.order-title{display:block}.state{margin-top:10px}
}
@media(max-width:390px){.grid{grid-template-columns:1fr}.picture{aspect-ratio:16/9}.product h3{min-height:0}.add-row{grid-template-columns:1fr auto}}

.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.hero-cta,.hero-ghost{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;padding:11px 14px;font-weight:800;text-decoration:none}
.hero-cta{border:0;background:linear-gradient(180deg,#d57a40,#bc5c28);color:#fff;box-shadow:0 8px 18px #b85b2b35}
.hero-ghost{border:1px solid #ffffff38;color:#fff;background:#ffffff0c}
.invite-banner{display:flex;gap:14px;justify-content:space-between;align-items:center;background:linear-gradient(110deg,#fff9f3,#fffdf9);border:1px solid #dfc4ad;border-radius:16px;padding:16px 18px;margin:0 0 14px;box-shadow:0 8px 28px #6f4a2e12}
.invite-copy b{display:block;font-size:18px;margin-bottom:4px}.invite-copy span{color:var(--muted);font-size:13px;line-height:1.4}
.invite-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.mini-cta,.mini-ghost{border-radius:10px;padding:10px 12px;font-weight:800;font-size:13px;text-decoration:none}
.mini-cta{border:0;background:var(--accent);color:#fff}.mini-ghost{border:1px solid var(--line);background:#fff;color:var(--ink)}
.channel-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.channel-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:10px 12px;font-weight:800;font-size:13px;text-decoration:none;border:1px solid var(--line);background:#fff;color:var(--ink)}
.channel-btn.primary-channel{background:var(--accent);color:#fff;border-color:var(--accent)}
@media(max-width:680px){.invite-banner{display:block}.invite-actions{justify-content:flex-start;margin-top:12px}.hero-actions>*{width:100%}}

/* ChefPort brand override */
:root{
  --bg:#f3f7f8;
  --card:#ffffff;
  --ink:#12242c;
  --muted:#657984;
  --accent:#305b6b;
  --accent2:#3f6878;
  --line:#dbe5e9;
  --ok:#2b7558;
  --danger:#9e2f25;
  --dark:#163843;
  --dark2:#244f5e;
}
body{background:linear-gradient(180deg,#f8fbfc 0,var(--bg) 280px)}
.top{background:linear-gradient(90deg,#163843,#305b6b);border-bottom:1px solid #ffffff1f}
.logo{display:flex;align-items:center}.logo img{height:46px;width:auto;display:block;filter:brightness(0) invert(1)}
.brand .sub{color:#d9e7eb}
.cart-btn b{background:#3f6878}
.hero{background:radial-gradient(circle at 88% 16%,#4e7c8d 0,#315e6e 26%,#1d4654 62%,#14333e 100%);border:1px solid #ffffff1a;box-shadow:0 16px 40px #143d4a25}
.primary,.hero-cta{background:linear-gradient(180deg,#477789,#305b6b);box-shadow:0 8px 18px #305b6b33}
.add{background:#305b6b}
.chip.active{background:#305b6b;border-color:#305b6b}
.invite-banner{background:linear-gradient(110deg,#f1f7f9,#ffffff);border-color:#bfd1d8;box-shadow:0 8px 28px #244f5e12}
.mini-cta{background:#305b6b}
.channel-btn.primary-channel{background:#305b6b;border-color:#305b6b}
.step.done{background:#3f6878}
.badge{background:#234d5bde}
