/* LaserMarking.store — base styles */
:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --ink: #1b1d21;
  --muted: #5d636d;
  --line: #e2e0da;
  --accent: #d9480f;        /* laser orange */
  --accent-ink: #ffffff;
  --accent-soft: #fff0e8;
  --dark: #16181c;
  --radius: 10px;
  --max: 1160px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.05);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121316; --surface: #1b1d21; --ink: #ecebe7; --muted: #a2a7b0;
    --line: #2c2f35; --accent: #ff6b2c; --accent-soft: #2a1a12; --dark: #0b0c0e;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); line-height: 1.55; font-size: 16px;
  min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }

/* Header */
.site-header { background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: #d8d8d8; text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 640px) {
  .site-header .wrap { padding-top: 8px; padding-bottom: 8px; }
  .nav { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .nav a { white-space: nowrap; padding: 6px 10px; }
}

/* Hero */
.hero { background: var(--dark); color: #fff; padding: 64px 0 72px; }
.hero p { color: #c9c9c9; font-size: 1.1rem; max-width: 620px; }
.hero .beam { height: 3px; width: 120px; background: linear-gradient(90deg, var(--accent), transparent); margin-bottom: 20px; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 8px;
  padding: 12px 20px; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .55; cursor: not-allowed; filter: none; }
.btn.ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* Sections */
section.block { padding: 56px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cards3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.1rem; }

/* Product cards */
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.product:hover { border-color: var(--accent); }
.product .thumb { aspect-ratio: 1/1; background: var(--accent-soft); display: grid; place-items: center; color: var(--muted); font-size: .85rem; }
.product .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product .body { padding: 14px 16px 16px; }
.product .title { font-weight: 600; margin-bottom: 4px; }
.product .meta { color: var(--muted); font-size: .85rem; }
.product .price { font-weight: 700; margin-top: 6px; }
.empty { padding: 40px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* Filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filters input, .filters select { flex: 1 1 200px; }

/* Forms */
form.stack { display: grid; gap: 14px; max-width: 640px; }
.row2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
label small { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--ink); width: 100%; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 12px 14px; border-radius: 8px; background: var(--accent-soft); border: 1px solid var(--accent); }
.notice.error { background: #fdecec; border-color: #c92a2a; color: #7a1313; }

/* Plans */
.plan { text-align: center; }
.plan .price { font-size: 1.6rem; font-weight: 800; margin: 8px 0; }

/* Product page */
.pdp { display: grid; gap: 32px; grid-template-columns: 1.1fr 1fr; padding: 40px 0; }
@media (max-width: 800px) { .pdp { grid-template-columns: 1fr; } }
.pdp .gallery { background: var(--accent-soft); border-radius: var(--radius); aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; }
.pdp .gallery img { width: 100%; height: 100%; object-fit: cover; }
.pdp .price { font-size: 1.6rem; font-weight: 800; margin: 8px 0 16px; }
.badge { display: inline-block; font-size: .78rem; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }

/* Footer */
.site-footer { background: var(--dark); color: #a9a9a9; padding: 36px 0; margin-top: 56px; font-size: .9rem; }
.site-footer .wrap { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.site-footer a { color: #d8d8d8; text-decoration: none; margin-right: 14px; }
.site-footer a:hover { color: #fff; }
