:root {
  --page: #f7f4f2;
  --ink: #251f21;
  --ink-2: #6f6a67;
  --ink-4: #a8a2a0;
  --hairline: #e8e3e1;
  --raised: #efeae8;
  --dark: #2a2e33;
  --dark-2: #17191c;
  --amber: #f0a832;
  --amber-text: #b45309;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--page);
  color: var(--ink);
  font-family: "Segoe UI", Tahoma, "Noto Kufi Arabic", "Noto Sans Arabic", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.page { max-width: 720px; margin: 0 auto; padding: 16px 14px 40px; }
.caption { color: var(--ink-2); font-size: 12px; margin: 6px 2px 14px; }
.loading-note { text-align: center; color: var(--ink-2); padding: 30px 0; }
img { max-width: 100%; }

/* Hero band */
.awlad-hero { background: linear-gradient(135deg, #2a2e33 0%, #17191c 100%); border-radius: 20px; padding: 26px 22px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.awlad-hero-kicker { color: var(--amber); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.awlad-hero-title { color: #ffffff; font-size: 34px; font-weight: 700; margin: 0; line-height: 1.2; }
.awlad-hero-intro { color: #c9cdd2; font-size: 14px; line-height: 24px; margin: 0; }

/* Hero photo */
.hero-photo-btn { display: block; width: 100%; padding: 0; border: none; background: none; cursor: zoom-in; }
.hero-photo { width: 100%; height: 240px; object-fit: cover; border-radius: 16px; display: block; background: var(--raised); }

/* Callout */
.callout { border: 1px solid #f3d9a4; background: #fdf6e7; border-radius: 12px; padding: 12px 14px; margin: 10px 0 14px; }
.callout strong { color: #8a5a06; font-size: 13px; }
.callout p { margin: 4px 0 0; color: var(--ink-2); font-size: 13px; line-height: 20px; }

/* Offers block */
.offers { margin: 18px 0 4px; }
.offers-label { color: var(--ink-2); font-size: 12px; }
.offers-heading { font-size: 20px; margin: 2px 0 4px; }
.offers p { color: var(--ink-2); font-size: 13px; margin: 0; line-height: 20px; }

/* Sections */
.awlad-section { display: flex; flex-direction: column; gap: 4px; margin: 22px 0; }
.awlad-section-head { background: var(--dark); border-radius: 12px; padding: 10px 16px; margin-bottom: 10px; }
.awlad-section-title { color: #ffffff; font-weight: 700; font-size: 18px; }
.awlad-type { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.awlad-type-title { font-weight: 700; font-size: 14px; color: var(--dark); border-inline-start: 4px solid var(--amber); padding-inline-start: 8px; }

/* Product cards */
.awlad-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 700px) { .awlad-grid { grid-template-columns: 1fr 1fr; } }
.awlad-card { display: flex; flex-direction: column; border: 1px solid var(--hairline); border-radius: 18px; overflow: hidden; background: #ffffff; box-shadow: 0 4px 14px rgba(37, 31, 33, 0.07); }
.awlad-card-photowrap { position: relative; }
.awlad-card-photobtn { display: block; width: 100%; padding: 0; border: none; background: none; cursor: zoom-in; }
.awlad-card-photo { width: 100%; height: 170px; object-fit: cover; display: block; background: var(--raised); }
.awlad-badge { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--amber); color: #1d1f22; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.awlad-card-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.awlad-name { font-weight: 700; color: var(--dark); }
.awlad-detail { color: var(--ink-2); font-size: 13px; line-height: 20px; }
.awlad-pricerow { display: flex; align-items: baseline; gap: 10px; }
.awlad-price { font-weight: 700; color: var(--amber-text); white-space: nowrap; }
.awlad-oldprice { color: var(--ink-4); text-decoration: line-through; font-size: 13px; white-space: nowrap; }
.awlad-row2 { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 2px; }
.awlad-stock { color: var(--ink-2); font-size: 12px; }

/* Stepper */
.awlad-stepper { display: flex; align-items: center; gap: 10px; }
.awlad-stepbtn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid #d8d5d4; background: #ffffff; color: var(--dark); font-size: 18px; line-height: 1; cursor: pointer; }
.awlad-stepbtn:disabled { opacity: 0.35; cursor: default; }
.awlad-qty { min-width: 24px; text-align: center; font-weight: 700; color: var(--dark); }

/* Cart pill */
.awlad-cartbtn-wrap { display: flex; justify-content: center; padding: 6px 0; }
.awlad-cartbtn { padding: 14px 26px; border: none; border-radius: 999px; background: var(--dark); color: var(--amber); font-weight: 700; font-size: 14px; line-height: 22px; cursor: pointer; text-align: center; box-shadow: 0 8px 24px rgba(23, 25, 28, 0.3); font-family: inherit; }
.awlad-cartbtn:disabled { opacity: 0.5; cursor: default; box-shadow: none; color: #ffffff; }

/* Cart modal lines */
.awlad-cart { display: flex; flex-direction: column; }
.awlad-cart-block { border-bottom: 1px solid var(--hairline); padding: 8px 0; display: flex; flex-direction: column; gap: 2px; }
.awlad-cart-item { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.awlad-cart-sub { color: var(--ink-2); font-size: 12px; }
.awlad-saved { color: var(--amber-text); padding-top: 8px; }
.awlad-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 10px; font-weight: 700; color: var(--dark); }
.cart-order-btn { display: block; margin-top: 14px; background: var(--dark); color: var(--amber); text-align: center; text-decoration: none; font-weight: 700; padding: 12px 18px; border-radius: 10px; }
.cart-note { color: var(--ink-2); font-size: 12px; line-height: 18px; margin: 10px 0 0; }

/* Dialogs */
.awlad-dialog { border: none; border-radius: 14px; padding: 20px; width: min(92vw, 420px); background: #ffffff; color: var(--ink); font-family: inherit; }
.awlad-dialog::backdrop, .photo-dialog::backdrop { background: rgba(23, 25, 28, 0.55); }
.awlad-dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 15px; }
.dialog-close { border: none; background: var(--raised); color: var(--ink); width: 32px; height: 32px; border-radius: 50%; font-size: 14px; cursor: pointer; }

/* Photo dialog */
.photo-dialog { border: none; border-radius: 16px; padding: 12px; width: min(94vw, 560px); background: #ffffff; text-align: center; }
.photo-dialog img { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 10px; display: block; background: var(--raised); }
.photo-dialog p { color: var(--dark); font-weight: 700; margin: 10px 0 2px; }
.photo-close { position: absolute; top: 16px; inset-inline-start: 16px; }
.photo-dialog { position: relative; }

/* Facts */
.facts { margin: 20px 0 10px; }
.facts-label { color: var(--ink-2); font-size: 12px; }
.facts-list { margin: 8px 0 0; }
.facts-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.facts-row dt { color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.facts-row dd { margin: 0; font-size: 13px; line-height: 20px; text-align: end; }

/* Footer band */
.awlad-footer { display: flex; flex-direction: column; gap: 4px; background: var(--dark); border-radius: 16px; padding: 18px; margin-top: 14px; }
.awlad-footer-name { color: var(--amber); font-weight: 700; font-size: 16px; }
.awlad-footer-line { color: #c9cdd2; font-size: 13px; line-height: 20px; }
.awlad-footer-line strong { color: #ffffff; }

.closing { color: var(--ink-2); font-size: 12px; text-align: center; margin-top: 18px; }

@media (max-width: 600px) {
  .awlad-stepbtn { width: 44px; height: 44px; }
  .awlad-hero-title { font-size: 28px; }
}
