
:root{
  --cream:#f6f0df;
  --paper:#fffaf0;
  --green:#173b29;
  --green2:#245139;
  --orange:#ef5b1a;
  --yellow:#efb632;
  --grey:#666a67;
  --ink:#172019;
  --line:rgba(23,59,41,.12);
  --shadow:0 14px 40px rgba(31,32,25,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:var(--cream);color:var(--ink);padding-bottom:92px}
button,a{font:inherit}
button{cursor:pointer}
.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;position:sticky;top:0;z-index:20;background:rgba(246,240,223,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.brand-logo{height:58px;width:92px;object-fit:contain;mix-blend-mode:multiply}
.icon-btn{border:0;background:transparent;font-size:27px;color:var(--green)}
.hero{min-height:520px;display:grid;grid-template-columns:46% 54%;align-items:center;max-width:1180px;margin:auto;padding:40px 28px 54px}
.hero-copy{z-index:2}
.location-pill{display:inline-flex;padding:12px 16px;border:1px solid var(--line);border-radius:999px;background:#fff9;box-shadow:0 8px 24px #0000000b;margin-bottom:30px;font-weight:700}
.eyebrow,.kicker{font-size:12px;letter-spacing:.13em;font-weight:900;color:var(--orange)}
.hero h1{font-size:clamp(62px,10vw,118px);line-height:.82;letter-spacing:-.055em;color:var(--green);margin:5px 0 18px;font-weight:1000}
.hero-sub{font-size:20px;color:#647067;margin-bottom:28px}
.primary-btn,.secondary-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:18px;padding:16px 24px;font-weight:950;text-decoration:none}
.primary-btn{background:var(--orange);color:white;box-shadow:0 12px 30px rgba(239,91,26,.26)}
.secondary-btn{background:var(--green);color:white}
.hero-art{position:relative}
.hero-art:before{content:"";position:absolute;inset:8% 4%;background:var(--yellow);border-radius:50%;filter:blur(45px);opacity:.22}
.hero-art img{position:relative;width:100%;max-height:470px;object-fit:contain;filter:drop-shadow(0 25px 35px rgba(0,0,0,.18));border-radius:36px}
.category-bar{position:sticky;top:76px;z-index:19;display:flex;gap:6px;overflow:auto;padding:12px 18px;background:#fffaf0ee;border-block:1px solid var(--line);backdrop-filter:blur(12px);scrollbar-width:none}
.category{flex:1;min-width:106px;border:0;background:transparent;padding:12px;border-radius:14px;color:#657068;font-weight:850}
.category.active{background:#fff;color:var(--orange);box-shadow:0 7px 20px #0000000b}
.category span{display:block;margin-top:4px}
.section{max-width:1180px;margin:auto;padding:54px 24px}
.dark-section{max-width:none;background:var(--grey);color:white;padding-inline:max(24px,calc((100vw - 1180px)/2 + 24px))}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.section h2{font-size:clamp(34px,5vw,58px);letter-spacing:-.04em;margin:4px 0 0}
.section-note{font-weight:800;color:#68746c}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.product-card{background:var(--paper);border-radius:22px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);display:flex;flex-direction:column;min-height:430px}
.dark-section .product-card{background:#f8f0db;color:var(--ink)}
.product-image{height:220px;position:relative;background:transparent;padding:8px}
.product-image img{width:100%;height:100%;object-fit:contain;border-radius:0}
.tag{position:absolute;left:14px;top:14px;background:var(--orange);color:white;font-size:11px;font-weight:1000;padding:8px 11px;border-radius:10px}
.product-info{padding:18px;display:flex;flex-direction:column;flex:1}
.product-info h3{font-size:21px;margin:0 0 7px}
.product-info p{margin:0 0 16px;line-height:1.5;color:#6e746e;font-size:14px}
.product-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between}
.price{font-size:22px;font-weight:1000}
.add-btn{border:1px solid var(--orange);background:transparent;color:var(--orange);font-weight:950;padding:10px 15px;border-radius:12px}
.compact{grid-template-columns:repeat(4,1fr)}
.compact .product-card{min-height:210px}
.compact .product-image{height:0}
.build-banner{background:#fff8e9;border:1px solid var(--line);border-radius:28px;padding:34px;display:grid;grid-template-columns:1.25fr .75fr;align-items:center;overflow:hidden;box-shadow:var(--shadow)}
.build-banner h2{margin-top:5px}
.build-banner p{color:#657068;max-width:520px;font-size:17px;line-height:1.6}
.build-banner img{width:100%;height:330px;object-fit:contain;filter:drop-shadow(0 20px 25px rgba(0,0,0,.16))}
footer{max-width:1180px;margin:40px auto 0;background:var(--green);color:white;border-radius:24px 24px 0 0;padding:28px;display:grid;grid-template-columns:1fr 1fr;gap:20px}
footer div{display:flex;flex-direction:column;gap:4px}
footer span{color:#d6e0d9;font-size:13px}
.cartbar{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);width:min(720px,calc(100% - 24px));background:var(--green);color:white;border-radius:22px;padding:12px 14px 12px 18px;display:flex;align-items:center;justify-content:space-between;z-index:50;box-shadow:0 16px 40px rgba(0,0,0,.28)}
.cartbar>div{display:flex;align-items:center;gap:12px}
.cartbar small{display:block;color:#cbd8cf}
.cartbar strong{font-size:19px}
.cart-count{height:34px;min-width:34px;border-radius:50%;display:grid;place-items:center;background:var(--yellow);color:var(--green);font-weight:1000}
.cartbar button{border:0;background:var(--orange);color:white;padding:14px 18px;border-radius:15px;font-weight:950}
.modal{position:fixed;inset:0;background:#102019b8;z-index:80;display:none;align-items:flex-end;justify-content:center;padding:20px}
.modal.show{display:flex}
.modal-card{width:min(720px,100%);max-height:88vh;overflow:auto;background:var(--paper);border-radius:28px;padding:24px;position:relative;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.modal-card h3{font-size:30px;margin:5px 0 22px}
.close{position:absolute;right:18px;top:16px;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:white;font-size:24px}
.cart-row{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.qty{display:flex;align-items:center;gap:8px}
.qty button{width:30px;height:30px;border-radius:9px;border:1px solid var(--line);background:white}
.modal-total{display:flex;justify-content:space-between;font-size:22px;padding:22px 0}
.full{width:100%}
.builder-step{padding:18px 0;border-top:1px solid var(--line)}
.choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}
.choice{border:1px solid var(--line);background:white;border-radius:14px;padding:13px;text-align:left}
.choice.active{border-color:var(--orange);box-shadow:0 0 0 2px rgba(239,91,26,.12)}
.choice small{display:block;color:#6f776f;margin-top:3px}
.builder-bottom{position:sticky;bottom:-24px;margin:20px -24px -24px;padding:18px 24px;background:#fff8e9;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}
.builder-bottom small{display:block;color:#68746c}
.builder-bottom strong{font-size:23px}
@media(max-width:760px){
  .hero{grid-template-columns:1fr;min-height:620px;padding:26px 20px 34px}
  .hero-art{grid-row:1;opacity:.95}
  .hero-art img{height:300px}
  .hero-copy{margin-top:-55px}
  .hero h1{font-size:72px}
  .cards,.compact{grid-template-columns:1fr 1fr}
  .product-card{min-height:370px}
  .product-image{height:180px}
  .build-banner{grid-template-columns:1fr}
  .build-banner img{height:220px}
  footer{margin-inline:12px}
}
@media(max-width:520px){
  .cards,.compact{grid-template-columns:1fr}
  .product-card{min-height:390px}
  .choice-grid{grid-template-columns:1fr 1fr}
}


/* Pasta choices with images + V Cola */
.choice-with-image{display:flex;align-items:center;gap:12px;padding:12px 14px}.choice-with-image img{width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(0,0,0,.08));flex:0 0 auto}.choice-text{display:flex;flex-direction:column;align-items:flex-start}#drinks .product-image img{max-width:90%;max-height:90%}.product-card.no-image .product-image.empty{display:none}.compact .product-card.no-image{min-height:170px}.compact .product-card.no-image .product-info{padding-top:22px}@media(max-width:520px){.choice-with-image img{width:50px;height:50px}}
/* V4 — bilingual language switch + visible drink artwork */
.language-switch{
  display:inline-flex;
  align-items:center;
  gap:3px;
  padding:4px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,250,240,.82);
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}
.lang-btn{
  min-width:46px;
  height:38px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--green);
  font-weight:950;
  padding:0 11px;
}
.lang-btn.active{background:var(--green);color:white}

/* Compact cards normally hide image space; drinks with artwork must keep it. */
#drinks .product-card:not(.no-image){min-height:360px}
#drinks .product-card:not(.no-image) .product-image{
  height:190px;
  padding:14px 18px 0;
}
#drinks .product-card:not(.no-image) .product-image img{
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:contain;
  filter:drop-shadow(0 16px 18px rgba(0,0,0,.12));
}

/* Arabic layout */
html[dir="rtl"] body{font-family:Tahoma,"Segoe UI",Arial,sans-serif}
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .product-info,
html[dir="rtl"] .choice,
html[dir="rtl"] .modal-card{text-align:right}
html[dir="rtl"] .tag{left:auto;right:14px}
html[dir="rtl"] .close{right:auto;left:18px}
html[dir="rtl"] .choice-text{align-items:flex-start;text-align:right}
html[dir="rtl"] .primary-btn,
html[dir="rtl"] .secondary-btn,
html[dir="rtl"] .add-btn{letter-spacing:0}
html[dir="rtl"] .cartbar>div{flex-direction:row}

@media(max-width:520px){
  .topbar{padding-inline:14px}
  .brand-logo{width:82px}
  .language-switch{padding:3px}
  .lang-btn{min-width:42px;height:36px;padding-inline:8px}
  #drinks .product-card:not(.no-image){min-height:350px}
  #drinks .product-card:not(.no-image) .product-image{height:190px}
}

/* V5 — richer product cards + readable ingredient chips */
.product-card{
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 48px rgba(31,32,25,.16);
  border-color:rgba(23,59,41,.18);
}
.pizza-card .product-image{
  height:235px;
  padding:10px 12px 0;
  background:radial-gradient(circle at 50% 48%,rgba(239,182,50,.16),transparent 62%);
}
.product-title-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.product-title-row h3{
  margin:0;
  line-height:1.14;
}
.price-pill{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:7px 11px;
  border-radius:999px;
  background:#fff2df;
  color:var(--orange);
  border:1px solid rgba(239,91,26,.15);
  font-size:16px;
  white-space:nowrap;
}
.ingredients-block{
  margin:0 0 16px;
}
.ingredients-label{
  display:block;
  margin-bottom:8px;
  font-size:10px;
  font-weight:1000;
  letter-spacing:.12em;
  color:#778079;
}
.ingredient-list{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.ingredient-chip{
  display:inline-flex;
  align-items:center;
  min-height:29px;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(23,59,41,.065);
  border:1px solid rgba(23,59,41,.07);
  color:#4f5d54;
  font-size:12px;
  font-weight:750;
  line-height:1.2;
}
.product-desc{
  margin:0 0 16px;
  line-height:1.5;
  color:#6e746e;
  font-size:14px;
}
.add-btn-wide{
  width:100%;
  min-height:44px;
  background:var(--green);
  color:white;
  border-color:var(--green);
  box-shadow:0 8px 20px rgba(23,59,41,.12);
}
.add-btn-wide:hover{
  background:var(--green2);
  border-color:var(--green2);
}
.pizza-card .product-info{
  padding:19px;
}
.pizza-card .product-bottom{
  margin-top:auto;
}
html[dir="rtl"] .ingredients-label{
  letter-spacing:0;
}
html[dir="rtl"] .ingredient-list{
  justify-content:flex-start;
}

@media(max-width:760px){
  .pizza-card .product-image{height:205px}
  .product-title-row{gap:8px}
  .price-pill{font-size:15px;padding-inline:9px}
}
@media(max-width:520px){
  .pizza-card{min-height:0}
  .pizza-card .product-image{height:230px}
  .pizza-card .product-info{padding:18px}
  .ingredient-chip{font-size:12px;min-height:30px}
  .add-btn-wide{min-height:46px}
}


/* V6 — product details modal */
.product-card{
  cursor:pointer;
}
.product-card:focus-visible{
  outline:3px solid rgba(239,91,26,.35);
  outline-offset:2px;
}
.product-modal-card{
  width:min(860px,100%);
}
.product-detail-layout{
  display:grid;
  grid-template-columns:minmax(260px, 340px) 1fr;
  gap:24px;
  align-items:start;
}
.product-detail-visual{
  position:relative;
  min-height:320px;
  border-radius:24px;
  background:linear-gradient(180deg,#fff9ef,#fff3df);
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  overflow:hidden;
}
.product-detail-visual.hidden{display:none}
.product-detail-visual img{
  width:100%;
  height:100%;
  max-height:320px;
  object-fit:contain;
  filter:drop-shadow(0 20px 26px rgba(0,0,0,.14));
}
.detail-tag{
  left:16px;
  top:16px;
}
.product-detail-copy h3{
  font-size:34px;
  line-height:1.05;
  margin:6px 0 14px;
}
.detail-price-row{
  margin-bottom:12px;
}
.detail-ingredients-block{
  margin-top:14px;
  margin-bottom:18px;
}
.detail-desc{
  margin:8px 0 22px;
  font-size:15px;
  line-height:1.7;
}
.detail-add-btn{
  min-height:52px;
  font-size:15px;
}
.hidden{display:none !important}
html[dir="rtl"] .detail-tag{
  left:auto;
  right:16px;
}
@media(max-width:760px){
  .product-detail-layout{
    grid-template-columns:1fr;
    gap:18px;
  }
  .product-detail-visual{
    min-height:250px;
  }
  .product-detail-visual img{
    max-height:250px;
  }
  .product-detail-copy h3{
    font-size:30px;
  }
}
@media(max-width:520px){
  .product-modal-card{
    padding:20px;
    border-radius:24px;
  }
  .product-detail-copy h3{
    font-size:28px;
    padding-right:24px;
  }
}


/* V7 — grouped upgrade */
.category-bar{
  position:sticky;
  top:76px;
  z-index:35;
  backdrop-filter:blur(8px);
}
.product-card{
  animation:cardUp .36s ease both;
}
@keyframes cardUp{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:translateY(0)}
}
.compact-card{
  min-height:255px !important;
}
.compact-card .product-image{
  height:110px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 14px 0;
}
.icon-badge,
.detail-icon-fallback{
  width:88px;
  height:88px;
  border-radius:24px;
  display:grid;
  place-items:center;
  font-size:40px;
  background:linear-gradient(180deg,#fff5e2,#ffe9c1);
  box-shadow:inset 0 0 0 1px rgba(23,59,41,.06), 0 14px 24px rgba(23,59,41,.10);
}
.tone-accent .icon-badge{
  background:linear-gradient(180deg,#fff0e1,#ffd7a7);
}
.card-hint{
  display:block;
  color:#7e857f;
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
}
.product-bottom{
  flex-direction:column;
  align-items:stretch;
  gap:10px;
}
.compact-card .product-info{
  gap:0;
}
.compact-card .product-desc{
  min-height:42px;
}
.compact-card .add-btn-wide{
  width:100%;
}
.compact-card .price-pill{
  font-size:15px;
  min-height:34px;
}
.tag{
  box-shadow:0 10px 24px rgba(239,91,26,.22);
}
.product-modal-card{
  width:min(920px,100%);
}
.product-detail-layout{
  gap:28px;
}
.product-detail-visual{
  min-height:350px;
  background:radial-gradient(circle at 50% 45%,rgba(239,182,50,.18),transparent 55%), linear-gradient(180deg,#fffaf1,#fff2de);
}
.product-detail-copy h3{
  font-size:38px;
}
.detail-size-block{
  margin:4px 0 18px;
}
.size-options{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.size-chip{
  min-width:118px;
  border:1px solid var(--line);
  background:white;
  border-radius:16px;
  padding:11px 12px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  font-weight:900;
}
.size-chip small{
  color:#6a736d;
  font-size:12px;
}
.size-chip.active{
  border-color:var(--green);
  background:#eef6f0;
  box-shadow:0 0 0 2px rgba(23,59,41,.08);
}
.detail-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:4px;
}
.detail-wa-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  min-height:52px;
}
.detail-add-btn,
.detail-wa-btn{
  transition:transform .18s ease, box-shadow .18s ease;
}
.detail-add-btn:hover,
.detail-wa-btn:hover{
  transform:translateY(-1px);
}
.modal.show .modal-card{
  animation:modalRise .22s ease;
}
@keyframes modalRise{
  from{transform:translateY(14px);opacity:.4}
  to{transform:translateY(0);opacity:1}
}
.hidden{display:none !important}
html[dir="rtl"] .size-chip{
  align-items:flex-start;
}
html[dir="rtl"] .card-hint{
  letter-spacing:0;
}
@media(max-width:760px){
  .category-bar{top:68px}
  .compact-card{min-height:240px !important}
  .detail-actions{grid-template-columns:1fr}
  .product-detail-copy h3{font-size:32px}
  .product-detail-visual{min-height:270px}
}
@media(max-width:520px){
  .category-bar{
    gap:10px;
    padding-inline:14px;
  }
  .compact-card .product-image{height:96px}
  .icon-badge,.detail-icon-fallback{width:78px;height:78px;font-size:36px}
  .size-chip{min-width:0;flex:1}
}


/* V11 — installable PWA */
.top-actions{display:flex;align-items:center;gap:8px}
.install-btn{
  height:42px;
  border:1px solid rgba(23,59,41,.13);
  border-radius:999px;
  background:var(--green);
  color:white;
  padding:0 13px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  font-weight:950;
  box-shadow:0 8px 18px rgba(23,59,41,.13);
}
.install-card{text-align:center;width:min(460px,100%)}
.install-logo{width:94px;height:94px;border-radius:24px;object-fit:cover;box-shadow:0 14px 30px rgba(23,59,41,.15);margin:6px auto 18px;display:block}
.install-card h3{margin-bottom:12px}
.install-help{color:#647067;line-height:1.7;margin:0 0 18px}
.install-note{display:block;color:#7b837e;line-height:1.5;margin-top:12px}
@media(max-width:620px){
  .topbar{padding-inline:12px}
  .top-actions{gap:5px}
  .install-btn{width:42px;padding:0;justify-content:center;font-size:17px}
  .install-btn span{display:none}
  .lang-btn{min-width:40px;padding-inline:7px}
}
@media(display-mode:standalone){
  .install-btn{display:none!important}
  body{padding-top:env(safe-area-inset-top)}
}


/* V12 checkout details */
.checkout-form{margin-top:18px;padding-top:18px;border-top:1px solid rgba(23,59,41,.10);display:grid;gap:14px;}
.checkout-title{font-size:13px;font-weight:900;letter-spacing:.08em;color:#6f756e;}
.form-grid.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.field{display:grid;gap:8px;}
.field span{font-size:13px;font-weight:800;color:#4e544f;}
.field input,.field textarea{width:100%;border:1px solid var(--line);border-radius:14px;padding:12px 14px;font:inherit;background:#fff;}
.field textarea{resize:vertical;min-height:88px;}
.type-options{display:flex;gap:10px;flex-wrap:wrap;}
.type-option{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 14px;font-weight:800;}
.type-option input{accent-color:var(--green);}
.delivery-fields{display:grid;gap:12px;}
button#whatsapp-order:disabled{opacity:.45;cursor:not-allowed;}
@media(max-width:640px){.form-grid.two-col{grid-template-columns:1fr;}}


/* V13 final UX polish */
.clear-cart-btn{width:100%;border:0;background:transparent;color:#9a4a38;font-weight:900;padding:8px 12px;margin:-4px 0 6px;cursor:pointer;}
.location-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.location-btn{border:1px solid var(--line);background:#fff9ed;color:var(--green);font-weight:900;border-radius:999px;padding:10px 14px;cursor:pointer;}
.location-btn:disabled{opacity:.55;cursor:wait;}
.location-status{color:var(--green);font-weight:800;}
