/* dukkanabdulaal.com — the store's look, the same as the app's (mobile/lib/theme.dart). */
:root {
  --charcoal: #3a3f45;
  --cream: #f6f2e7;
  --paper: #fffdf8;
  --green: #2f7d4f;
  --green-dark: #24613d;
  --muted: #6b7077;
  --line: #e6e0d2;
  --tile: #efeadd;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

html[lang="ar"] body {
  font-family: "SF Arabic", "Geeza Pro", "Noto Sans Arabic", "Noto Naskh Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.8;
}

a {
  color: var(--green);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-dark);
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top bar */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--charcoal);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: auto;
}

.lang {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--charcoal);
  font-size: 15px;
  text-decoration: none;
}

.lang:hover {
  background: var(--tile);
  color: var(--charcoal);
}

/* Home */
.hero {
  padding: 28px 0 8px;
  text-align: center;
}

.hero img {
  width: 150px;
  height: auto;
}

.hero h1 {
  margin: 14px 0 6px;
  font-size: 34px;
  line-height: 1.3;
}

.lead {
  max-width: 34em;
  margin: 0 auto;
  color: var(--charcoal);
  font-size: 1.08em;
}

.soon {
  display: inline-block;
  margin: 18px 0 0;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.features li {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--tile);
}

.features strong {
  display: block;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 12px 0 0;
}

.card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.card h2 {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 1.05em;
  font-weight: 600;
}

.phone {
  unicode-bidi: isolate;
  direction: ltr;
  display: inline-block;
}

/* Pages (privacy, delete account) */
.page {
  margin: 8px 0 0;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.page h1 {
  margin: 0 0 4px;
  font-size: 28px;
  line-height: 1.35;
}

.page h2 {
  margin: 28px 0 6px;
  font-size: 20px;
  line-height: 1.4;
}

.page p,
.page li {
  margin: 0 0 10px;
}

.page ul,
.page ol {
  margin: 0 0 10px;
  padding-inline-start: 1.3em;
}

.updated {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0 !important;
}

.steps li {
  position: relative;
  min-height: 34px;
  margin: 0 0 12px;
  padding-inline-start: 46px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
}

.note {
  margin: 14px 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--tile);
}

.button {
  display: inline-block;
  margin: 4px 0;
  padding: 10px 20px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--green-dark);
  color: #fff;
}

/* Footer */
.foot {
  margin: 36px 0 0;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin: 0 0 8px;
}

.foot p {
  margin: 0;
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .page {
    padding: 20px 16px;
  }

  .page h1 {
    font-size: 24px;
  }
}
