
@font-face{font-family:Jozoor;src:url('fonts/Jozoor-Font.woff2') format('woff2');font-display:swap}
@font-face{font-family:Papernotes;src:url('fonts/Papernotes Bold.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:FFMalmoom;src:url('fonts/FFMalmoom-Regular.woff2') format('woff2');font-display:swap}
@font-face{font-family:Ostania;src:url('fonts/Ostania.woff2') format('woff2');font-display:swap}
:root{--brand-gold:#FFC60B;--brand-gold-dark:#111111;--brand-gold-light:#FFF1B8;--brand-gold-glow:rgba(255,198,11,.28);--brand-cream:#FFFCF2;--brand-cream-dark:#FFE58A;--card-white:#FFFFFF;--text-dark:#111111;--text-muted:#555555;--border-color:rgba(17,17,17,.12);--radius-sm:10px;--radius-md:16px;--radius-lg:24px;--shadow-card:0 4px 16px rgba(17,17,17,.07)}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:165px}
body{background:var(--brand-cream);color:var(--text-dark);line-height:1.6;padding-bottom:100px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;transition:background-color .2s}
body.lang-ar{direction:rtl;font-family:Jozoor,sans-serif}
body.lang-en{direction:ltr;font-family:Ostania,sans-serif}
body.lang-ar h1,body.lang-ar h2,body.lang-ar .category-title{font-family:FFMalmoom,Jozoor,sans-serif}
body.lang-en h1,body.lang-en h2,body.lang-en .category-title{font-family:Papernotes,Ostania,sans-serif;letter-spacing:.3px}
body.lang-ar .item-name,body.lang-ar #modalTitle{font-family:Jozoor,sans-serif!important;font-weight:700;font-size:16.5px;color:#111111!important;display:flex;align-items:center;gap:2px;flex-wrap:wrap;line-height:1.35}
body.lang-en .item-name,body.lang-en #modalTitle{font-family:Papernotes,sans-serif!important;font-size:17px;color:#111111!important;display:flex;align-items:center;gap:2px;flex-wrap:wrap;line-height:1.3}
body.lang-ar .item-desc,body.lang-ar #modalDesc{font-family:Jozoor,sans-serif!important;font-size:13.5px!important;color:#514c40;line-height:1.55!important;margin-top:4px}
body.lang-en .item-desc,body.lang-en #modalDesc{font-family:Ostania,sans-serif!important;font-size:12.5px!important;color:#514c40;line-height:1.5!important;margin-top:4px}
.announcement{height:68px;background:#FFC60B url('assets/branding/kanoneh-food-pattern-gold.png') repeat;background-size:210px auto;border-top:3px solid #111111;color:#111111;padding:0 16px;display:flex;align-items:center;justify-content:center}
.announcement-inner{width:100%;max-width:1100px;height:100%;display:flex;align-items:center;justify-content:flex-start;direction:rtl}
.announcement-inner img{display:block;width:64px;height:56px;object-fit:contain;object-position:center}
.header-top{justify-content:flex-start;direction:ltr}
.header-actions{direction:rtl}
header.menu-header{position:sticky;top:0;background:rgba(255,252,242,.97);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);z-index:1000;border-bottom:1px solid var(--border-color);padding:10px 16px 8px}
.header-top{max-width:1100px;margin:0 auto 10px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.header-actions{display:flex;align-items:center;gap:8px}
.btn-lang-toggle{background:#fff;border:1.5px solid #111111;color:#111111;padding:8px 13px;border-radius:30px;font-weight:700;font-size:12px;cursor:pointer;transition:all .2s}
.btn-lang-toggle:hover{background:var(--brand-gold-light)}
.btn-header-menu{background:#FFC60B;color:#111111;text-decoration:none;padding:8px 16px;border-radius:30px;font-weight:700;font-size:12px;box-shadow:0 4px 14px var(--brand-gold-glow);transition:all .2s}
.btn-header-menu:hover{transform:translateY(-2px)}
.search-wrapper{max-width:1100px;margin:0 auto 10px;position:relative}
.search-wrapper .search-icon{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);width:17px;height:17px;color:#111111}
.search-input{width:100%;padding:11px 42px 11px 14px;border:1px solid var(--border-color);border-radius:12px;background:#fff;font-size:13px;outline:none;color:var(--text-dark);transition:all .2s}
body.lang-en .search-input{padding:11px 14px 11px 42px}
.search-input:focus{border-color:var(--brand-gold-dark);box-shadow:0 0 0 3px rgba(255,198,11,.22)}
.category-nav{max-width:1100px;margin:0 auto;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}
.category-nav::-webkit-scrollbar{display:none}
.cat-btn{white-space:nowrap;background:#fff;border:1px solid var(--border-color);color:var(--text-dark);padding:7px 16px;border-radius:20px;font-size:13px;text-decoration:none;transition:all .2s;display:inline-flex;align-items:center;gap:5px}
.cat-btn:hover,.cat-btn.active{background:var(--brand-gold);border-color:var(--brand-gold);color:#211c0b}
.menu-container{max-width:1100px;margin:22px auto 0;padding:0 16px}
.category-section{margin-bottom:36px;scroll-margin-top:165px}
.category-title{font-size:22px;color:#111111;margin-bottom:12px;display:flex;align-items:center;gap:8px}
.category-title::before{content:'';width:4px;height:22px;background:#FFC60B;border-radius:4px;display:inline-block}
.items-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:768px){.items-grid{grid-template-columns:repeat(2,1fr);gap:16px}}
.item-card{background:var(--card-white);border-radius:var(--radius-md);padding:14px;display:flex;align-items:flex-start;gap:14px;border:1px solid var(--border-color);box-shadow:var(--shadow-card);transition:all .22s ease;position:relative;cursor:pointer;min-width:0}
.item-card:hover{border-color:#FFC60B;transform:translateY(-2px);box-shadow:0 8px 20px rgba(17,17,17,.10)}
.item-img-wrap{width:95px;height:95px;border-radius:12px;background:var(--brand-gold-light);overflow:hidden;flex-shrink:0;border:1px solid var(--border-color)}
.item-img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease;display:block}
.item-card:hover .item-img-wrap img{transform:scale(1.08)}
.item-info{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.item-header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.item-name{margin:0;min-width:0}
.item-price-box{background:var(--brand-gold-light);padding:4px 10px;border-radius:10px;color:#111111;font-size:16px;font-weight:800;flex-shrink:0;white-space:nowrap;font-family:Arial,sans-serif;display:inline-flex;flex-direction:row;align-items:center;gap:4px;direction:rtl;unicode-bidi:isolate}
.item-price-box .num{font-family:Arial,sans-serif!important;font-variant-numeric:lining-nums tabular-nums;direction:ltr;unicode-bidi:isolate}
.currency-symbol{display:inline-block;width:15px;height:17px;object-fit:contain;flex:0 0 auto;vertical-align:middle}
.item-price-box .currency-symbol{width:15px;height:17px}
#modalPrice .currency-symbol{width:17px;height:19px}
.item-desc{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.item-card:focus-visible{outline:3px solid var(--brand-gold);outline-offset:2px}
#noResults{display:none;text-align:center;padding:40px 20px;color:var(--text-muted)}
.sticky-bottom-bar{position:fixed;bottom:14px;left:16px;right:16px;max-width:520px;margin:0 auto;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:30px;border:1px solid var(--border-color);padding:8px 12px;display:flex;gap:8px;box-shadow:0 10px 30px rgba(0,0,0,.10);z-index:1000}
.bar-btn{flex:1;padding:10px 0;border-radius:20px;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:700;border:0}
body.lang-ar .bar-btn{font-family:Jozoor,sans-serif}body.lang-en .bar-btn{font-family:Ostania,sans-serif}
.bar-btn.primary{background:#FFC60B;color:#111111}
.bar-btn.secondary{background:#111111;color:#FFC60B}
.bar-btn svg{width:16px;height:16px}
.image-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.75);backdrop-filter:blur(8px);z-index:2000;align-items:center;justify-content:center;padding:20px}
.image-modal.active{display:flex}
.modal-content{background:#fff;border-radius:20px;max-width:min(480px,100%);width:100%;overflow:hidden;position:relative;animation:zoomIn .25s ease;max-height:90vh;display:flex;flex-direction:column}
#modalImg{width:100%;height:280px;object-fit:cover;background:var(--brand-gold-light)}
.modal-body{padding:18px 20px;overflow-y:auto}
body.lang-ar .modal-body{text-align:right}body.lang-en .modal-body{text-align:left}
#modalTitle{margin-bottom:7px}
#modalPrice{font-weight:800;font-size:17px;color:var(--brand-gold-dark);margin-bottom:8px;display:flex;flex-direction:row;align-items:center;gap:4px;direction:rtl!important;width:fit-content;font-family:Arial,sans-serif!important}
body.lang-ar #modalPrice{margin-left:auto}
#modalDesc{margin-top:5px}
.modal-close{position:absolute;top:12px;inset-inline-start:12px;width:34px;height:34px;background:rgba(0,0,0,.55);color:#fff;border-radius:50%;border:none;cursor:pointer;font-size:21px;z-index:10;line-height:1}
@keyframes zoomIn{from{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}
@media(max-width:767px){header.menu-header{padding:7px 12px 6px}.header-top{margin-bottom:7px;min-height:42px}.btn-header-menu{padding:7px 11px;font-size:11px}.btn-lang-toggle{padding:6px 11px;font-size:11px}.search-wrapper{margin-bottom:7px}.search-input{padding-top:9px!important;padding-bottom:9px!important}.category-nav{gap:6px;padding-bottom:2px}.cat-btn{padding:6px 12px;font-size:12.5px}.category-section{scroll-margin-top:142px;margin-bottom:27px}.menu-container{margin-top:16px;padding-inline:12px}.items-grid{gap:10px}.item-card{padding:11px;gap:11px}.item-img-wrap{width:88px;height:88px}.item-desc{-webkit-line-clamp:2}.category-title{font-size:20px}.sticky-bottom-bar{bottom:9px;left:10px;right:10px;padding:7px 9px}.bar-btn{padding:9px 0;font-size:12px}}
@media(max-width:380px){.item-img-wrap{width:78px;height:78px}.item-card{gap:9px;padding:9px}.item-price-box{font-size:14px;padding:3px 7px}.item-name{font-size:15px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Featured menu section */
.popular-section{padding:16px;border-radius:20px;background:linear-gradient(135deg,rgba(255,198,11,.14),rgba(255,255,255,.45));border:1px solid rgba(255,198,11,.25)}
.popular-section .category-title::before{width:5px}

/* Kanoneh brand palette override: black + signature yellow */
:root{--brand-gold:#FFC60B;--brand-gold-dark:#111111;--brand-gold-light:#FFF1B8;--brand-gold-glow:rgba(255,198,11,.28);--brand-cream:#FFFCF2;--brand-cream-dark:#FFE58A;--text-dark:#111111;--text-muted:#555555;--border-color:rgba(17,17,17,.12)}
.category-title{color:#111111}
.category-title::before{background:#FFC60B}
.item-price-box{background:#FFF1B8;color:#111111}
.cat-btn:hover,.cat-btn.active{background:#FFC60B;border-color:#FFC60B;color:#111111}
.btn-header-menu,.bar-btn.primary{background:#FFC60B;color:#111111}
.btn-lang-toggle{border-color:#111111;color:#111111}
.bar-btn.secondary{background:#111111;color:#FFC60B}
.popular-section{background:linear-gradient(135deg,rgba(255,198,11,.22),rgba(255,255,255,.8));border-color:rgba(17,17,17,.12)}

/* Sticky Kanoneh brand strip: remains attached to the sticky menu header */
header.menu-header>.announcement{position:relative;z-index:2;margin:-10px -16px 10px}
@media(max-width:767px){header.menu-header>.announcement{margin:-7px -12px 7px}}
/* Portrait drink artwork: show the full original image only inside the detail modal */
.modal-content.drink-modal{max-width:min(520px,100%)}
.modal-content.drink-modal #modalImg{height:min(62vh,560px);min-height:320px;object-fit:contain;background:#fff;padding:10px}
@media(max-width:767px){.modal-content.drink-modal #modalImg{height:58vh;min-height:280px;padding:8px}}

/* Product photography: square frames without cropping or retouching the source photos */
.item-img-wrap{width:95px;height:95px;aspect-ratio:1/1;background:#111;display:flex;align-items:center;justify-content:center}
.item-img-wrap img{width:100%;height:100%;object-fit:contain;background:#111}
@media(max-width:767px){.item-img-wrap{width:88px;height:88px}}
@media(max-width:380px){.item-img-wrap{width:78px;height:78px}}
/* Detail images are square for all items; juice bottles keep their portrait presentation */
.modal-content #modalImg{width:100%;height:auto;aspect-ratio:1/1;max-height:min(68vw,480px);object-fit:contain;background:#111;padding:8px}
.modal-content.juice-modal #modalImg{height:min(62vh,560px);min-height:300px;aspect-ratio:auto;max-height:none;object-fit:contain;background:#111;padding:10px}
@media(max-width:767px){.modal-content.juice-modal #modalImg{height:58vh;min-height:280px;padding:8px}}

/* Kanoneh WhatsApp customer service action */
.sticky-bottom-bar{max-width:620px}
.whatsapp-contact{background:#FFC60B;color:#111111;border:1px solid #111111;text-decoration:none}
.whatsapp-contact:hover{background:#111111;color:#FFC60B}
.whatsapp-contact svg{width:18px;height:18px;flex:0 0 auto}
@media(max-width:420px){.sticky-bottom-bar{gap:5px;padding:6px}.bar-btn{gap:4px;font-size:11px}.whatsapp-contact svg{width:16px;height:16px}}


/* High-contrast featured section: Kanoneh black with signature yellow star */
.popular-section{
  background:#111111;
  border:2px solid #FFC60B;
  border-radius:22px;
  padding:18px;
  box-shadow:0 8px 24px rgba(17,17,17,.16);
}
.popular-section .category-title{
  display:flex;
  align-items:center;
  gap:10px;
  color:#FFC60B;
  background:transparent;
  margin:0 0 16px;
  padding:2px 0 12px;
  border-bottom:1px solid rgba(255,198,11,.38);
  font-weight:900;
}
.popular-section .category-title::before{
  content:"★";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  flex:0 0 32px;
  background:#FFC60B;
  color:#111111;
  border-radius:10px;
  font-size:20px;
}
.popular-section .item-card{
  background:#FFFFFF;
  border-color:rgba(255,198,11,.5);
  box-shadow:0 3px 12px rgba(0,0,0,.18);
}
@media(max-width:767px){
  .popular-section{padding:13px;border-radius:18px}
  .popular-section .category-title{font-size:20px;margin-bottom:12px}
}

/* Simplified fixed footer: Kanoneh Portal + Customer Service only */
.sticky-bottom-bar{max-width:500px;grid-template-columns:1fr 1fr}
.portal-contact{background:#FFC60B;color:#111111;border:1px solid #111111;text-decoration:none}
.portal-contact:hover{background:#111111;color:#FFC60B}
.portal-contact svg{width:18px;height:18px;flex:0 0 auto}
/* Prevent flex shrinking from creating an empty black band below square product photos */
.modal-content #modalImg{display:block;flex:0 0 auto;min-height:0;margin:0;object-position:center}
.modal-content .modal-body{flex:0 0 auto;margin-top:0}
.modal-content{gap:0}
@media(max-width:420px){.sticky-bottom-bar{gap:7px;padding:7px}.bar-btn{gap:5px;font-size:12px}.portal-contact svg,.whatsapp-contact svg{width:17px;height:17px}}

/* Slightly larger Kanoneh logo in the sticky top strip */
@media(max-width:767px){
  header.menu-header>.announcement{height:64px}
  .announcement-inner img{width:60px;height:52px}
}

/* Inline Kanoneh brand wordmark replaces the brand name in product titles. */
.kanoneh-inline-wordmark{display:inline-block;width:auto;height:1.22em;max-width:3.15em;max-height:1.28em;object-fit:contain;vertical-align:-0.22em;flex:0 0 auto;margin:0 1px;padding:0;}
#modalTitle .kanoneh-inline-wordmark{height:1.22em;max-width:3.15em;max-height:1.28em;}
@media(max-width:380px){.kanoneh-inline-wordmark{height:1.16em;max-width:3em;}}
