@font-face{font-family:Tajawal;src:url('./assets/Tajawal-Bold.ttf') format('truetype');font-display:swap;font-weight:700}
@font-face{font-family:Tajawal;src:url('./assets/Tajawal-ExtraBold.ttf') format('truetype');font-display:swap;font-weight:800}
@font-face{font-family:'IBM Plex Sans Arabic';src:url('./assets/IBMPlexSansArabic-Regular.ttf') format('truetype');font-display:swap;font-weight:400}
@font-face{font-family:'IBM Plex Sans Arabic';src:url('./assets/IBMPlexSansArabic-Medium.ttf') format('truetype');font-display:swap;font-weight:500}
:root{
  color-scheme: light dark;
  --ink:#121413; --green:#1d3b2f; --action:#1d3b2f; --on-action:#f4f2ec;
  --ground:#f4f2ec; --sand:#e7e4da; --sage:#b9c4b1; --surface:#fff;
  --status-ground:#e1e7dd; --muted:#5c6059; --line:#d6d4c9; --focus:#596c50;
  --overlay:#15291fe8; --dock:#f4f2ecf5; --shadow:0 5px 22px #12141309;
  font:400 16px/1.65 'IBM Plex Sans Arabic',system-ui,sans-serif;
  color:var(--ink); background:var(--ground); font-synthesis:none;
}
@media(prefers-color-scheme:dark){
  :root{
    --ground:#171c18; --surface:#272e28; --sand:#30372e; --ink:#f4f2ec; --green:#b9c4b1;
    --action:#b9c4b1; --on-action:#15291f; --status-ground:#324b3a; --muted:#c0c4ba;
    --line:#464d42; --focus:#d7e5cb; --dock:#1d261ff5; --shadow:0 5px 22px #0002;
  }
}
*{box-sizing:border-box}body{margin:0;padding-bottom:calc(108px + env(safe-area-inset-bottom,0px))}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}a{color:inherit}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid var(--focus);outline-offset:4px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.4}h1{font-size:30px;letter-spacing:-.7px}h2{font-size:24px;letter-spacing:-.4px}h3{font-size:19px}small{font-size:13px}.site-header{max-width:1140px;min-height:82px;margin:auto;padding:18px 26px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;font-size:24px;font-weight:700;line-height:1}.header-caption{font-size:14px;color:var(--muted)}.demo-banner{max-width:1088px;margin:0 auto 18px;background:var(--sand);border:1px solid var(--line);border-radius:12px;padding:12px 18px;display:flex;gap:12px;font-size:14px;color:var(--muted)}.demo-banner strong{white-space:nowrap}main{max-width:1088px;margin:auto;outline:none}.farm-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:28px;align-items:start}.farm-overview{overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.cover{position:relative;background:var(--sage);aspect-ratio:1.82;overflow:hidden}.cover img{width:100%;height:100%;display:block;object-fit:cover}.cover .no-photo{height:100%;display:flex;justify-content:center;align-items:center;background:var(--sand)}.cover .no-photo svg{width:84px;height:84px;color:var(--muted)}.cover-caption{position:absolute;bottom:15px;right:18px;color:white;background:var(--overlay);padding:5px 12px;border-radius:30px;font-size:13px;backdrop-filter:blur(8px)}.farm-identity{padding:25px 26px 22px}.identity-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.region{display:inline-flex;gap:5px;align-items:center;color:var(--muted);font-size:14px}.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.status{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:13px;padding:5px 10px;border-radius:30px;background:var(--status-ground);color:var(--green)}.status:before{content:'';width:6px;height:6px;background:currentColor;border-radius:50%}.status.closed{background:var(--sand);color:var(--muted)}.intro{font-size:18px;margin-top:12px;color:var(--ink);line-height:1.85;white-space:pre-line;overflow-wrap:anywhere}.description{font-size:15px;color:var(--muted);margin-top:10px;white-space:pre-line;overflow-wrap:anywhere}.details{border-top:1px solid var(--line);padding:20px 26px;display:flex;gap:12px;align-items:flex-start}.details>.icon{color:var(--green);margin-top:4px}.details-title{font-size:14px;font-weight:700;margin-bottom:4px}.hours{font-size:16px;line-height:1.8}.time-zone{display:block;color:var(--muted);font-size:13px;margin-top:3px}.visit-note{margin:18px 0 0;padding:0 6px;color:var(--muted);font-size:14px;display:flex;gap:8px;align-items:flex-start}.visit-note .icon{width:17px;height:17px;margin-top:3px}.catalog{padding:6px 0}.catalog-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 5px}.count{color:var(--muted);font-size:14px}.updated{font-size:13px;color:var(--muted);margin-bottom:19px;min-height:21px}.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.product{border-radius:18px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow);border:1px solid var(--line);min-width:0}.product-media{aspect-ratio:1.14;background:var(--sand);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.product-media img{width:100%;height:100%;object-fit:cover;display:block}.product-media>.icon{width:42px;height:42px;color:var(--muted)}.sold-out .product-media img{opacity:.72}.sold-out-label{position:absolute;bottom:9px;right:9px;border-radius:20px;padding:3px 10px;background:var(--surface);font-size:12px;color:var(--muted);font-weight:700}.product-info{padding:13px 15px 16px}.product h3{overflow-wrap:anywhere}.unit{color:var(--muted);font-size:13px;margin-top:3px;min-height:22px}.price{margin-top:12px;font-size:18px;font-weight:700;color:var(--green);white-space:nowrap;direction:rtl}.sold-out .price{color:var(--muted)}.catalog-empty{padding:32px 22px;border-radius:18px;background:var(--surface);color:var(--muted)}.catalog-empty h3{color:var(--ink);margin-bottom:8px}.action-dock{position:fixed;bottom:0;left:0;right:0;z-index:10;background:var(--dock);border-top:1px solid var(--line);padding:12px max(20px,calc((100vw - 1088px)/2)) calc(12px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;justify-content:space-between;gap:20px;backdrop-filter:blur(16px)}.action-context{font-size:15px;line-height:1.7}.action-context small{display:block;color:var(--muted)}.action-buttons{display:flex;gap:10px;min-width:360px}.action{min-height:52px;padding:12px 20px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;border:1px solid transparent;font-size:16px;font-weight:700;cursor:pointer;background:var(--action);color:var(--on-action);flex:1;white-space:nowrap}.action.secondary{flex:0;background:var(--sand);color:var(--green);border-color:var(--line)}.action:active{transform:translateY(1px)}.action:disabled{opacity:.65;cursor:default}.action-disabled-note{font-size:13px;color:var(--muted)}.site-footer{max-width:1088px;margin:36px auto 8px;display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px}.site-footer img{opacity:.8}.site-footer small{margin-inline-start:auto}.connection{max-width:1088px;margin:18px auto 0;padding:12px 16px;background:var(--sand);border:1px solid var(--line);border-radius:12px;font-size:14px;color:var(--ink)}.state-card{max-width:640px;margin:6vh auto 12vh;padding:48px 32px;background:var(--surface);border-radius:24px;text-align:center;box-shadow:var(--shadow)}.state-card>img{margin-bottom:24px}.state-card h1{font-size:28px;margin-bottom:12px}.state-card p{color:var(--muted);line-height:1.9}.state-card .action{margin:26px auto 0;max-width:280px}.state-card .eyebrow{font-size:14px;color:var(--green);margin-bottom:8px}.loading-dot{display:inline-block;width:28px;height:28px;border:3px solid var(--line);border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:24px}.skip-link{position:absolute;top:-100px;padding:12px;background:var(--action);color:var(--on-action);z-index:30}.skip-link:focus{top:0}.demo-message{margin:16px 0 0;color:var(--muted);font-size:14px}.toast{position:fixed;bottom:calc(110px + env(safe-area-inset-bottom,0px));left:20px;right:20px;max-width:460px;margin:auto;background:var(--overlay);color:white;padding:14px 18px;border-radius:14px;box-shadow:0 8px 28px #12141329;z-index:20;font-size:14px;text-align:center}.toast:empty{display:none}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
@media(max-width:1150px){main,.demo-banner,.connection,.site-footer{margin-inline:26px}.site-header{padding-inline:26px}.farm-layout{gap:22px;grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr)}}
@media(max-width:760px){body{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}.site-header{min-height:76px;padding:17px 20px}.brand{font-size:23px}.brand img{width:35px;height:35px}.header-caption{font-size:13px}main{margin:0 16px}.demo-banner{margin:0 16px 14px;display:block;padding:11px 14px;font-size:13px}.demo-banner strong{display:block;margin-bottom:2px}.farm-layout{display:block}.farm-overview{border-radius:21px}.cover{aspect-ratio:1.8}.farm-identity{padding:19px 20px 20px}.identity-top{margin-bottom:10px}.farm-identity h1{font-size:30px}.intro{font-size:17px;margin-top:11px}.description{font-size:14px;line-height:1.85}.details{padding:16px 20px;gap:10px}.details-title{font-size:14px}.hours{font-size:15px}.visit-note{margin-top:13px;padding:0 6px;font-size:13px}.catalog{padding:27px 0 0}.catalog h2{font-size:23px}.updated{font-size:12px;margin-bottom:15px}.products{gap:12px}.product{border-radius:16px}.product-media{aspect-ratio:1.12}.product-info{padding:12px 13px 14px}.product h3{font-size:18px}.unit{font-size:13px}.price{font-size:18px;margin-top:9px}.action-dock{display:block;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px))}.action-context{display:none}.action-buttons{min-width:0;gap:9px}.action{min-height:51px;font-size:15px;padding:12px 14px}.action.secondary{min-width:98px;padding-inline:12px}.action-disabled-note{text-align:center;display:block;margin-top:6px;font-size:12px}.site-footer{margin:29px 20px 0;flex-wrap:wrap;font-size:13px;gap:8px}.site-footer small{flex-basis:100%;margin-inline-start:34px;font-size:12px}.connection{margin:16px 16px 0;font-size:13px}.state-card{margin:25px 0 80px;padding:36px 24px}.state-card h1{font-size:25px}.state-card p{font-size:15px}}
@media(max-width:350px){.price{font-size:16px}.product-info{padding-inline:10px}.status{font-size:12px}.farm-identity h1{font-size:27px}.action{font-size:14px}.action.secondary{min-width:84px}}

.updated:empty{display:none}.catalog-heading{margin-bottom:17px}@media(max-width:760px){.cover{aspect-ratio:1.95}.farm-identity{padding-block:17px}.details{padding-block:14px}.catalog{padding-top:24px}.catalog-heading{margin-bottom:14px}.demo-banner{padding-block:9px}.site-header{min-height:70px;padding-block:14px}}

/* The farm owns the opening view; platform branding stays in the footer. */
.farm-page>.site-header{display:none}
.farm-page{padding-top:24px}
.demo-banner{padding:7px 14px;font-size:13px;line-height:1.5;white-space:nowrap}
.cover-location{position:absolute;bottom:12px;right:14px;display:flex;align-items:center;gap:5px;padding:4px 10px;border-radius:20px;background:var(--surface);color:var(--green);font-size:13px;line-height:1.5}
.cover-location .icon{width:16px;height:16px}
.identity-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:11px}
.compact-hours{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--muted);line-height:1.5}
.compact-hours .icon{width:16px;height:16px}
.intro-preview{margin-top:10px;color:var(--ink);font-size:17px;line-height:1.7;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}
.farm-about{margin-top:26px;background:var(--surface);border:1px solid var(--line);border-radius:17px;overflow:hidden}
.farm-about summary{cursor:pointer;padding:17px 20px;color:var(--green);font-size:16px;font-weight:700;min-height:54px}
.farm-about summary:focus-visible{outline:3px solid var(--focus);outline-offset:-4px}
.about-body{padding:0 20px 18px}
.about-name{font-size:22px;overflow-wrap:anywhere}
.about-body .details{margin-top:20px;padding:16px 0 0}
@media(max-width:760px){
  .farm-page{padding-top:10px}
  .farm-page .demo-banner{margin-bottom:10px;padding:6px 12px;font-size:12px;line-height:1.5;border-radius:9px}
  .farm-page .cover{aspect-ratio:auto;height:18svh;max-height:150px;min-height:96px}
  .farm-page .farm-overview{border-radius:18px}
  .farm-page .farm-identity{padding:12px 16px 13px}
  .farm-page .farm-identity h1{font-size:26px;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}
  .farm-page .identity-meta{gap:8px;margin-top:7px}
  .farm-page .status{font-size:12px;line-height:1.5;padding:4px 9px}
  .farm-page .compact-hours{font-size:13px;gap:5px}
  .farm-page .intro-preview{font-size:15px;line-height:1.6;margin-top:6px;-webkit-line-clamp:1}
  .farm-page .catalog{padding-top:18px}
  .farm-page .catalog-heading{margin-bottom:11px;gap:8px}
  .farm-page .catalog h2{font-size:22px}
  .farm-page .count{font-size:12px}
  .farm-page .updated{line-height:1.5;margin-top:-4px;margin-bottom:10px;min-height:0}
  .farm-page .product-media{aspect-ratio:1.18}
  .farm-page .farm-about{margin-top:21px}
  .farm-page .farm-about summary{font-size:15px;padding:14px 16px;min-height:50px}
  .farm-page .about-body{padding-inline:16px}
}

/* Local Dakkah home: a clear platform entry, separate from each farm's page. */
.home-page{padding-bottom:22px}
.home-page .site-header{min-height:100px;padding-top:28px;padding-bottom:24px}
.home-page .brand{gap:12px;font-size:29px}
.home-page .brand img{width:44px;height:44px}
.home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:64px;min-height:580px}
.home-copy{padding:28px 0 30px}
.home-eyebrow{color:var(--green);font-size:15px;font-weight:700;margin-bottom:18px}
.home-copy h1{font-size:58px;line-height:1.35;letter-spacing:-1.1px;max-width:500px}
.home-description{font-size:18px;line-height:1.95;color:var(--muted);max-width:440px;margin-top:22px}
.home-entry{display:inline-flex;flex:none;margin-top:30px;min-height:55px;padding-inline:24px;font-size:16px}
.home-photo{position:relative;align-self:stretch;min-height:530px;margin:0;overflow:hidden;border-radius:28px;background:var(--sage)}
.home-photo img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center}
.home-photo figcaption{position:absolute;bottom:16px;right:18px;padding:3px 10px;background:var(--overlay);color:#fff;font-size:12px;border-radius:20px}
.home-page .site-footer{margin-top:34px;border-top:1px solid var(--line);padding-top:20px}
@media(max-width:950px) and (min-width:761px){.home-hero{gap:32px;min-height:500px}.home-copy h1{font-size:46px}.home-photo{min-height:470px}}
@media(max-width:760px){
  .home-page{padding-bottom:18px}
  .home-page .site-header{min-height:82px;padding:20px 20px 18px}
  .home-page .brand{font-size:28px;gap:10px}
  .home-page .brand img{width:39px;height:39px}
  .home-hero{display:flex;flex-direction:column;align-items:stretch;gap:25px;min-height:0}
  .home-copy{padding:13px 4px 0}
  .home-eyebrow{font-size:13px;margin-bottom:12px}
  .home-copy h1{font-size:37px;line-height:1.4;letter-spacing:-.6px;max-width:340px}
  .home-description{font-size:16px;line-height:1.85;margin-top:14px;max-width:390px}
  .home-entry{margin-top:22px;width:100%;min-height:52px;font-size:15px}
  .home-photo{min-height:0;height:28svh;max-height:280px;border-radius:20px}
  .home-photo figcaption{bottom:11px;right:12px;font-size:12px}
  .home-page .site-footer{margin-top:24px;padding-top:16px}
}


h1,h2,h3,.action,.price,.compact-hours,.hours,.count,.details-title,.farm-about summary,.farm-signature{
  font-family:Tajawal,'IBM Plex Sans Arabic',system-ui,sans-serif;
}
h1,h2,h3{font-weight:800;letter-spacing:normal}
.home-copy h1{letter-spacing:normal}
.compact-hours,.hours,.count,.action,.price,.farm-signature{font-weight:700}
.identity-meta .status,.home-eyebrow{font-weight:500}
.site-header .brand .brand-wordmark{display:block;height:52px;width:auto}
.home-page .site-header .brand picture{display:block}
.site-footer{justify-content:center;gap:8px}
.farm-signature{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:var(--muted);text-decoration:none;font-size:15px}
.signature-pin{display:inline-block;width:15px;height:20px;background:currentColor;mask:url('./assets/mark.svg') center/contain no-repeat}
.farm-page .catalog{padding:20px;background:var(--sand);border-radius:22px}
.farm-page .catalog-heading{gap:6px}
.farm-page .catalog-heading h2{color:var(--ink)}
.cover.no-photo{display:grid;place-items:center}
.cover.no-photo>.icon{width:50px;height:50px;color:var(--muted)}
@media(max-width:760px){
  .site-header .brand .brand-wordmark{height:46px}
  .home-page .site-header{padding-block:17px}
  .farm-page .catalog{margin-top:16px;padding:13px 12px 12px;border-radius:20px}
}
