
/* ══════════════════════════════
   Announcement Bar
══════════════════════════════ */
.announce-bar {
    width: 100%;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-align: center;
    overflow: hidden;
    position: relative;
    z-index: 200;
}
.announce-static {
    text-align: center;
    padding: 0 16px;
}
.announce-marquee {
    display: -webkit-flex;
    display: flex;
    white-space: nowrap;
    -webkit-animation: marquee-scroll 18s linear infinite;
    animation: marquee-scroll 18s linear infinite;
    gap: 80px;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.announce-marquee span {
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    padding-right: 40px;
}
@-webkit-keyframes marquee-scroll {
    0%   { -webkit-transform: translateX(0); transform: translateX(0); }
    100% { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
}
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
body.lang-en .announce-marquee {
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}
@media (prefers-reduced-motion: reduce) {
    .announce-marquee {
        -webkit-animation: none;
        animation: none;
        -webkit-justify-content: center;
        justify-content: center;
    }
}
/* Murishos v1.4 — ananas-style header */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body.murishos-body{
  font-family:'Segoe UI','Tahoma','Arial',sans-serif;
  background:var(--clr-bg);color:var(--clr-text);direction:rtl;
  min-height:100vh;display:flex;flex-direction:column;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}

/* ═══════════════════════════════════════
   HEADER — two-row, unified red
═══════════════════════════════════════ */
.site-header-wrap{
  background:var(--clr-header);
  position:sticky;top:0;z-index:200;
}

/* ROW 1 — logo centred, lang on end */
.site-topbar{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:22px 20px 10px;
}
.topbar-side{display:flex}
.topbar-end{justify-content:flex-end}

/* LOGO */
.site-logo-link{
  display:flex;justify-content:center;align-items:center;
}
.site-logo-link .custom-logo{
  max-height:68px;max-width:200px;
  width:auto;height:auto;object-fit:contain;
  filter:brightness(0) invert(1);
  display:block;
}
.logo-text{
  font-size:2.2rem;font-weight:900;
  color:var(--clr-header-text);font-family:'Georgia',serif;
  letter-spacing:.02em;line-height:1;
}

/* LANGUAGE BUTTON — ananas style: no border, transparent, simple */
.lang-btn{
  background:transparent;border:none;outline:none;
  color:rgba(255,255,255,.88);
  font-size:.82rem;font-weight:500;
  cursor:pointer;
  display:inline-flex;align-items:center;gap:5px;
  padding:4px 2px;
  font-family:inherit;
  transition:color .15s;
  position:relative;
}
.lang-btn:hover{color:#fff}
.lang-btn svg{transition:transform .2s}
.lang-btn.open svg{transform:rotate(180deg)}

/* LANGUAGE DROPDOWN */
.lang-dropdown{
  position:absolute;top:calc(100% + 6px);
  right:0;
  background:#fff;
  border-radius:8px;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
  overflow:hidden;
  min-width:110px;
  display:none;
  z-index:9999;
}
body:not([dir="ltr"]) .lang-dropdown{right:0;left:auto}
body[dir="ltr"] .lang-dropdown{left:0;right:auto}
.lang-dropdown.open{display:block}
.lang-option{
  display:block;width:100%;padding:10px 18px;
  background:transparent;border:none;
  color:#333;font-size:.85rem;font-weight:500;
  cursor:pointer;text-align:right;font-family:inherit;
  transition:background .15s;
  white-space:nowrap;
}
body[dir="ltr"] .lang-option{text-align:left}
.lang-option:hover{background:#f5f5f5}
.lang-option.selected{color:var(--clr-accent);font-weight:700}

/* ROW 2 — nav tabs */
.category-nav{
  border-top:1px solid rgba(255,255,255,.15);
}
.tabs-scroll-wrapper{
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.tabs-scroll-wrapper::-webkit-scrollbar{display:none}
.tabs-container{
  display:flex;align-items:center;justify-content:center;
  padding:6px 16px 12px;
  gap:2px;
  min-width:max-content;margin:0 auto;
}

/* TABS */
.tab-btn{
  background:transparent;border:none;
  color:rgba(255,255,255,.82);
  font-size:1rem;font-weight:500;
  padding:8px 22px;
  border-radius:10px;
  cursor:pointer;
  transition:background .15s,color .15s;
  white-space:nowrap;font-family:inherit;
}
.tab-btn:hover{color:#fff;background:rgba(255,255,255,.15)}
/* Active: white pill with red text — same 10px radius as ananas */
.tab-btn.active{
  background:var(--clr-tab-active);color:var(--clr-tab-active-text);font-weight:700;
}

/* ═══════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════ */
.hero-slider{position:relative;width:100%;height:520px;overflow:hidden;background:#111}
.slides-wrapper{position:relative;width:100%;height:100%}
.slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity .8s ease}
.slide.active{opacity:1}
.slide::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.4) 0%,transparent 55%)}
.slider-dots{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:10}
.dot{width:9px;height:9px;border-radius:50%;border:none;background:rgba(255,255,255,.45);cursor:pointer;padding:0;transition:all .25s}
.dot.active{background:#fff;width:24px;border-radius:5px}

/* HERO PLACEHOLDER */
.hero-placeholder{height:280px;background:#f9f0f0;border-bottom:2px dashed #e0b0b0;display:flex;align-items:center;justify-content:center}
.hero-placeholder-inner{text-align:center;color:#c08080}
.hero-placeholder-icon{font-size:2.5rem;margin-bottom:8px}
.hero-placeholder-text{font-size:.95rem;font-weight:600}
.hero-placeholder-sub{font-size:.78rem;margin-top:4px;opacity:.7}

/* ═══════════════════════════════════════
   FEATURED SECTION
═══════════════════════════════════════ */
.featured-section{padding:36px 20px 48px;background:#fafafa;flex:1}
.featured-header{max-width:1200px;margin:0 auto 28px;display:flex;align-items:center;gap:16px}
.featured-title{font-size:1.3rem;font-weight:800;color:var(--clr-accent);white-space:nowrap}
.featured-line{flex:1;height:2px;background:linear-gradient(to left,transparent,#CC0000);border-radius:2px}
body.lang-en .featured-line{background:linear-gradient(to right,transparent,#CC0000)}

/* ═══════════════════════════════════════
   PRODUCTS
═══════════════════════════════════════ */
.main-content{flex:1;background:#fafafa;padding:32px 20px 48px}
.products-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#e8e8e8;border:1px solid #e8e8e8}
.product-card{background:#fff;display:flex;flex-direction:column;align-items:center;padding:18px 14px 14px;cursor:pointer;transition:background .15s}
.product-card:hover{background:#fff8f8}
.product-title{font-size:.85rem;font-weight:700;color:#333;text-align:center;margin-bottom:12px;line-height:1.4;min-height:2.4em}
.product-image-wrapper{position:relative;width:100%;aspect-ratio:1/1;overflow:hidden;border-radius:8px;background:#fff}
.product-img{width:100%;height:100%;object-fit:contain;transition:transform .3s;display:block}
.product-card:hover .product-img{transform:scale(1.04)}
.whatsapp-btn{position:absolute;bottom:10px;left:10px;width:42px;height:42px;background:#25D366;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 10px rgba(0,0,0,.25);transition:all .2s;z-index:5;opacity:0;transform:scale(.8)}
.product-card:hover .whatsapp-btn{opacity:1;transform:scale(1)}
.whatsapp-btn:hover{transform:scale(1.12)!important;box-shadow:0 5px 16px rgba(37,211,102,.5)!important}
.product-no-img{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fafafa;color:#aaa;font-size:.8rem;gap:8px}
.product-no-img span{font-size:3rem;opacity:.4}
.no-products{grid-column:1/-1;text-align:center;padding:80px 20px;background:#fff;display:flex;flex-direction:column;align-items:center;gap:12px;color:#aaa}
.no-products p{font-size:1.1rem;color:#888}
.products-loading{display:flex;justify-content:center;padding:60px}
.spinner{width:44px;height:44px;border:4px solid #f0f0f0;border-top-color:var(--clr-accent);border-radius:50%;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* ═══════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════ */
.lightbox-overlay{position:fixed;inset:0;background:rgba(0,0,0,.88);z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}
.lightbox-close{position:fixed;top:16px;right:20px;background:rgba(255,255,255,.15);border:none;border-radius:50%;width:44px;height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s;z-index:10000}
.lightbox-close:hover{background:rgba(255,255,255,.28)}
.lightbox-content{display:flex;flex-direction:column;align-items:center;gap:16px;max-width:90vw;max-height:90vh;animation:zoomIn .22s ease}
@keyframes zoomIn{from{transform:scale(.93);opacity:0}to{transform:scale(1);opacity:1}}
.lightbox-img{max-width:85vw;max-height:72vh;object-fit:contain;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.lightbox-title{color:#fff;font-size:1rem;font-weight:700;text-align:center}
.lightbox-whatsapp-btn{display:inline-flex;align-items:center;gap:8px;background:#25D366;color:#fff;font-weight:700;font-size:.95rem;padding:12px 28px;border-radius:50px;box-shadow:0 4px 16px rgba(37,211,102,.4);transition:transform .2s,box-shadow .2s}
.lightbox-whatsapp-btn:hover{transform:translateY(-2px);box-shadow:0 6px 22px rgba(37,211,102,.55)}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer{background:#1a1a1a;padding:20px 24px;margin-top:auto}
.footer-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-copy{color:#888;font-size:.82rem}
.footer-copy a{color:var(--clr-accent);font-weight:600}
.footer-whatsapp{display:inline-flex;align-items:center;gap:7px;background:#25D366;color:#fff;font-size:.82rem;font-weight:600;padding:7px 16px;border-radius:50px;transition:opacity .2s}
.footer-whatsapp:hover{opacity:.88}

/* ═══════════════════════════════════════
   LTR (English mode)
═══════════════════════════════════════ */
body.lang-en{direction:ltr}
body.lang-en .category-nav,
body.lang-en .tabs-container{direction:ltr}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media(max-width:900px){
  .products-grid{grid-template-columns:repeat(2,1fr)}
  .hero-slider{height:380px}
}
@media(max-width:600px){
  .site-topbar{padding:14px 14px 8px}
  .site-logo-link .custom-logo{max-height:52px}
  .logo-text{font-size:1.6rem}
  .lang-btn{font-size:.74rem}
  .tab-btn{font-size:.85rem;padding:7px 14px}
  .hero-slider{height:240px}
  .products-grid{grid-template-columns:repeat(2,1fr)}
  .product-title{font-size:.75rem}
  .whatsapp-btn{opacity:1;transform:scale(1);width:36px;height:36px;bottom:7px;left:7px}
  .lightbox-img{max-width:95vw;max-height:62vh}
  .featured-section{padding:24px 8px 36px}
  .footer-inner{flex-direction:column;text-align:center}
}
@media(max-width:380px){.products-grid{grid-template-columns:1fr}}

/* ═══════════════════════════════════════
   HOMEPAGE SECTIONS (Popular + Menu)
═══════════════════════════════════════ */
.hp-section{padding:24px 0 32px;background:#fff}
.hp-section-header{padding:0 16px 14px;display:flex;align-items:center;gap:12px}
.hp-section-title{font-size:1.15rem;font-weight:700;color:var(--clr-text)}
.hp-section-header::after{content:'';flex:1;height:1px;background:#eee}
/* In LTR the natural flex order already puts title left → line right; no override needed */

/* ── POPULAR SCROLL (no arrows, touch drag) ── */
.popular-section{border-bottom:1px solid #f0f0f0}
.popular-scroll{
  display:flex;gap:12px;
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;scrollbar-width:none;
  padding:4px 16px 18px;
}
.popular-scroll::-webkit-scrollbar{display:none}

/* Card — matches decembercake 160×210 */
.popular-card{
  flex-shrink:0;width:160px;
  border:1px solid #e8e8e8;border-radius:12px;
  overflow:hidden;background:#fff;cursor:pointer;
  transition:box-shadow .2s,transform .2s;
}
.popular-card:hover{box-shadow:0 6px 18px rgba(0,0,0,.1);transform:translateY(-2px)}
.popular-card-img{width:100%;height:145px;overflow:hidden;background:#fff}
.popular-card-img img{width:100%;height:100%;object-fit:contain;transition:transform .3s;display:block;background:#fff}
.popular-card:hover .popular-card-img img{transform:scale(1.05)}
.popular-card-body{padding:10px 10px 12px}
.popular-card-name{font-size:.76rem;font-weight:600;color:#333;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ── CATEGORIES / MENU GRID ── */
.menu-section{background:#fafafa;padding-bottom:48px}
.menu-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;padding:0 16px;
  max-width:1200px;margin:0 auto;
}
@media(min-width:640px){.menu-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:960px){.menu-grid{grid-template-columns:repeat(4,1fr)}}

.menu-cat-card{
  position:relative;border-radius:14px;overflow:hidden;
  cursor:pointer;aspect-ratio:3/4;background:#eee;
  transition:transform .2s,box-shadow .2s;
}
.menu-cat-card:hover{transform:scale(1.03);box-shadow:0 8px 24px rgba(0,0,0,.15)}
.menu-cat-img{width:100%;height:100%;background:#fff;display:flex;align-items:center;justify-content:center;}
.menu-cat-img img{width:100%;height:100%;object-fit:contain;display:block;background:#fff}
.menu-cat-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:3rem;background:#f5f0f0}
.menu-cat-overlay{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.65) 0%,rgba(0,0,0,.05) 55%,transparent 100%);
  display:flex;align-items:flex-end;padding:14px 12px;
}
.menu-cat-name{color:#fff;font-size:.95rem;font-weight:700;text-shadow:0 1px 4px rgba(0,0,0,.4);line-height:1.2}

/* ══ SUB-CAT FILTER NAV ══ */
.subnav-bar{background:var(--clr-bg);border-bottom:1px solid #e8e8e8;padding:10px 16px}
.subnav-scroll{
  display:flex;gap:8px;
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  scrollbar-width:none;padding-bottom:2px;
}
.subnav-scroll::-webkit-scrollbar{display:none}
.subnav-btn{
  flex-shrink:0;padding:7px 20px;border-radius:20px;
  border:1.5px solid #ddd;background:#fff;
  color:#555;font-size:.85rem;cursor:pointer;
  white-space:nowrap;font-family:inherit;transition:all .15s;
}
.subnav-btn:hover{border-color:var(--clr-accent);color:var(--clr-accent)}
.subnav-btn.active{background:var(--clr-accent);color:#fff;border-color:var(--clr-accent)}
