:root {
  --bg: #fffaf1;
  --card: #ffffff;
  --text: #07312a;
  --muted: #6f7d77;
  --green: #0f6b4f;
  --green-dark: #0a4c39;
  --cream: #fff3d7;
  --yellow: #ffd96a;
  --pink: #ffb7c8;
  --blue: #b9e7ff;
  --border: rgba(15, 107, 79, .13);
  --shadow: 0 18px 45px rgba(23, 51, 44, .12);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Noto Sans Arabic", sans-serif;
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 217, 106, .32), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(185, 231, 255, .35), transparent 26%),
    radial-gradient(circle at 80% 85%, rgba(255, 183, 200, .30), transparent 24%),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.hero {
  padding: 22px;
  min-height: 78vh;
}

.nav {
  max-width: 1120px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
  font-weight: 900;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 56px;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-ar {
  font-size: 24px;
  color: var(--text);
}

.brand-en {
  font-size: 14px;
  color: var(--green);
  letter-spacing: .5px;
}

.nav-btn,
.main-cta,
.order-box button[type="submit"] {
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 107, 79, .22);
}

.nav-btn:hover,
.main-cta:hover,
.order-box button[type="submit"]:hover {
  background: var(--green-dark);
}

.hero-content {
  max-width: 1120px;
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 9px 14px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--green);
  font-weight: 900;
}

h1 {
  font-size: clamp(38px, 5.8vw, 72px);
  line-height: 1.05;
  margin: 20px 0;
  letter-spacing: -1.5px;
}

.hero-text {
  max-width: 560px;
  font-size: 20px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 30px;
}

.hero-card {
  background: rgba(255,255,255,.72);
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 26px;
  background: #f1f1f1;
}

.hero-card span {
  display: inline-block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  max-width: 1120px;
  margin: 0 auto 34px;
  padding: 38px 22px;
}

.intro {
  background: rgba(255,255,255,.62);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
}

.intro p,
.section-title p,
.order-box p {
  color: var(--muted);
  line-height: 1.8;
}

.section-title {
  margin-bottom: 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 12px 28px rgba(23,51,44,.08);
  overflow: hidden;
}

.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff, #f2f2f2);
}

.card h3 {
  margin: 14px 0 6px;
  font-size: 22px;
  direction: ltr;
  text-align: right;
}

.price {
  color: var(--green);
  font-weight: 900;
  margin-bottom: 14px;
  font-size: 18px;
}

.qty-control {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 10px;
  background: #fffaf1;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px;
}

.qty-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.qty-btn.minus {
  background: #e7eee9;
  color: var(--green);
}

.qty-btn:hover {
  transform: translateY(-1px);
}

.qty-value {
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
}

.order-box {
  background: #fff;
  border-radius: 34px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.order-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.clear-btn {
  border: 0;
  background: #f4eee4;
  color: var(--text);
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 900;
  cursor: pointer;
}

.cart-summary {
  margin: 24px 0 16px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fffdf8;
  padding: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(15,107,79,.10);
  color: var(--text);
}

.cart-item:last-child {
  border-bottom: 0;
}

.cart-item strong {
  direction: ltr;
}

.cart-item span {
  color: var(--muted);
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
  border: 1px solid rgba(15,107,79,.10);
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 22px;
  font-weight: 900;
}

.total-row strong {
  font-size: 24px;
  color: var(--green);
}

form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

label span {
  font-weight: 500;
  color: var(--muted);
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(15,107,79,.20);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fffdf8;
  color: var(--text);
}

textarea {
  resize: vertical;
}

footer {
  padding: 34px 22px 44px;
  text-align: center;
  color: var(--muted);
}

footer p {
  margin: 0 0 8px;
  font-weight: 900;
  color: var(--text);
}

@media (max-width: 850px) {
  .hero-content {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-header {
    display: block;
  }

  .clear-btn {
    margin-top: 12px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 16px;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand-ar {
    font-size: 20px;
  }

  .brand-en {
    font-size: 12px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  h1 {
    letter-spacing: 0;
  }

  .nav-btn {
    padding: 11px 16px;
  }
}
