/* Chicken Lab — brand red sampled from the logo */
:root{
  --red:#c4242b;
  --red-dark:#8e1520;
  --ink:#171311;
  --cream:#faf6f1;
  --muted:#6f6862;
  --line:#efe6dc;
  --white:#fff;
  --font:'Almarai','Rubik','Segoe UI',Tahoma,sans-serif;
  --en:'Rubik','Almarai',sans-serif;
  --header:78px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--font);background:var(--cream);color:var(--ink);line-height:1.7}
body.is-splash{overflow:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font-family:inherit}
.container{width:min(1120px,92%);margin-inline:auto}
.en{font-family:var(--en);letter-spacing:.4px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.kicker{color:var(--red);font-weight:800;letter-spacing:.5px;font-size:14px}

/* Splash */
.splash{
  position:fixed;inset:0;z-index:300;background:var(--red);color:#fff;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;transition:opacity .45s ease,visibility .45s;
}
.splash.is-done{opacity:0;visibility:hidden;pointer-events:none}
.splash-texture{
  position:absolute;inset:0;pointer-events:none;
  background-image:
    radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.2px),
    repeating-linear-gradient(-16deg, transparent 0 34px, rgba(0,0,0,.06) 34px 35px);
  background-size:18px 18px, auto;
}
.splash{padding-bottom:12vh}
.splash-inner{
  position:relative;z-index:2;text-align:center;padding:0 20px;
  animation:rise .7s ease both;
}
@keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.splash-logo{
  width:min(280px,70vw);height:auto;margin-inline:auto;
  background:#fff;border-radius:26px;padding:16px 18px 10px;
  box-shadow:0 22px 50px rgba(0,0,0,.22);
}
.splash-slogan{margin-top:26px;font-size:clamp(30px,6vw,46px);font-weight:900;line-height:1.25}
.splash-enter{
  display:inline-flex;margin-top:22px;color:#fff;font-weight:800;
  border:2px solid #fff;border-radius:40px;padding:10px 26px;background:transparent;
}
.splash-enter:hover{background:rgba(255,255,255,.14)}
.splash-progress{position:absolute;top:0;left:0;right:0;height:4px;background:rgba(0,0,0,.18);z-index:3}
.splash-progress span{display:block;height:100%;width:0;background:#fff;animation:load 3s linear forwards}
@keyframes load{to{width:100%}}
.splash-brush{position:absolute;left:0;right:0;bottom:0;width:100%;height:16vh;min-height:70px;z-index:1;pointer-events:none}
@media (prefers-reduced-motion:reduce){
  .splash-inner,.splash-progress span{animation:none}
  .splash-progress span{width:100%}
}
@media (max-height:700px){
  .splash-logo{width:min(210px,56vw)}
  .splash-slogan{font-size:28px;margin-top:14px}
}

/* Header */
.site-header{
  position:sticky;top:0;z-index:40;background:var(--cream);
  border-top:3px solid var(--red);
  box-shadow:0 1px 0 var(--line);
}
.navbar{display:flex;align-items:center;justify-content:flex-start;min-height:var(--header);gap:16px}
.bar-actions{display:flex;align-items:center;gap:8px;margin-inline-start:auto}
.bar-actions nav{width:0}
.icon-btn{
  width:44px;height:44px;border-radius:50%;border:1.5px solid #c9c0b6;background:#fff;color:#2c2c2c;
  box-shadow:0 1px 2px rgba(40,24,16,.04);
  display:inline-grid;place-items:center;padding:0;cursor:pointer;position:relative;flex:0 0 auto;
}
.icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.icon-btn:hover{border-color:var(--red);color:var(--red)}
.site-header .logo img{height:64px;width:auto;background:none;padding:0;border-radius:0}
.logo img{height:62px;width:auto;background:#fff;border-radius:12px;padding:4px 7px 2px}
.nav-links{
  position:fixed;top:var(--header);inset-inline-end:0;width:min(300px,86%);height:calc(100vh - var(--header));
  background:var(--ink);display:flex;flex-direction:column;align-items:flex-start;padding:24px;gap:18px;
  list-style:none;transform:translateX(-105%);transition:transform .3s;z-index:50;
}
html[dir="ltr"] .nav-links{transform:translateX(105%)}
html[dir="ltr"] .nav-links.open,.nav-links.open{transform:none}
.nav-links a{
  color:#f3f3f3;font-weight:700;background:none;border:0;cursor:pointer;font-size:16px;
  position:relative;padding:6px 0;
}
.nav-links a.active,.nav-links a:hover{color:#fff}
.nav-links a.active::after{content:'';position:absolute;right:0;bottom:0;left:0;height:2px;background:var(--red)}
.icon-btn .cart-count{
  position:absolute;top:-3px;inset-inline-end:-3px;
  min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:var(--red);color:#fff;
  display:inline-grid;place-items:center;font-size:11px;font-weight:800;
}
.cart-count[hidden]{display:none}
.hamburger{align-content:center;gap:4px}
.hamburger span{width:16px;height:1.7px;background:currentColor;border-radius:2px;transition:.25s;display:block}
.hamburger[aria-expanded="true"] span:nth-child(1){transform:translateY(5.7px) rotate(45deg)}
.hamburger[aria-expanded="true"] span:nth-child(2){opacity:0}
.hamburger[aria-expanded="true"] span:nth-child(3){transform:translateY(-5.7px) rotate(-45deg)}

/* Sections */
.section{padding:72px 0;scroll-margin-top:calc(var(--header) + 12px)}
.section-head{text-align:center;margin-bottom:28px}
.section-head h1,.section-head h2,h2{font-size:clamp(28px,4vw,44px);font-weight:900;line-height:1.25}
.section-head p{color:var(--muted);margin-top:6px}

.menu-tools{position:sticky;top:var(--header);z-index:15;background:rgba(250,246,241,.94);backdrop-filter:blur(10px);padding:12px 0 14px}
.search{display:block;margin-bottom:12px}
.search input{
  width:100%;border:2px solid var(--line);background:#fff;border-radius:14px;
  padding:13px 16px;font-size:16px;
}
.search input:focus{outline:none;border-color:var(--red)}
.cat-showcase{margin:8px 0 28px}
.perks{display:flex;justify-content:center;gap:28px;margin-bottom:26px}
.perk{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:84px;color:#3a3a3a;font-weight:700;font-size:15px;text-align:center}
.perk-ico{
  width:74px;height:74px;border-radius:50%;border:2px solid var(--red);background:#fff;
  display:grid;place-items:center;color:var(--red);
}
.perk-ico svg{width:38px;height:38px}
.cats-title{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 16px}
.cats-title h2{margin:0;font-size:30px;font-weight:800}
.cats-dots{display:flex;gap:5px}
.cats-dots::before,.cats-dots::after{content:'';width:7px;height:7px;border-radius:50%;background:var(--red)}
.menu-filters{
  display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:8px;margin:0;
  overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
.menu-filters::-webkit-scrollbar{display:none}
.chip{
  flex:0 0 auto;white-space:nowrap;width:auto;border:0;background:#f3f4f6;color:#4b5563;border-radius:999px;
  padding:8px 16px;font-weight:700;font-size:15px;cursor:pointer;
}
.chip:hover{background:#e9eaee;color:var(--ink)}
.chip.active{background:#fde8ea;color:var(--red)}
#menuStart,.cat-block{scroll-margin-top:calc(var(--header) + 92px)}
.cat-block + .cat-block{margin-top:42px}
.cat-title{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:900;margin-bottom:16px}
.cat-title::after{content:'';flex:1;height:1px;background:linear-gradient(to left, var(--line), transparent)}
.menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.menu-empty{text-align:center;color:var(--muted);padding:28px 0}

.dish{background:#fff;border-radius:18px;overflow:hidden;border:1px solid #f0e7de;box-shadow:0 10px 28px rgba(40,16,12,.06);display:flex;flex-direction:column;cursor:pointer}
.dish-img{position:relative;height:180px}
.dish-img img{width:100%;height:100%;object-fit:cover}
.dish-cat{position:absolute;top:12px;right:12px;background:rgba(23,19,17,.82);color:#fff;font-size:12px;font-weight:800;padding:4px 10px;border-radius:999px}
.dish.is-off{opacity:.72}
.dish-body{padding:16px 16px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.dish-body h3{font-size:18px;line-height:1.35}
.en-name{color:var(--muted);font-size:12px;letter-spacing:1px}
.desc{color:var(--muted);font-size:14px;flex:1}
.options{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0}
.opt{cursor:pointer}
.opt input{position:absolute;opacity:0;pointer-events:none}
.opt span{display:inline-block;border:2px solid var(--line);border-radius:999px;padding:4px 12px;font-size:13px;font-weight:800}
.opt input:checked + span{border-color:var(--red);color:var(--red);background:#fff5f5}
.dish-foot{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin-top:8px}
.price{color:var(--red);font-weight:900;font-size:18px}
.price small{font-size:12px;font-weight:800}
.add-cart{
  margin-inline-start:auto;
  width:44px;height:44px;border-radius:50%;border:1.5px solid #c9c0b6;background:#fff;color:#2c2c2c;
  box-shadow:0 1px 2px rgba(40,24,16,.04);
  display:grid;place-items:center;cursor:pointer;flex:0 0 auto;padding:0;
}
.add-cart:hover{border-color:var(--red);color:var(--red);background:#fff}
.add-cart:disabled{color:#b7aea4;border-color:#e6dfd8;background:#fff;cursor:not-allowed}
.add-cart svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:block}
.qty{
  display:inline-flex;align-items:center;gap:8px;background:var(--ink);color:#fff;
  border-radius:999px;padding:4px;
}
.qty button{
  width:32px;height:32px;border:0;border-radius:50%;background:var(--red);color:#fff;
  font-size:18px;font-weight:800;cursor:pointer;
}
.qty button:disabled{background:#c8c2bb;cursor:not-allowed}
.qty b{min-width:16px;text-align:center}

.why{background:#fff}
.why-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:36px;align-items:center;margin-bottom:28px}
.why-grid img{border-radius:20px;height:320px;width:100%;object-fit:cover}
.why-grid h2{margin:6px 0 12px}
.why-grid p{color:#4e4844;margin-bottom:10px}
.features{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.feature{background:var(--cream);border-radius:16px;padding:20px 16px;border-top:4px solid var(--red)}
.why .feature{background:#fff;border:1px solid var(--line);border-top:4px solid var(--red)}
.feature .icon{font-size:26px;margin-bottom:8px}
.feature h3{font-size:17px;margin-bottom:4px}
.feature p{color:var(--muted);font-size:14px}

.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:22px}
.contact-card,.form{background:#fff;border-radius:20px;padding:26px;border:1px solid var(--line)}
.c-row{display:flex;gap:12px;margin-bottom:16px}
.ci{width:42px;height:42px;border-radius:12px;background:#fdecee;display:grid;place-items:center;flex:0 0 auto}
.c-row b{display:block}
.c-row span,.c-row a{color:var(--muted);font-size:14.5px}
.form h3{margin-bottom:8px}
.form label{display:block;font-weight:800;margin:12px 0 6px;font-size:14px}
.form input,.form select,.form textarea{
  width:100%;border:2px solid var(--line);border-radius:12px;padding:12px 14px;background:#fff;font-size:15px;
}
.form textarea{min-height:110px;resize:vertical}
.form input:focus,.form select:focus,.form textarea:focus{outline:none;border-color:var(--red)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;cursor:pointer;border-radius:999px;padding:12px 20px;font-weight:800}
.btn-red{background:var(--red);color:#fff;margin-top:16px;width:100%}
.btn-red:hover{background:var(--red-dark)}
.btn-wa{background:#1faa59;color:#fff;width:100%;margin-top:8px}
.btn-wa:hover{background:#178a48}
.btn-ghost{background:transparent;color:var(--ink);border:2px solid var(--line)}

footer{background:#120f0e;color:#d9d3cc;padding-top:42px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:24px;padding-bottom:28px}
footer h4{color:#fff;margin-bottom:10px}
footer a{display:block;margin-bottom:6px}
footer a:hover{color:#fff}
.footer-bottom{border-top:1px solid #2a2422;text-align:center;padding:14px;color:#8d8680;font-size:14px}

.item-pop{
  position:fixed;inset:0;z-index:120;background:rgba(0,0,0,.48);
  display:grid;place-items:center;padding:18px;
}
.item-pop[hidden]{display:none}
.item-pop-card{
  width:min(440px,100%);max-height:min(92vh,760px);overflow:auto;
  background:#fff;border-radius:22px;position:relative;
  box-shadow:0 24px 60px rgba(0,0,0,.28);
}
.item-pop-img{height:230px;background:#f3ece6}
.item-pop-img img{width:100%;height:100%;object-fit:cover}
.item-pop-body{padding:18px 18px 20px}
.item-pop-body h3{font-size:22px;line-height:1.35}
.item-pop-body .desc{color:var(--muted);font-size:15px;margin-top:6px}
.item-pop-close{
  position:absolute;top:12px;inset-inline-end:12px;z-index:2;
  width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.94);
  color:var(--ink);font-size:22px;line-height:1;cursor:pointer;
  display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.16);
}
body.item-open{overflow:hidden}
.backdrop{position:fixed;inset:0;background:rgba(0,0,0,.48);z-index:80}
.drawer{
  position:fixed;top:0;bottom:0;left:0;z-index:90;width:min(420px,100%);
  background:#fff;display:flex;flex-direction:column;
  transform:translateX(-105%);transition:transform .32s ease;
  box-shadow:8px 0 30px rgba(0,0,0,.16);
}
body.drawer-open .drawer{transform:none}
body.drawer-open{overflow:hidden}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--line)}
.drawer-head h2{font-size:22px}
#drawerClose{width:36px;height:36px;border-radius:50%;border:0;background:var(--cream);font-size:24px;cursor:pointer}
.drawer-body{flex:1;overflow:auto;padding:14px 16px}
.drawer-foot{border-top:1px solid var(--line);padding:14px 16px 18px;background:#fff}
.cart-row{display:grid;grid-template-columns:72px 1fr auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.cart-row img{width:72px;height:72px;object-fit:cover;border-radius:12px}
.cart-row h3{font-size:15px;line-height:1.35}
.line-price{color:var(--red);font-weight:800;font-size:14px}
.cart-row .icon-btn{border:0;background:none;cursor:pointer;font-size:18px;padding:6px;width:auto;height:auto;border-radius:0;box-shadow:none}
.sum{display:flex;justify-content:space-between;margin:6px 0;color:#444;font-size:14px}
.sum.total{font-size:18px;font-weight:900;color:var(--ink);margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}
.notes{width:100%;border:2px solid var(--line);border-radius:12px;padding:10px 12px;min-height:72px;margin:8px 0 10px;resize:vertical}
.drawer-actions{display:flex;flex-direction:column;gap:8px}
.empty-cart{text-align:center;padding:40px 10px;color:var(--muted)}
.empty-cart strong{display:block;color:var(--ink);font-size:20px;margin-bottom:6px}

.toast{
  position:fixed;bottom:88px;left:50%;transform:translateX(-50%) translateY(12px);
  background:var(--ink);color:#fff;padding:12px 18px;border-radius:999px;font-weight:700;
  opacity:0;pointer-events:none;transition:.3s;z-index:200;
}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

@media (max-width:980px){
  .menu-grid{grid-template-columns:1fr 1fr}
  .features,.why-grid,.contact-grid,.footer-grid{grid-template-columns:1fr 1fr}
  .why-grid img{height:240px}
}
@media (max-width:760px){
  .menu-grid{grid-template-columns:1fr}
  .dish{display:grid;grid-template-columns:118px 1fr}
  .dish-img{height:100%;min-height:132px}
  .dish-body{padding:12px}
  .desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .menu-grid,.features,.why-grid,.contact-grid,.footer-grid{grid-template-columns:1fr}
  .section{padding:52px 0}
}
