/* ===== Store theme ===== */
:root {
  --bg: #fbf7f2;
  --surface: #ffffff;
  --ink: #1f1b16;
  --muted: #6b6259;
  --line: #e8dfd4;
  --brand: #e2572b;      /* laser orange */
  --brand-ink: #ffffff;
  --accent: #1d6f6a;     /* teal */
  --soft: #fde9df;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(31, 27, 22, 0.08);
  --font: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.logo { font-weight: 800; font-size: 1.25rem; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand); color: var(--brand-ink); font-size: 1rem;
}
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; color: var(--muted); }
.nav-links a:hover, .nav-links a.active { background: var(--soft); color: var(--brand); }
.cart-link { position: relative; }
.cart-count {
  background: var(--brand); color: #fff; border-radius: 999px; font-size: 0.75rem;
  padding: 0 7px; margin-inline-start: 4px;
}
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: 1.2rem; cursor: pointer; }

@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav { flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; flex-direction: column; padding-bottom: 8px; }
  .nav-links.open { display: flex; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid var(--brand);
  background: var(--brand); color: var(--brand-ink); font-weight: 700; font-family: inherit;
  font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn.outline { background: transparent; color: var(--brand); }
.btn.whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.btn.small { padding: 8px 14px; font-size: 0.9rem; }

/* ===== Hero ===== */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; margin: 8px 0 16px; }
.hero h1 span { color: var(--brand); }
.hero p.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art {
  aspect-ratio: 1 / 1; border-radius: 28px; background:
    radial-gradient(circle at 30% 30%, #ffd2bd 0 18%, transparent 19%),
    radial-gradient(circle at 70% 65%, #b9e3dd 0 22%, transparent 23%),
    linear-gradient(135deg, #fde9df, #f4efe8);
  display: grid; place-items: center; font-size: 6rem; box-shadow: var(--shadow);
}
.trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; color: var(--muted); font-size: .95rem; }
.trust b { color: var(--ink); }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 380px; margin-inline: auto; width: 100%; } }

/* ===== Sections ===== */
section { padding: 40px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 1.8rem; }
.section-head p { margin: 4px 0 0; color: var(--muted); }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-decoration: none; transition: box-shadow .2s, transform .2s;
}
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card .emoji { font-size: 2rem; }
.cat-card h3 { margin: 8px 0 4px; }
.cat-card p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 820px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Products ===== */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip {
  border: 1px solid var(--line); background: var(--surface); padding: 8px 14px; border-radius: 999px;
  font-family: inherit; font-weight: 600; cursor: pointer; color: var(--muted);
}
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.product {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.product .thumb {
  aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 3.4rem; position: relative;
}
.product .badge {
  position: absolute; top: 10px; inset-inline-start: 10px; background: var(--ink); color: #fff;
  font-size: .75rem; padding: 2px 10px; border-radius: 999px; font-weight: 700;
}
.product .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product h3 { margin: 0; font-size: 1.05rem; }
.product .meta { color: var(--muted); font-size: .85rem; }
.product .desc { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.product .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.price { font-weight: 800; font-size: 1.1rem; }

/* ===== How it works ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--soft); color: var(--brand); font-weight: 800; margin-bottom: 10px;
}
.step h3 { margin: 0 0 4px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps, .cat-grid { grid-template-columns: 1fr; } }

.banner {
  background: var(--accent); color: #fff; border-radius: 24px; padding: 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.banner h2 { margin: 0 0 6px; }
.banner p { margin: 0; opacity: .9; }
.banner .btn { background: #fff; color: var(--accent); border-color: #fff; }

/* ===== Page header / text pages ===== */
.page-head { padding: 40px 0 8px; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.page-head p { margin: 0; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h2, .card h3 { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: 8px 0 0; }

/* ===== Order form ===== */
.cart-list { list-style: none; padding: 0; margin: 0 0 12px; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-item .emoji { font-size: 1.8rem; width: 44px; text-align: center; }
.cart-item .name { flex: 1; font-weight: 600; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg);
  cursor: pointer; font-weight: 700; font-family: inherit;
}
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.totals .grand { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.empty { color: var(--muted); }
form label { display: block; font-weight: 600; margin: 12px 0 4px; }
form input, form select, form textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line);
  font-family: inherit; font-size: 1rem; background: var(--bg); color: var(--ink);
}
form textarea { min-height: 90px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.note { font-size: .88rem; color: var(--muted); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0; color: var(--muted); font-size: .92rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-grid a { text-decoration: none; margin-inline-end: 14px; }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600;
  transition: transform .25s; z-index: 50;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 18px; inset-inline-end: 18px; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.6rem;
  box-shadow: var(--shadow); text-decoration: none; z-index: 40;
}

/* On phones, show the order summary above the form */
@media (max-width: 820px) { #order-form + aside { order: -1; } }

/* Logo image in header */
.logo-img { width: 38px; height: 38px; }
