/* gridandfloss.com: cream, terracotta, wood. System fonts only (nothing loaded from third parties). */
:root { --bg: #F7F0E4; --panel: #FFFBF4; --ink: #3A2A20; --muted: #7A6455; --line: #E6D8C2; --red: #C44E3E; --red-d: #A63E30; --wood: #CDA070;
  --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif; --sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: var(--red-d); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.2; }
h1 { font-size: 30px; margin: 0 0 10px; }
h2 { font-size: 22px; margin: 34px 0 12px; }
.small { font-size: 14px; color: var(--muted); }

.top { background: var(--panel); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font: 600 18px var(--serif); white-space: nowrap; }
.brand img { width: 32px; height: 32px; }
.top nav { display: flex; gap: 14px; }
.top nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
@media (max-width: 380px) { .top nav a[href="/about/"] { display: none; } }
@media (min-width: 760px) { .brand { font-size: 21px; gap: 10px; } .brand img { width: 36px; height: 36px; } .top nav { gap: 20px; } }
.top nav a:hover { color: var(--red); }

.btn { display: inline-block; background: var(--red); color: #fff; border: 0; border-radius: 10px; padding: 13px 22px; font: 600 16px var(--sans);
  text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--red-d); }
.btn.buy { width: 100%; font-size: 18px; padding: 15px 22px; }
.btn.buy b { margin-left: 6px; }
.soon { background: var(--panel); border: 1px dashed var(--wood); border-radius: 10px; padding: 12px 14px; margin: 0; }

.hero { display: grid; gap: 20px; padding: 26px 0 8px; align-items: center; }
.hero h1 { font-size: 29px; }
.hero p { margin: 0 0 14px; font-size: 17px; }
.himg img { border-radius: 14px; border: 1px solid var(--line); }
@media (min-width: 760px) { .hero { grid-template-columns: 1.1fr 1fr; gap: 40px; padding-top: 44px; } .hero h1 { font-size: 42px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.chip { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; color: var(--ink); text-decoration: none; font: 15px var(--sans); cursor: pointer; }
.chip span { color: var(--muted); margin-left: 4px; }
.chip.on, .chip:hover { border-color: var(--red); color: var(--red-d); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--ink); text-decoration: none; }
.card:hover { border-color: var(--wood); }
.card img { aspect-ratio: 1; object-fit: cover; }
.cname { font-weight: 600; padding: 10px 12px 0; line-height: 1.3; }
.cmeta { font-size: 13px; color: var(--muted); padding: 2px 12px 0; }
.cprice { font-weight: 600; color: var(--red-d); padding: 4px 12px 12px; margin-top: auto; }

.why { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px 10px; margin: 40px 0 10px; }
.why h2 { margin-top: 18px; }

.ph { margin-top: 26px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 18px 0 12px; }
.crumbs a { color: var(--muted); }
.pp { display: grid; gap: 22px; }
.pp > * { min-width: 0; }   /* the thumbnail strip must scroll, not widen the page */
@media (min-width: 860px) { .pp { grid-template-columns: 1.15fr 1fr; gap: 40px; } .info { position: sticky; top: 16px; align-self: start; } }
#main { border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
/* phones: one scrolling row of thumbnails, so title, price and Buy come right after the big picture */
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs a { flex: 0 0 64px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; }
@media (min-width: 860px) { .thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; } }
.thumbs a.on { border-color: var(--red); }
.info h1 { font-size: 28px; margin-bottom: 2px; }
.sub { color: var(--muted); margin: 0 0 12px; }
.price { font: 600 28px var(--serif); margin: 6px 0 12px; }
.price span { font: 14px var(--sans); color: var(--muted); }
.meta { font-weight: 600; margin: 16px 0 8px; }
.info h2 { font-size: 19px; margin: 24px 0 8px; }
.info ul { padding-left: 20px; margin: 0; }

.msg { padding: 40px 0 20px; max-width: 680px; }
.lead { font: 600 20px var(--serif); }
.dls { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.said { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 14px; }

.search { display: flex; gap: 8px; margin: 10px 0 16px; max-width: 560px; }
.search input { flex: 1; min-width: 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font: 16px var(--sans); background: var(--panel); color: var(--ink); }
.search button { border: 1px solid var(--red); background: none; color: var(--red-d); border-radius: 10px; padding: 0 16px; font: 600 15px var(--sans); cursor: pointer; }

.legal { max-width: 760px; padding: 18px 0 10px; }
.legal h1 { margin-top: 18px; }

footer { margin-top: 56px; border-top: 1px solid var(--line); background: var(--panel); }
.foot { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 22px 16px 90px; font-size: 14px; color: var(--muted); }
.foot a { color: var(--muted); }

#ckbox { position: fixed; left: 16px; bottom: 16px; z-index: 50; max-width: 320px; margin-right: 16px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.4; color: var(--ink); box-shadow: 0 6px 24px rgba(58, 42, 32, .18); }
#ckbox[hidden] { display: none; }
.ckb { display: flex; gap: 8px; margin-top: 10px; }
.ckb button { flex: 1; padding: 7px 0; border-radius: 8px; border: 1px solid var(--wood); background: none; color: inherit; font: inherit; cursor: pointer; }
