:root {
  --accent: #17a2a2;
  --accent2: #0f7f7f;
  --soft: #e4f6f7;
  --bg: #f7fdfd;
  --card: #ffffff;
  --ink: #12343b;
  --ink2: #5b7b82;
  --line: #d9eef0;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: radial-gradient(1100px 420px at 100% -10%, #e4f6f7 0%, transparent 60%), radial-gradient(900px 380px at 0% 0%, #fff1ee 0%, transparent 55%), var(--bg); color: var(--ink);
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif; font-size: 16px; line-height: 1.7;
  padding-bottom: 96px;
}
h1, h2, h3 { line-height: 1.35; margin: 0; }
.demo-flag {
  background: var(--accent2); color: #fff; text-align: center; font-size: 12.5px;
  padding: 6px 10px; letter-spacing: .2px;
}
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; padding: 12px 18px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; font-size: 20px; color: var(--accent); }
.wa-link {
  font-size: 14px; font-weight: 600; color: #fff; background: #25d366;
  text-decoration: none; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
}
main { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.hero { text-align: center; padding: 34px 6px 10px; }
.hero h1 { font-size: clamp(26px, 7vw, 40px); font-weight: 700; }
.hero-sub { margin: 10px auto 0; max-width: 560px; color: var(--ink2); font-size: 17px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.badge { background: var(--soft); color: var(--accent2); font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 8px; }
.how-step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 10px; text-align: center; font-size: 13.5px; color: var(--ink2); }
.how-step b { display: block; color: var(--accent); font-size: 18px; margin-bottom: 2px; }
.section-head { margin: 34px 0 14px; }
.section-head h2 { font-size: 24px; color: var(--accent); }
.section-head p { margin: 4px 0 0; color: var(--ink2); font-size: 14px; }
.products { display: grid; grid-template-columns: 1fr; gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
}
.card.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--soft), var(--shadow); }
.monogram {
  width: 104px; height: 104px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 700; color: var(--accent);
  background: var(--card); border: 2px solid var(--line);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.thumb {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  font-size: 64px; background: var(--soft);
}
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 18px; font-weight: 700; }
.price { color: var(--accent); font-weight: 700; font-size: 21px; }
.detail { margin: 0; color: var(--ink2); font-size: 14.5px; }
.qty-row { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; }
.step {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--accent);
  background: var(--card); color: var(--accent); font-size: 22px; line-height: 1; cursor: pointer; flex: 0 0 auto;
}
.step:disabled { opacity: .35; cursor: default; }
.count { min-width: 30px; text-align: center; font-weight: 700; font-size: 18px; }
.qty-label { color: var(--ink2); font-size: 14px; margin-inline-start: auto; }
.note-field { margin-top: 8px; }
.note-field input, .field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
  font: inherit; font-size: 14.5px; background: var(--bg); color: var(--ink);
}
.order { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 38px 0 10px; }
.order-form, .order-summary {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px 20px; box-shadow: var(--shadow);
}
.order-form h2, .order-summary h2 { font-size: 20px; color: var(--accent); margin-bottom: 12px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.field em { color: var(--ink2); font-style: normal; font-weight: 400; font-size: 13px; }
.field input:focus, .field textarea:focus, .note-field input:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--soft);
}
.summary-lines { display: flex; flex-direction: column; gap: 8px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.sum-row b { color: var(--accent); white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; font-size: 16px; font-weight: 700; }
.summary-total b { color: var(--accent); font-size: 22px; }
.muted { color: var(--ink2); font-size: 14.5px; margin: 0; }
.note { color: var(--ink2); font-size: 13px; margin: 10px 0 0; }
.missing { color: #b3261e; font-size: 13.5px; margin: 8px 0 0; }
.send {
  width: 100%; min-height: 52px; margin-top: 14px; border: none; border-radius: 999px;
  background: var(--accent); color: #fff; font: inherit; font-weight: 700; font-size: 17px;
  cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.16);
}
.send:disabled { background: color-mix(in srgb, var(--line) 70%, #999); color: #fff; box-shadow: none; cursor: default; }
footer { text-align: center; padding: 34px 16px 40px; color: var(--ink2); font-size: 13.5px; }
.foot-brand { color: var(--accent); font-weight: 700; font-size: 18px; margin-bottom: 6px; }
footer .wa-link { display: inline-block; margin-top: 10px; }
.credit { margin-top: 14px; font-size: 12px; opacity: .75; }
.stickybar[hidden] { display: none; }
.stickybar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--card) 96%, transparent); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.sticky-total { display: flex; flex-direction: column; line-height: 1.2; }
.sticky-total span { font-size: 12px; color: var(--ink2); }
.sticky-total b { color: var(--accent); font-size: 18px; }
.stickybar .send { margin: 0; flex: 1; font-size: 15.5px; min-height: 46px; }
@media (min-width: 720px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .order { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .order-summary { position: sticky; top: 84px; }
  body { padding-bottom: 0; }
  .stickybar { display: none; }
}
@media (min-width: 1000px) { .products { grid-template-columns: repeat(3, 1fr); } }
