:root {
  --ink: #241810;
  --coffee: #6b3e20;
  --coffee-deep: #3b2113;
  --gold: #c47a28;
  --gold-soft: #e2ad5c;
  --cream: #f6ead8;
  --paper: #fffaf1;
  --line: rgba(107, 62, 32, 0.2);
  --muted: #7b6757;
  --shadow: 0 18px 55px rgba(59, 33, 19, 0.15);
  --radius: 18px;
  font-family: Inter, "Noto Sans Arabic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
}
body.no-scroll { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.skip-link {
  position: fixed;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: .7rem 1rem;
  background: var(--ink);
  color: white;
  border-radius: 0 0 10px 10px;
}
.skip-link:focus { top: 0; }

.reopening-strip {
  background: var(--gold);
  color: #17120b;
  text-align: center;
  font-weight: 800;
  letter-spacing: .02em;
  padding: .55rem 1rem;
  font-size: .9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, .95);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(1180px, calc(100% - 2rem));
  min-height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; gap: .9rem; flex: 0 0 auto; }
.brand img { width: 82px; height: 68px; object-fit: contain; border-radius: 8px; }
.brand-copy { line-height: 1.15; }
.brand-copy strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.18rem, 1.7vw, 1.5rem); letter-spacing: .055em; }
.brand-copy small { display: block; margin-top: .28rem; color: var(--gold); font-size: .78rem; font-weight: 900; letter-spacing: .18em; }
.main-nav { display: flex; align-items: center; gap: .25rem; margin-inline-start: auto; }
.main-nav a {
  text-decoration: none;
  padding: .65rem .8rem;
  border-radius: 999px;
  font-weight: 700;
  color: #4e443a;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: #f1ddc2; color: var(--coffee-deep); }
.header-actions { display: flex; align-items: center; gap: .55rem; }
.icon-button, .lang-button, .cart-button, .menu-button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  min-height: 44px;
  cursor: pointer;
  font-weight: 800;
}
.lang-button { padding: .55rem .8rem; }
.cart-button { padding: .55rem 1rem; display: inline-flex; align-items: center; gap: .55rem; background: var(--ink); color: white; }
.cart-count { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 .35rem; border-radius: 50px; background: var(--gold); color: #17120b; font-size: .8rem; }
.menu-button { display: none; width: 44px; padding: 0; }

.page-shell { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.hero {
  min-height: 485px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(3rem, 7vw, 6.5rem) 0 3.5rem;
}
.eyebrow { color: var(--gold); font-weight: 900; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", "Noto Naskh Arabic", serif; line-height: 1.08; margin-top: 0; }
h1 { font-size: clamp(2.65rem, 6vw, 5.5rem); margin-bottom: 1.25rem; letter-spacing: -.035em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: "Noto Naskh Arabic", Georgia, serif; letter-spacing: 0; }
.hero-copy p { color: #5e554d; max-width: 610px; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.65rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: .82rem 1.25rem;
  min-height: 48px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: var(--coffee); }
.button-secondary { background: transparent; }
.button-secondary:hover { background: var(--paper); }
.button-gold { background: var(--gold); color: #17120b; border-color: var(--gold); }
.hero-note { margin-top: 1.5rem; display: flex; align-items: center; gap: .75rem; color: var(--coffee); font-weight: 800; }
.hero-note::before { content: "1956"; border: 1px solid var(--gold); color: var(--gold); padding: .25rem .5rem; border-radius: 5px; font-size: .75rem; letter-spacing: .08em; }
.hero-collage { position: relative; min-height: 420px; }
.hero-collage::before {
  content: "";
  position: absolute;
  inset: 2rem 1rem 1rem 3rem;
  border: 1px solid var(--gold);
  border-radius: 50% 50% 42% 58% / 42% 42% 58% 58%;
  transform: rotate(-6deg);
}
.hero-photo { position: absolute; overflow: hidden; border: 7px solid var(--paper); box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-main { width: 68%; height: 78%; inset: 0 0 auto auto; border-radius: 48% 48% 24px 24px; }
.hero-photo-small { width: 47%; height: 47%; inset: auto auto 0 0; border-radius: 24px 24px 48% 48%; }
.hero-seal {
  position: absolute;
  inset: auto 4% 3% auto;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--coffee-deep);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: Georgia, serif;
  font-weight: 800;
  line-height: 1.15;
  transform: rotate(7deg);
  border: 4px double var(--gold-soft);
}

.catalog-section { scroll-margin-top: 110px; padding: 4rem 0 5rem; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.section-heading h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); margin-bottom: .5rem; }
.section-heading p { color: var(--muted); margin: 0; max-width: 620px; }
.product-count { white-space: nowrap; color: var(--muted); font-weight: 700; }
.catalog-tools { display: grid; gap: 1rem; margin-bottom: 1.75rem; }
.search-wrap { position: relative; }
.search-wrap::before { content: "⌕"; position: absolute; inset-inline-start: 1rem; top: 50%; transform: translateY(-55%); font-size: 1.4rem; color: var(--gold); }
.search-input {
  width: 100%;
  min-height: 54px;
  padding: .8rem 1rem .8rem 3rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
}
[dir="rtl"] .search-input { padding: .8rem 3rem .8rem 1rem; }
.search-input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(183, 122, 22, .13); }
.category-pills { display: flex; gap: .55rem; overflow-x: auto; padding-bottom: .35rem; scrollbar-width: thin; }
.category-pill {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--coffee-deep);
  border-radius: 999px;
  padding: .6rem .95rem;
  cursor: pointer;
  font-weight: 800;
}
.category-pill[aria-pressed="true"] { background: var(--coffee-deep); color: white; border-color: var(--coffee-deep); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-image { aspect-ratio: 1 / .92; overflow: hidden; background: #ecd7bc; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-body { padding: 1rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.product-category { color: var(--gold); text-transform: uppercase; letter-spacing: .11em; font-size: .73rem; font-weight: 900; }
.product-name { margin: 0; font-family: inherit; font-size: 1.02rem; line-height: 1.35; }
.product-meta { color: var(--muted); font-size: .88rem; margin-top: auto; }
.product-options { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(70px, .65fr); gap: .55rem; padding-top: .15rem; }
.product-option { display: grid; gap: .3rem; color: var(--coffee-deep); font-size: .76rem; font-weight: 900; }
.product-option select, .product-option input { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 9px; background: #fffdf9; color: var(--ink); padding: .55rem .65rem; font: inherit; font-size: .9rem; }
.product-option select:focus, .product-option input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(183, 122, 22, .12); }
.add-button { width: 100%; border: 0; background: var(--ink); color: white; border-radius: 10px; min-height: 43px; cursor: pointer; font-weight: 900; }
.add-button:hover { background: var(--coffee); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 4rem 1rem; background: var(--paper); border-radius: var(--radius); border: 1px dashed var(--line); }

.inner-hero { padding: clamp(3rem, 7vw, 6rem) 0 2.5rem; max-width: 850px; }
.inner-hero h1 { font-size: clamp(2.7rem, 7vw, 5.6rem); }
.inner-hero p { color: var(--muted); max-width: 720px; font-size: 1.08rem; }
.menu-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; align-items: start; padding-bottom: 6rem; }
.menu-card { background: var(--paper); border: 1px solid var(--line); padding: .65rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.menu-card img { width: 100%; border-radius: 12px; }
.menu-aside { position: sticky; top: 115px; background: var(--coffee-deep); color: white; padding: 1.5rem; border-radius: var(--radius); }
.menu-aside h2 { font-size: 1.7rem; margin-bottom: .7rem; }
.menu-aside p { color: #eadcc8; }
.menu-aside .button { width: 100%; margin-top: .6rem; }

.story-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: end; }
.story-intro .inner-hero { padding-bottom: 3rem; }
.story-quote { border-inline-start: 3px solid var(--gold); padding-inline-start: 1.25rem; margin-bottom: 3rem; color: var(--coffee); font-family: Georgia, serif; font-size: 1.35rem; }
.story-timeline { position: relative; padding: 1rem 0 6rem; }
.story-timeline::before { content: ""; position: absolute; top: 1rem; bottom: 6rem; left: 50%; width: 1px; background: var(--gold); }
[dir="rtl"] .story-timeline::before { left: auto; right: 50%; }
.story-chapter { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 5rem; position: relative; }
.story-chapter:nth-child(even) .story-image { order: 2; }
.story-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #d9c7aa; }
.story-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-portrait img { aspect-ratio: 4 / 5; object-fit: contain; object-position: center; }
.story-image figcaption { padding: .8rem 1rem; background: var(--paper); color: var(--muted); font-size: .9rem; }
.story-copy { padding: 1rem 0; }
.story-year { display: inline-block; background: var(--gold); color: #17120b; padding: .3rem .65rem; border-radius: 5px; font-weight: 900; margin-bottom: 1rem; }
.story-copy h2 { font-size: clamp(1.9rem, 3vw, 3rem); margin-bottom: .8rem; }
.story-copy p { color: #5e554d; }
.coming-card { background: var(--coffee-deep); color: white; border-radius: 28px; padding: clamp(2rem, 6vw, 5rem); text-align: center; margin-bottom: 6rem; position: relative; overflow: hidden; }
.coming-card::before, .coming-card::after { content: ""; position: absolute; width: 240px; height: 240px; border: 1px solid rgba(223,181,94,.35); border-radius: 50%; }
.coming-card::before { top: -140px; left: -60px; }
.coming-card::after { right: -80px; bottom: -150px; }
.coming-card .eyebrow { color: var(--gold-soft); }
.coming-card h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); margin: .6rem auto 1rem; max-width: 800px; }
.coming-card p { color: #eadcc8; max-width: 680px; margin: 0 auto 1.5rem; }
.coming-actions { display: flex; flex-direction: column; align-items: center; gap: .7rem; position: relative; z-index: 1; }
.coming-actions .story-location-button { margin-top: 0; border-color: rgba(255, 255, 255, .55); color: white; background: rgba(255, 255, 255, .06); }
.coming-actions .story-location-button:hover { background: white; color: var(--ink); border-color: white; }

.info-page { padding-bottom: 6rem; }
.info-intro { max-width: 900px; }
.info-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.5rem; align-items: stretch; }
.location-card, .message-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}
.location-card { position: relative; overflow: hidden; }
.location-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(183, 122, 22, .2);
  border-radius: 50%;
  inset: auto -105px -110px auto;
}
.location-card h2, .message-card h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: .7rem 0 1rem; }
.location-card p, .message-card p { color: var(--muted); }
.map-mark {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: #f5ead5;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.map-mark svg { width: 38px; height: 38px; }
.map-button { margin-top: 1rem; position: relative; z-index: 1; }
.map-button svg { width: 21px; height: 21px; flex: 0 0 auto; }
.whatsapp-form { display: grid; gap: .8rem; margin-top: 1.4rem; }
.whatsapp-form label { font-weight: 900; color: var(--coffee-deep); }
.whatsapp-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  color: var(--ink);
  background: #fff;
  outline: none;
}
.whatsapp-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(183, 122, 22, .13); }
.whatsapp-form .button { justify-self: start; border: 0; }
.contact-number { display: inline-block; margin-top: 1.1rem; color: var(--coffee); font-weight: 800; }
.contact-numbers { display: grid; gap: .35rem; margin-top: 1.1rem; }
.contact-numbers .contact-number { margin-top: 0; }

.site-footer { background: #21140e; color: #f8eee1; padding: 3.5rem 0 2rem; }
.footer-grid { width: min(1180px, calc(100% - 2rem)); margin: auto; display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 2rem; }
.footer-brand img { width: 128px; height: auto; object-fit: contain; border-radius: 8px; margin-bottom: 1rem; }
.footer-brand p, .footer-column p { color: #cfc2b4; }
.footer-column h3 { font-family: inherit; font-size: 1rem; color: var(--gold-soft); margin-bottom: .8rem; }
.footer-column a { display: block; text-decoration: none; color: #f6efe4; padding: .22rem 0; }
.social-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.social-link { display: inline-flex !important; align-items: center; gap: .45rem; padding: .48rem .7rem !important; border: 1px solid rgba(226, 173, 92, .35); border-radius: 999px; color: #f8eee1 !important; font-size: .9rem; font-weight: 800; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.social-link:hover { background: rgba(196, 122, 40, .2); border-color: var(--gold-soft); transform: translateY(-2px); }
.social-link svg { width: 18px; height: 18px; flex: 0 0 auto; }
.message-card .social-links { margin-top: 1.6rem; }
.message-card .social-link { color: var(--coffee) !important; border-color: var(--line); background: #fff4e5; }
.message-card .social-link:hover { background: #f5dfc4; border-color: var(--gold); }
.footer-bottom { width: min(1180px, calc(100% - 2rem)); margin: 2rem auto 0; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.25rem; color: #a99d91; font-size: .88rem; }

.cart-overlay { position: fixed; inset: 0; background: rgba(16, 12, 8, .55); z-index: 100; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; z-index: 101; top: 0; bottom: 0; right: 0; width: min(470px, 100%); background: var(--paper); transform: translateX(102%); transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,.2); }
[dir="rtl"] .cart-drawer { right: auto; left: 0; transform: translateX(-102%); }
.cart-drawer.is-open { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem; border-bottom: 1px solid var(--line); }
.cart-header h2 { margin: 0; font-family: inherit; font-size: 1.25rem; }
.cart-close { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; font-size: 1.4rem; }
.cart-items { padding: 1rem 1.25rem; overflow-y: auto; flex: 1; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: .85rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.cart-item h3 { font-family: inherit; font-size: .98rem; margin: 0 0 .35rem; }
.cart-weight { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .55rem; padding: .28rem .5rem; border-radius: 999px; background: rgba(183, 122, 22, .12); color: var(--coffee-deep); font-size: .77rem; }
.cart-weight span { color: var(--muted); }
.quantity-row { display: flex; align-items: center; gap: .5rem; }
.qty-button { width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 8px; background: white; cursor: pointer; }
.detail-input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: .55rem .65rem; margin-top: .55rem; font-size: .9rem; }
.remove-button { border: 0; background: transparent; color: #9d3e2c; cursor: pointer; align-self: start; }
.cart-empty { text-align: center; color: var(--muted); padding: 4rem 1rem; }
.cart-footer { border-top: 1px solid var(--line); padding: 1.25rem; background: var(--cream); }
.cart-footer p { margin: 0 0 .9rem; color: var(--muted); font-size: .9rem; }
.cart-footer .button { width: 100%; }
.floating-cart { display: none; position: fixed; right: 1rem; bottom: 1rem; z-index: 45; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
[dir="rtl"] .floating-cart { right: auto; left: 1rem; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 1.25rem; transform: translate(-50%, 140%); background: var(--ink); color: white; padding: .8rem 1.1rem; border-radius: 999px; transition: transform .25s ease; box-shadow: var(--shadow); font-weight: 800; }
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .main-nav { position: fixed; top: 128px; left: 1rem; right: 1rem; display: none; flex-direction: column; align-items: stretch; padding: .75rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .menu-button { display: inline-grid; place-items: center; }
  .cart-button .cart-label { display: none; }
  .menu-layout { grid-template-columns: 1fr; }
  .menu-aside { position: static; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 740px) {
  .reopening-strip { font-size: .8rem; }
  .header-inner { min-height: 68px; width: min(100% - 1rem, 1180px); }
  .main-nav { top: 108px; }
  .brand { gap: .55rem; }
  .brand img { width: 58px; height: 50px; }
  .brand-copy { display: block; }
  .brand-copy strong { font-size: .92rem; letter-spacing: .035em; }
  .brand-copy small { margin-top: .16rem; font-size: .58rem; letter-spacing: .12em; }
  .hero { grid-template-columns: 1fr; padding-top: 2.8rem; min-height: 0; }
  .hero-collage { min-height: 310px; }
  .hero-photo-main { width: 70%; height: 78%; }
  .hero-photo-small { width: 48%; height: 46%; }
  .hero-seal { width: 90px; height: 90px; font-size: .82rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .product-body { padding: .8rem; }
  .section-heading { align-items: start; flex-direction: column; gap: .5rem; }
  .story-intro { grid-template-columns: 1fr; }
  .story-quote { margin-bottom: 2rem; }
  .story-timeline::before { left: 12px; }
  [dir="rtl"] .story-timeline::before { right: 12px; }
  .story-chapter { grid-template-columns: 1fr; gap: 1.2rem; padding-inline-start: 2rem; margin-bottom: 3.5rem; }
  .story-chapter:nth-child(even) .story-image { order: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-cart { display: inline-flex; }
  .header-actions .cart-button { display: none; }
}

@media (max-width: 420px) {
  h1 { font-size: 2.45rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { aspect-ratio: 1.25 / 1; }
  .brand img { width: 48px; height: 42px; }
  .brand-copy strong { font-size: .82rem; }
  .brand-copy small { font-size: .52rem; }
  .lang-button { padding-inline: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
