:root {
  --bg: #f7f2e9;
  --surface: #fffdf8;
  --ink: #1f211d;
  --muted: #6e7068;
  --accent: #344537;
  --accent-2: #b06f4f;
  --line: rgba(31, 33, 29, .14);
  --soft: #ebe5d9;
  --radius: 24px;
  --display: "Noto Kufi Arabic", sans-serif;
  --body: "IBM Plex Sans Arabic", sans-serif;
  --latin: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--body);
  line-height: 1.7;
}
html[lang="en"] body { font-family: var(--latin); line-height: 1.55; }
button, input, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 500; padding: 9px 14px; color: white; background: var(--accent); transform: translateY(-150%); }
.skip:focus { transform: none; }
.announcement { min-height: 34px; display: grid; place-items: center; padding: 5px 18px; color: white; background: var(--accent); font-size: .74rem; text-align: center; }
.announcement p { margin: 0; }
.site-header { position: sticky; inset-block-start: 0; z-index: 100; border-block-end: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(16px); }
.header-inner { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { width: max-content; display: inline-flex; align-items: baseline; gap: 9px; }
.brand strong { color: var(--accent); font-family: var(--display); font-size: 1.55rem; line-height: 1; }
.brand small { color: var(--muted); font-family: var(--latin); font-size: .6rem; font-weight: 700; letter-spacing: .19em; }
.nav { display: flex; justify-content: center; gap: 26px; font-size: .82rem; font-weight: 600; }
.nav a { padding-block: 8px; }
.actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
[dir="rtl"] .actions { justify-content: flex-start; }
.lang, .cart, .menu, .close {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.lang, .cart { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; font-weight: 700; }
.lang b { width: 23px; height: 23px; display: grid; place-items: center; color: white; background: var(--accent); border-radius: 50%; font-family: var(--latin); font-size: .6rem; }
.cart-count { min-width: 20px; height: 20px; display: grid; place-items: center; color: white; background: var(--accent-2); border-radius: 50%; font-family: var(--latin); font-size: .62rem; }
.menu { display: none; }

.hero { padding-block: 48px 72px; }
.hero-grid { min-height: 590px; display: grid; grid-template-columns: 1.08fr .92fr; grid-template-areas: "visual copy"; align-items: center; gap: 64px; }
[dir="ltr"] .hero-grid { grid-template-columns: .92fr 1.08fr; grid-template-areas: "copy visual"; }
.hero-copy { grid-area: copy; }
.hero-visual { grid-area: visual; position: relative; }
.eyebrow { margin: 0 0 12px; color: var(--accent-2); font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.hero h1 { margin: 0; color: var(--accent); font-family: var(--display); font-size: clamp(3rem, 6vw, 6.2rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.28; }
html[lang="en"] .hero h1 { font-family: var(--latin); font-size: clamp(3rem, 5.6vw, 5.8rem); line-height: 1; }
.hero-lead { max-width: 560px; margin: 23px 0 29px; color: var(--muted); font-size: 1.04rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 23px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .85rem; transition: transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.primary { color: white; background: var(--accent); }
.secondary { color: var(--accent); border-color: var(--line); background: var(--surface); }
.wide { width: 100%; }
.hero-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-block-start: 36px; }
.hero-stats span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .68rem; }
.visual-cell {
  position: relative;
  overflow: hidden;
  background-image: var(--catalog-image);
  background-repeat: no-repeat;
  background-size: 300% 300%;
  background-color: var(--soft);
}
.hero-visual .visual-cell { aspect-ratio: 1; border-radius: var(--hero-radius, 28px); box-shadow: 0 30px 80px rgba(28, 25, 19, .16); }
.hero-visual::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent); border-radius: var(--hero-radius, 28px); }
[dir="rtl"] .hero-visual::after { inset: 18px 18px -18px -18px; }
.cell-0 { background-position: 0 0; }
.cell-1 { background-position: 50% 0; }
.cell-2 { background-position: 100% 0; }
.cell-3 { background-position: 0 50%; }
.cell-4 { background-position: 50% 50%; }
.cell-5 { background-position: 100% 50%; }
.cell-6 { background-position: 0 100%; }
.cell-7 { background-position: 50% 100%; }
.cell-8 { background-position: 100% 100%; }

.benefits { border-block: 1px solid var(--line); background: var(--surface); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefit { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 22px; border-inline-end: 1px solid var(--line); }
.benefit:last-child { border: 0; }
.benefit b { width: 30px; height: 30px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line); border-radius: 50%; }
.benefit span { display: grid; }
.benefit strong { font-size: .78rem; }
.benefit small { color: var(--muted); font-size: .68rem; }

.section { padding-block: 105px; }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 65px; margin-block-end: 32px; }
.section-head h2, .story-copy h2 { margin: 0; color: var(--accent); font-family: var(--display); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.35; }
html[lang="en"] .section-head h2, html[lang="en"] .story-copy h2 { font-family: var(--latin); line-height: 1.08; letter-spacing: -.04em; }
.section-head > p { margin: 0; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 32px; }
.filters button { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; font-size: .78rem; font-weight: 700; }
.filters button.active { color: white; border-color: var(--accent); background: var(--accent); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 16px; }
.product-card { min-width: 0; }
.product-image { aspect-ratio: 1; border-radius: var(--product-radius, 18px); }
.product-info { padding: 13px 3px 0; }
.product-type { margin: 0 0 3px; color: var(--accent-2); font-size: .66rem; font-weight: 700; }
.product-row { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.product-row h3 { margin: 0; font-size: .93rem; }
.product-row span { flex: none; color: var(--muted); font-family: var(--latin); font-size: .76rem; }
.product-card button { width: 100%; min-height: 40px; margin-block-start: 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; font-size: .72rem; font-weight: 700; }

.story { background: var(--soft); }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
[dir="ltr"] .story-grid { grid-template-columns: 1.1fr .9fr; }
.story-visual { aspect-ratio: 1; border-radius: var(--radius); box-shadow: 0 25px 65px rgba(30, 24, 16, .13); }
.story-copy p:not(.eyebrow) { margin: 21px 0 28px; color: var(--muted); }
.story-list { display: grid; gap: 10px; margin-block: 25px; padding: 0; list-style: none; }
.story-list li { display: flex; align-items: center; gap: 9px; font-size: .78rem; }
.story-list li::before { content: "◆"; color: var(--accent-2); font-size: .55rem; }

.site-footer { padding-block: 62px 24px; color: rgba(255,255,255,.82); background: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1.2fr; gap: 50px; }
.footer-grid h3 { margin: 0 0 12px; color: white; font-size: .8rem; }
.footer-grid a, .footer-grid button { display: block; width: max-content; margin-block: 7px; padding: 0; border: 0; color: rgba(255,255,255,.66); background: transparent; cursor: pointer; font-size: .74rem; }
.footer-brand strong { display: block; color: white; font-family: var(--display); font-size: 1.8rem; }
.footer-brand small { font-family: var(--latin); letter-spacing: .16em; }
.footer-note { color: rgba(255,255,255,.62); font-size: .74rem; }
.footer-bottom { margin-block-start: 35px; padding-block-start: 18px; border-block-start: 1px solid rgba(255,255,255,.15); font-size: .68rem; }

.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(18,18,16,.55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: .25s; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 220; width: min(430px, 100%); display: flex; flex-direction: column; padding: 26px; background: var(--surface); transform: translateX(105%); transition: transform .3s ease; }
[dir="rtl"] .drawer { transform: translateX(-105%); }
.drawer.open { transform: none; }
.panel-head { display: flex; justify-content: space-between; gap: 16px; padding-block-end: 18px; border-block-end: 1px solid var(--line); }
.panel-head h2 { margin: 0; color: var(--accent); font-family: var(--display); font-size: 1.45rem; }
html[lang="en"] .panel-head h2 { font-family: var(--latin); }
.close { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-size: 1.55rem; }
.close:hover { background: var(--soft); }
.cart-items { flex: 1; overflow: auto; }
.empty { padding-block: 70px; color: var(--muted); text-align: center; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding-block: 15px; border-block-end: 1px solid var(--line); }
.cart-thumb { width: 72px; height: 72px; border-radius: 11px; }
.cart-line h3 { margin: 0; font-size: .8rem; }
.cart-line p { margin: 2px 0; color: var(--muted); font-size: .65rem; }
.cart-line > strong { font-family: var(--latin); font-size: .7rem; }
.qty { display: flex; align-items: center; gap: 6px; margin-block-start: 7px; }
.qty button { width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }
.qty .remove { width: auto; margin-inline-start: 5px; padding: 0; border: 0; border-radius: 0; color: var(--accent-2); background: transparent; font-size: .62rem; }
.drawer-foot { padding-block-start: 18px; border-block-start: 1px solid var(--line); }
.subtotal { display: flex; justify-content: space-between; margin-block-end: 13px; }

.modal { position: fixed; left: 50%; inset-block-start: 50%; z-index: 230; width: min(860px, calc(100% - 30px)); max-height: calc(100vh - 30px); overflow: auto; border-radius: var(--radius); background: var(--surface); box-shadow: 0 30px 90px rgba(0,0,0,.22); opacity: 0; visibility: hidden; transform: translate(-50%,-47%) scale(.98); transition: .25s; }
.modal.open { opacity: 1; visibility: visible; transform: translate(-50%,-50%) scale(1); }
.modal > .close { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; z-index: 2; background: rgba(255,255,255,.85); }
.product-modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-image { min-height: 560px; }
.modal-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.modal-copy h2 { margin: 0; color: var(--accent); font-family: var(--display); font-size: 1.8rem; }
html[lang="en"] .modal-copy h2 { font-family: var(--latin); }
.modal-copy > p:not(.eyebrow) { color: var(--muted); }
.details { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 10px 20px; }
.details span { padding: 5px 10px; color: var(--accent); background: var(--soft); border-radius: 999px; font-size: .67rem; }
.variant { margin-block-end: 20px; }
.variant p { margin: 0 0 6px; font-size: .7rem; font-weight: 700; }
.variant-options { display: flex; flex-wrap: wrap; gap: 7px; }
.variant-options button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: white; cursor: pointer; font-size: .68rem; }
.variant-options button.active { color: white; border-color: var(--accent); background: var(--accent); }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 9px; }
.quantity { min-height: 50px; display: flex; align-items: center; gap: 7px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.quantity button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--soft); cursor: pointer; }
.quantity span { min-width: 16px; text-align: center; font-family: var(--latin); }

.checkout { width: min(720px, calc(100% - 30px)); }
.checkout-inner { padding: 38px; }
.checkout-inner > h2 { margin: 0; color: var(--accent); font-family: var(--display); }
html[lang="en"] .checkout-inner > h2 { font-family: var(--latin); }
.checkout-step { display: none; }
.checkout-step.active { display: block; }
.progress { display: flex; gap: 8px; margin-block: 22px; }
.progress span { flex: 1; height: 4px; border-radius: 999px; background: var(--soft); }
.progress span.active { background: var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-grid label { display: grid; gap: 5px; color: var(--muted); font-size: .68rem; }
.form-grid label.wide { grid-column: 1 / -1; }
.form-grid input, .form-grid select { min-height: 46px; width: 100%; padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.checkout-actions { display: flex; justify-content: space-between; gap: 10px; margin-block-start: 20px; }
.review-lines { border-block: 1px solid var(--line); }
.review-line { display: flex; justify-content: space-between; gap: 15px; padding-block: 10px; border-block-end: 1px solid var(--line); font-size: .74rem; }
.review-line:last-child { border: 0; }
.review-total { display: flex; justify-content: space-between; margin-block: 16px; color: var(--accent); }
.demo-warning { padding: 11px 13px; color: #77551c; border: 1px solid #ddbd72; border-radius: 9px; background: #fff6d8; font-size: .7rem; }
.confirmation { display: none; padding-block: 30px; text-align: center; }
.confirmation.open { display: block; }
.confirmation b { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 15px; color: white; background: var(--accent); border-radius: 50%; font-size: 1.4rem; }
.confirmation h3 { margin: 0; color: var(--accent); font-family: var(--display); font-size: 1.5rem; }
html[lang="en"] .confirmation h3 { font-family: var(--latin); }
.confirmation p { color: var(--muted); }
.toast { position: fixed; left: 50%; inset-block-end: 22px; z-index: 300; padding: 10px 18px; color: white; background: var(--accent); border-radius: 999px; opacity: 0; transform: translate(-50%,12px); transition: .2s; pointer-events: none; font-size: .74rem; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
body.locked { overflow: hidden; }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .menu { display: inline-flex; width: max-content; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: .7rem; font-weight: 700; }
  .nav { position: absolute; inset-inline: 20px; inset-block-start: calc(100% + 8px); display: none; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 20px 55px rgba(0,0,0,.12); }
  .nav.open { display: grid; }
  .lang span, .cart span { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; }
  .footer-note { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 28px); }
  .section { padding-block: 75px; }
  .header-inner { min-height: 68px; gap: 7px; }
  .brand strong { font-size: 1.25rem; }
  .brand small { display: none; }
  .lang, .cart { padding-inline: 8px; }
  .hero { padding-block: 32px 52px; }
  .hero-grid, [dir="ltr"] .hero-grid { grid-template-columns: 1fr; grid-template-areas: "visual" "copy"; gap: 45px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.6rem); }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { justify-content: flex-start; border-inline-end: 0; border-block-end: 1px solid var(--line); }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 24px 10px; }
  .product-row { display: grid; gap: 3px; }
  .story-grid, [dir="ltr"] .story-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 20px; }
  .footer-brand, .footer-note { grid-column: 1 / -1; }
  .product-modal-grid { grid-template-columns: 1fr; }
  .modal-image { min-height: 0; aspect-ratio: 1; }
  .modal-copy { padding: 32px 20px 24px; }
  .buy-row { grid-template-columns: 1fr; }
  .quantity { width: max-content; }
  .checkout-inner { padding: 30px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label.wide { grid-column: auto; }
}

@media (max-width: 410px) {
  .menu { padding-inline: 8px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-row { display: flex; }
  .drawer { padding: 21px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
