:root {
    /* Light palette — warm lavender / handmade craft */
    --bg: #f7f3f7;
    --surface: #ffffff;
    --surface-2: #f1eaf2;
    --ink: #2e2233;
    --ink-soft: #6b5b72;
    --line: #e6dbe8;
    --violet: #8b5aa8;
    --violet-deep: #613d78;
    --violet-soft: #efe3f4;
    --honey: #d99a4e;
    --sage: #7fa284;
    --rose: #c9738f;
    --shadow: 0 10px 30px -18px rgba(64, 38, 78, .45);
    --shadow-soft: 0 4px 14px -10px rgba(64, 38, 78, .4);
    --r: 18px;
    --maxw: 1120px;
    --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #1a141d;
      --surface: #241b28;
      --surface-2: #2d2233;
      --ink: #f2e9f4;
      --ink-soft: #b8a6bf;
      --line: #3a2d42;
      --violet: #c497dc;
      --violet-deep: #d9b8ea;
      --violet-soft: #33253b;
      --honey: #e5ad66;
      --sage: #9dc2a2;
      --rose: #e090ab;
      --shadow: 0 14px 34px -18px rgba(0, 0, 0, .7);
      --shadow-soft: 0 6px 16px -12px rgba(0, 0, 0, .6);
    }
  }
  :root[data-theme="dark"] {
    --bg: #1a141d;
    --surface: #241b28;
    --surface-2: #2d2233;
    --ink: #f2e9f4;
    --ink-soft: #b8a6bf;
    --line: #3a2d42;
    --violet: #c497dc;
    --violet-deep: #d9b8ea;
    --violet-soft: #33253b;
    --honey: #e5ad66;
    --sage: #9dc2a2;
    --rose: #e090ab;
    --shadow: 0 14px 34px -18px rgba(0, 0, 0, .7);
    --shadow-soft: 0 6px 16px -12px rgba(0, 0, 0, .6);
  }

  * { box-sizing: border-box; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; }

  .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: 20px; }

  /* ---------- Top bar ---------- */
  header.topbar {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 20;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .topbar-in {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding-block: 12px;
  }
  .brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
  .brand .mark {
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; flex: 0 0 auto;
    background: radial-gradient(circle at 30% 25%, var(--violet), var(--violet-deep));
    box-shadow: var(--shadow-soft);
  }
  .brand .name { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: .2px; line-height: 1; }
  .brand .sub { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
  .top-actions { display: flex; align-items: center; gap: 8px; }
  .icon-btn {
    display: inline-grid; place-items: center; width: 40px; height: 40px;
    border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
    color: var(--ink); cursor: pointer; text-decoration: none; transition: .18s;
  }
  .icon-btn:hover { border-color: var(--violet); color: var(--violet); }

  /* ---------- Hero ---------- */
  .hero { padding-block: 46px 30px; }
  .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
    color: var(--violet); font-weight: 700; margin-bottom: 16px;
  }
  .eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--violet); display: inline-block; }
  .hero h1 {
    font-family: var(--serif); font-weight: 500; font-optical-sizing: auto;
    font-size: clamp(38px, 6vw, 62px); line-height: 1.02; margin: 0 0 18px;
    letter-spacing: -.5px; text-wrap: balance;
  }
  .hero h1 em { font-style: italic; color: var(--violet); }
  .hero p.lead { font-size: 18px; color: var(--ink-soft); max-width: 46ch; margin: 0 0 26px; }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
  .btn {
    display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
    font-family: var(--sans); font-weight: 700; font-size: 15px;
    padding: 13px 22px; border-radius: 40px; border: 1px solid transparent;
    text-decoration: none; transition: .18s; line-height: 1;
  }
  .btn-primary { background: var(--violet); color: #fff; box-shadow: var(--shadow-soft); }
  .btn-primary:hover { background: var(--violet-deep); transform: translateY(-1px); }
  .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
  .btn-ghost:hover { border-color: var(--violet); color: var(--violet); }

  .hero-card {
    position: relative; border-radius: 26px; overflow: hidden;
    aspect-ratio: 4/5; max-width: 100%; box-shadow: var(--shadow);
    background: linear-gradient(150deg, var(--violet-soft), var(--surface-2));
    border: 1px solid var(--line);
  }
  .hero-card svg, .hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
  .hero-badge {
    position: absolute; left: 16px; bottom: 16px; z-index: 2;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    backdrop-filter: blur(6px);
    border: 1px solid var(--line); border-radius: 14px;
    padding: 10px 14px; font-size: 13px; color: var(--ink); box-shadow: var(--shadow-soft);
  }
  .hero-badge b { display: block; font-family: var(--serif); font-size: 15px; }

  /* ---------- Feature strip ---------- */
  .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-block: 8px 36px; }
  .feature {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  }
  .feature .fi { color: var(--violet); flex: 0 0 auto; margin-top: 2px; }
  .feature h3 { margin: 0 0 3px; font-size: 15px; font-weight: 800; }
  .feature p { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.4; }

  /* ---------- Catalog ---------- */
  .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
  .section-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 4vw, 36px); margin: 0; letter-spacing: -.3px; }
  .section-head p { margin: 4px 0 0; color: var(--ink-soft); font-size: 15px; }

  .filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
  .chip {
    font-family: var(--sans); font-weight: 700; font-size: 14px; cursor: pointer;
    padding: 9px 17px; border-radius: 30px; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink-soft); transition: .16s;
  }
  .chip:hover { border-color: var(--violet); color: var(--violet); }
  .chip[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: #fff; }

  .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
  .card {
    display: flex; flex-direction: column; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
    box-shadow: var(--shadow-soft); transition: transform .2s, box-shadow .2s;
  }
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .thumb { position: relative; aspect-ratio: 1/1; max-width: 100%; }
  .thumb svg, .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
  .tag {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    padding: 5px 10px; border-radius: 20px; color: #fff; background: rgba(0,0,0,.32);
    backdrop-filter: blur(4px);
  }
  .card-body { display: flex; flex-direction: column; gap: 6px; padding: 15px 16px 16px; flex: 1; }
  .card-body h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; margin: 0; line-height: 1.15; }
  .card-body .desc { font-size: 13.5px; color: var(--ink-soft); margin: 0; flex: 1; }
  .price-row { display: flex; flex-direction: column; align-items: stretch; gap: 11px; margin-top: 8px; }
  .price { font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
  .price .cur { font-size: 12px; color: var(--ink-soft); font-weight: 700; }
  .wa-btn {
    display: flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer;
    width: 100%; text-align: center;
    font-family: var(--sans); font-weight: 800; font-size: 14px;
    padding: 11px 14px; border-radius: 30px; border: none;
    background: var(--sage); color: #14261a; transition: .16s;
  }
  .wa-btn svg { flex: 0 0 auto; }
  .wa-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }

  .empty { text-align: center; color: var(--ink-soft); padding: 50px 0; grid-column: 1 / -1; }

  /* ---------- CTA banner ---------- */
  .cta-banner {
    margin-block: 56px; border-radius: 26px; padding: 44px 34px; text-align: center;
    background: linear-gradient(140deg, var(--violet-deep), var(--violet));
    color: #fff; box-shadow: var(--shadow);
  }
  .cta-banner h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 4vw, 38px); margin: 0 0 10px; }
  .cta-banner p { margin: 0 auto 22px; max-width: 52ch; opacity: .92; font-size: 16px; }
  .cta-banner .btn-primary { background: #fff; color: var(--violet-deep); }
  .cta-banner .btn-primary:hover { background: #f3e9f7; }

  /* ---------- Footer ---------- */
  footer.foot { border-top: 1px solid var(--line); background: var(--surface); }
  .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-block: 40px 24px; }
  .foot h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 12px; }
  .foot a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
  .foot a:hover { color: var(--violet); }
  .foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
  .foot .about p { color: var(--ink-soft); font-size: 14px; margin: 8px 0 0; max-width: 40ch; }
  .foot .about .brand { margin-bottom: 4px; }
  .foot-bottom { border-top: 1px solid var(--line); padding-block: 16px; font-size: 12.5px; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .foot-bottom .demo { color: var(--honey); font-weight: 700; }

  @media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero-card { max-width: 360px; }
    .features { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .foot .about { grid-column: 1 / -1; }
  }
  @media (max-width: 520px) {
    .hero { padding-block: 30px 20px; }
    .foot-grid { grid-template-columns: 1fr; }
    .price-row { flex-wrap: wrap; }
  }
  @media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
  }
