/* Shared styles for SetUpShop Online demo sites (fictional businesses). Each page sets its own theme vars. */
*, *::before, *::after { box-sizing: border-box; }
:root { --bg: #fff; --ink: #1b1b1b; --ink2: #555; --accent: #c2410c; --accent-ink: #fff; --soft: #f6f1ea; --line: #e7e2da; --radius: 14px; --font-h: Georgia, serif; --font-b: system-ui, -apple-system, "Segoe UI", sans-serif; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font-b); -webkit-font-smoothing: antialiased; padding-bottom: 46px; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-h); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
p { margin: 0 0 1em; }
.w { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sec { padding: clamp(48px, 8vw, 88px) 0; }
.soft { background: var(--soft); }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; border: 2px solid var(--accent); cursor: pointer; font-size: .98rem; }
.btn.alt { background: transparent; color: var(--ink); border-color: currentColor; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .w { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.logo { font: 700 1.25rem var(--font-h); color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo .mk { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 1rem; }
.links { display: flex; align-items: center; gap: 4px; }
.links a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.links a:hover { background: var(--soft); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-size: 1.2rem; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); padding: 10px 20px 18px; border-bottom: 1px solid var(--line); }
  .links.open { display: flex; }
}
/* grids & cards */
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: center; }
@media (max-width: 760px) { .g3, .g2 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 1.2rem; }
.muted { color: var(--ink2); }
.ph { border-radius: var(--radius); min-height: 220px; position: relative; overflow: hidden; }
.ph::after { content: attr(data-l); position: absolute; left: 12px; bottom: 10px; font: 600 .72rem var(--font-b); color: rgba(255,255,255,.9); letter-spacing: .04em; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
form.f { display: grid; gap: 12px; }
form.f input, form.f select, form.f textarea { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; background: #fff; }
.note { font-size: .86rem; color: var(--ink2); }
.foot { padding: 32px 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink2); }
/* demo label (always visible) */
.demo-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; background: #0a1222; color: #e8edf6; font: 500 13px/1.3 system-ui, sans-serif; text-align: center; }
.demo-bar b { background: #2ee6d1; color: #0a1222; padding: 3px 8px; border-radius: 999px; font-size: 11px; letter-spacing: .06em; }
.demo-bar a { color: #9ff3e9; }
.in-frame .demo-bar { display: none; }
.in-frame body { padding-bottom: 0; }
.demo-toast { margin-top: 10px; padding: 10px 14px; border-radius: 10px; background: var(--soft); font-size: .92rem; }
