:root {
  color-scheme: light;
  --cream: #fbf8ef;
  --paper: #fffcf5;
  --ink: #172d20;
  --green: #173b27;
  --green-deep: #102e20;
  --muted: #4f6052;
  --line: #dbdfcc;
  --gold: #ffd05b;
  --accent: #9a4b28;
  --body: "DM Sans", Arial, sans-serif;
  --display: "Fraunces", Georgia, serif;
}
html[lang="ar"] {
  --body: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  --display: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.6 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #ad6412; outline-offset: 4px; }
.wrap { width: min(1280px, calc(100% - 100px)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: fixed; inset-inline-start: 16px; top: -5rem; z-index: 30; padding: 10px 16px; background: white; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--cream); border-bottom: 1px solid var(--line); }
.navigation { height: 83px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; }
.brand { display: inline-flex; align-items: center; justify-self: start; width: 76px; }
.brand img { width: 76px; height: auto; mix-blend-mode: multiply; }
.nav-links, .header-actions { display: flex; align-items: center; gap: clamp(22px, 3vw, 50px); }
.nav-links a { font-size: .95rem; font-weight: 700; }
.nav-links a:hover, .inline-link:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-actions { justify-self: end; gap: 12px; }
.language {
  display: grid; place-items: center; min-width: 79px; min-height: 43px; padding: 6px 15px;
  border: 1px solid #bbc7af; border-radius: 50px; font-size: .95rem; font-weight: 700;
  font-family: "IBM Plex Sans Arabic", var(--body);
}
.language:hover { background: #edf0e2; }
.menu-button { display: none; min-width: 43px; min-height: 43px; place-items: center; border: 1px solid #bbc7af; border-radius: 50%; background: transparent; color: var(--green); }
.menu-icon { display: block; width: 17px; height: 12px; border-block: 2px solid currentColor; position: relative; }
.menu-icon::after { content: ""; position: absolute; top: 3px; inset-inline: 0; border-block-start: 2px solid currentColor; }
.hero { background: var(--green); color: var(--paper); overflow: hidden; }
.hero-inner { width: min(1600px, 100%); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; min-height: 585px; }
.hero-copy { position: relative; align-self: center; padding: 66px clamp(30px, 5vw, 83px); padding-inline-start: clamp(50px, calc((100vw - 1280px) / 2), 160px); }
.hero .eyebrow { color: var(--gold); margin-block-end: 20px; }
.eyebrow { margin: 0 0 12px; font-size: .875rem; color: var(--accent); font-weight: 700; letter-spacing: .14em; }
h1, h2, p { margin-block-start: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
h1 { margin-block-end: 24px; font-size: clamp(3.85rem, 6.7vw, 7.75rem); line-height: .96; letter-spacing: -.076em; }
h1 em { color: var(--gold); font-weight: 500; }
.hero-intro { max-width: 440px; font-size: 1.13rem; line-height: 1.55; color: #e3eadc; margin-block-end: 32px; }
.hero-photo { position: relative; min-height: 100%; overflow: hidden; border-start-start-radius: clamp(70px, 12vw, 185px); }
.hero-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 49%; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 11px 23px;
  border: 1px solid transparent; border-radius: 50px; font-weight: 700; text-align: center;
}
.button-gold { background: var(--gold); color: #23301c; }
.button-gold:hover { background: #ffe087; }
.button-green { background: var(--green); color: white; }
.button-green:hover { background: var(--green-deep); }
.section { padding-block: 76px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 28px; }
h2 { font-size: clamp(2.5rem, 4.8vw, 4.65rem); letter-spacing: -.06em; line-height: 1; margin: 0; }
.section-head > p { color: var(--muted); max-width: 300px; margin-bottom: 1px; }
.catalogue-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 17px; border-block: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter {
  background: transparent; border: 1px solid #bbc7af; color: var(--green);
  padding: 7px 14px; min-height: 42px; border-radius: 50px; white-space: nowrap; font-size: .9rem; font-weight: 700;
}
.filter:hover { background: #e8eddf; }
.filter[aria-pressed="true"] { color: white; background: var(--green); border-color: var(--green); }
.search { position: relative; flex: 0 1 235px; min-width: 190px; }
.search input { display: block; width: 100%; min-height: 44px; padding: 7px 12px; padding-inline-start: 38px; border: 1px solid #bbc7af; border-radius: 8px; background: var(--paper); color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.search-icon { width: 14px; height: 14px; border: 2px solid var(--muted); border-radius: 50%; position: absolute; top: 13px; inset-inline-start: 13px; pointer-events: none; }
.search-icon::after { content: ""; position: absolute; right: -5px; bottom: -3px; width: 6px; height: 2px; background: var(--muted); transform: rotate(45deg); }
.result-count { color: var(--muted); font-size: .94rem; margin: 14px 0 13px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card {
  display: flex; flex-direction: column; width: 100%; min-width: 0; padding: 0; overflow: hidden;
  color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  text-align: start; transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: 0 8px 23px #172d2017; transform: translateY(-3px); }
.product-image { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; width: 100%; aspect-ratio: 1.12; padding: 12px; background: #f0eddf; }
.product-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 6px; }
.product-copy { position: relative; display: flex; flex-direction: column; width: 100%; flex: 1; padding: 14px 16px 18px; padding-inline-end: 51px; }
.product-category { color: var(--accent); font-size: .82rem; font-weight: 700; }
.product-title { font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin-top: 4px; }
.product-open {
  position: absolute; inset-inline-end: 13px; top: 50%; translate: 0 -50%; width: 33px; height: 33px;
  display: grid; place-items: center; border: 1px solid #bdc9b1; border-radius: 50%; font-size: 1.22rem;
}
.product-card:hover .product-open { background: var(--green); border-color: var(--green); color: white; }
.empty { text-align: center; padding: 35px 16px; background: var(--paper); border: 1px dashed var(--line); border-radius: 10px; }
.kitchen { padding-block-start: 6px; }
.recipe { display: grid; grid-template-columns: 1fr 1fr; background: #f1e7d3; border-radius: 18px; overflow: hidden; }
.recipe-photo { position: relative; min-height: 378px; }
.recipe-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.recipe-copy { align-self: center; padding: clamp(26px, 4.2vw, 63px); }
.recipe-copy h2 { font-size: clamp(2.3rem, 4vw, 4.3rem); }
.recipe-copy > p:not(.eyebrow) { color: var(--muted); margin-block: 16px 15px; }
.recipe-steps { border-block: 1px solid #d0c5ab; margin-block-end: 16px; }
.recipe-steps summary { padding: 10px 0; font-weight: 700; cursor: pointer; }
.recipe-steps ol { padding-inline-start: 22px; margin-top: 0; }
.recipe-steps li { margin-block-end: 5px; }
.text-button, .inline-link { color: var(--green); font-weight: 700; border: 0; background: none; padding: 2px 0; text-decoration: underline; text-underline-offset: 4px; }
.company { background: #edf0e1; border-block: 1px solid var(--line); }
.company-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; }
.company-copy p { color: #35493a; font-size: 1.085rem; margin-block-end: 16px; }
footer { background: var(--green-deep); color: var(--paper); padding-block: 65px 24px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-main .eyebrow { color: var(--gold); }
.footer-main h2 { font-size: clamp(2.25rem, 3.8vw, 4rem); }
.footer-main p:not(.eyebrow) { color: #dce5d6; margin: 12px 0 0; }
.footer-main .button { flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block-start: 21px; margin-block-start: 38px; border-block-start: 1px solid #e5ebda4b; font-size: .9rem; color: #dce5d6; }
.footer-bottom p { margin: 0; }
.product-dialog { border: none; border-radius: 18px; overflow: auto; padding: 0; color: var(--ink); background: var(--paper); width: min(840px, calc(100% - 32px)); max-height: calc(100% - 32px); }
.product-dialog::backdrop { background: #10281fba; }
.dialog-close {
  position: absolute; z-index: 1; inset-inline-end: 12px; top: 12px; border: 1px solid #bbc7af;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  color: var(--ink); background: var(--paper); font-size: 1.65rem; line-height: 1;
}
.dialog-layout { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; }
.dialog-layout > img { width: 100%; height: 100%; max-height: 540px; min-height: 300px; padding: 20px; object-fit: contain; background: #f0eddf; }
.dialog-copy { align-self: center; padding: 56px 31px 35px; }
.dialog-copy h2 { font-size: clamp(2.05rem, 4.5vw, 3.65rem); }
.dialog-copy p:last-child { color: var(--muted); margin-block-start: 16px; margin-block-end: 0; }
[dir="rtl"] :is(h1, h2, .eyebrow) { letter-spacing: 0; }
[dir="rtl"] h1 { font-size: clamp(3.55rem, 6.6vw, 6.65rem); line-height: 1.09; font-weight: 700; }
[dir="rtl"] h1 em { font-style: normal; font-weight: 700; }
[dir="rtl"] h2 { line-height: 1.2; font-weight: 700; }
@media (max-width: 1080px) {
  .wrap { width: calc(100% - 64px); }
  .hero-copy { padding-inline-start: 32px; }
  .hero-inner { min-height: 530px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  html { scroll-padding-top: 78px; }
  .navigation { height: 69px; display: flex; justify-content: space-between; }
  .brand, .brand img { width: 61px; }
  .menu-button { display: grid; }
  .nav-links { display: none; position: absolute; inset-inline: 0; top: 69px; background: var(--cream); padding: 9px 18px 13px; border-bottom: 1px solid var(--line); gap: 0; box-shadow: 0 6px 13px #173b2710; }
  .nav-links.open { display: grid; }
  .nav-links a { padding: 10px 5px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding: 45px 18px 38px; }
  .hero-photo { min-height: 360px; border-start-start-radius: 80px; }
  .hero-photo img { object-position: center 48%; }
  .section { padding-block: 51px; }
  .section-head { display: block; margin-bottom: 20px; }
  .section-head > p { max-width: 440px; margin-top: 12px; }
  .catalogue-tools { flex-direction: column; align-items: stretch; }
  .search { flex-basis: auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-image { padding: 8px; }
  .product-copy { padding: 11px 11px 13px; padding-inline-end: 39px; }
  .product-open { inset-inline-end: 8px; width: 26px; height: 26px; }
  .product-title { font-size: .96rem; }
  .kitchen { padding-block-start: 0; }
  .recipe, .company-inner { grid-template-columns: 1fr; }
  .company-inner { gap: 22px; }
  .recipe-photo { min-height: 260px; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 21px; }
}
@media (max-width: 480px) {
  .hero-photo { min-height: 318px; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-layout > img { min-height: 0; height: 240px; }
  .dialog-copy { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-card { transition: none; }
}
