/* Look of www.bubblepoint.com (bps-home first-paint.css, brand-tokens.json): light blue page,
   DreamingOutloud for headings, Arial for text, blue #00a8ec with pink #e3007b accents. */

@font-face {
  font-family: "DreamingOutloud";
  src: url("/static/bubblekassa.otf") format("opentype");
  font-display: swap;
}

:root {
  --blue: #00a8ec;
  --pink: #e3007b;
  --ink: #12283a;
  --muted: #5b6f80;
  --line: #dcebf4;
  --card: #ffffff;
  --page: #f5fafd;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(0, 168, 236, 0.16), transparent 60%),
    radial-gradient(600px 400px at 0% 40%, rgba(227, 0, 123, 0.1), transparent 60%),
    var(--page);
}

a { color: var(--blue); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

h1, h2 { font-family: "DreamingOutloud", Arial, sans-serif; font-weight: normal; line-height: 1.2; }
h1 { font-size: 2.2rem; margin: 0.2em 0; }
h2 { font-size: 1.5rem; margin: 0.2em 0 0.4em; }

.top { padding: 12px 0; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: "DreamingOutloud", Arial, sans-serif; font-size: 1.4rem; }
.brand em { font-style: normal; color: var(--pink); }
.top-link { font-size: 0.9rem; }

.hero { padding: 16px 0 8px; }
.hero p { color: var(--muted); max-width: 640px; }

.services {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-left: 5px solid var(--pink);
  border-radius: 14px;
  padding: 12px 18px;
  margin: 16px 0;
}
.services p { margin: 0.3em 0; }

.grid { list-style: none; padding: 0; margin: 16px 0 32px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; }
.card a { display: block; color: inherit; text-decoration: none; }
.card img, .noimg { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.noimg { display: flex; align-items: center; justify-content: center; color: var(--muted); }
.noimg.big { border-radius: 14px; }
.card-body { padding: 10px 14px 14px; }
.card h2 { font-family: Arial, sans-serif; font-size: 1.05rem; font-weight: bold; margin: 4px 0; }
.kind { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--pink); }
.num, .artnr { font-size: 0.85rem; color: var(--muted); }
.price { font-weight: bold; margin-top: 6px; }
.price.big { font-size: 1.5rem; color: var(--blue); margin: 8px 0 12px; }
.empty { color: var(--muted); margin: 32px 0; }

.back { margin: 8px 0; }
.item { display: grid; gap: 24px; grid-template-columns: 3fr 2fr; align-items: start; }
@media (max-width: 760px) { .item { grid-template-columns: 1fr; } h1 { font-size: 1.8rem; } }

.gallery { min-width: 0; }
.strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; border-radius: 14px; }
.strip figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; }
.strip img { display: block; width: 100%; max-height: 70vh; object-fit: contain; background: #fff; border-radius: 14px; }
.strip figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(18, 40, 58, 0.75); color: #fff; font-size: 0.8rem; padding: 3px 8px; border-radius: 99px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.thumbs img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; border: 1.5px solid var(--line); }

.data { border-collapse: collapse; width: 100%; }
.data th, .data td { text-align: left; vertical-align: top; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); }
.data th { font-weight: normal; color: var(--muted); width: 40%; }
.alt { color: var(--muted); font-size: 0.85em; }

.button, button {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 22px;
  border: 0;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: #fff;
  font: bold 1rem Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.text { margin: 24px 0; max-width: 760px; }

.inquiry { background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 24px 0 40px; max-width: 760px; }
.inquiry label { display: block; margin: 10px 0 0; font-size: 0.9rem; color: var(--muted); }
.inquiry input, .inquiry textarea { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 8px; font: 1rem Arial, sans-serif; color: var(--ink); }
.two { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.hint { font-size: 0.85rem; color: var(--muted); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ok { color: #13795b; font-weight: bold; }
.err { color: #b0003a; font-weight: bold; }

.foot { border-top: 1px solid var(--line); padding: 16px 0 24px; font-size: 0.85rem; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
