/* Vettamo */
:root {
  --ink: #1c1d3a;
  --navy: #2b2d6e;
  --muted: #5f6178;
  --brand: #4f53cc;
  --brand-dark: #2b2d6e;
  --brand-soft: #eceefd;
  --accent: #ffc94a;
  --accent-ink: #4a3300;
  --bg: #f5f6fa;
  --card: #fff;
  --line: #e3e5ef;
  --radius: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 34px; }
.brand b { font-size: 25px; font-weight: 800; letter-spacing: -1px; color: var(--navy); }
.top-search { flex: 1; max-width: 460px; margin-left: auto; position: relative; }
.top-search input { width: 100%; height: 42px; padding: 0 14px 0 40px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font: inherit; color: var(--ink); }
.top-search input:focus { outline: 2px solid var(--brand); background: #fff; }
.top-search svg { position: absolute; left: 14px; top: 12px; width: 18px; height: 18px; color: var(--muted); }
.top-link { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--brand); white-space: nowrap; }

/* hero */
.hero { padding: 34px 0 6px; }
.hero h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.hero p { margin: 8px 0 0; color: var(--muted); font-size: 16px; max-width: 620px; }

/* stat tiles */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0 8px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; display: flex; align-items: center; gap: 14px; transition: border-color .15s, transform .15s; }
.stat:hover { border-color: var(--brand); transform: translateY(-1px); }
.stat .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.stat .ico svg { width: 22px; height: 22px; }
.stat.hot .ico { background: #fff2d6; color: #b07a00; }
.stat b { display: block; font-size: 24px; font-weight: 800; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 13.5px; }

h2.sec { font-size: 21px; font-weight: 800; letter-spacing: -.4px; margin: 34px 0 14px; display: flex; align-items: baseline; justify-content: space-between; }
h2.sec a { font-size: 14px; font-weight: 600; color: var(--brand); text-decoration: none; letter-spacing: 0; }

/* category tiles */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.cat:hover { box-shadow: 0 10px 28px rgba(19, 32, 28, .1); transform: translateY(-2px); }
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1px; background: var(--line); height: 210px; }
.collage div { background: #fff; display: grid; place-items: center; overflow: hidden; min-height: 0; }
.collage img { width: 76%; height: 76%; object-fit: contain; }
.cat-body { padding: 14px 16px 16px; }
.cat-body h3 { margin: 0; font-size: 17px; font-weight: 700; }
.cat-body p { margin: 3px 0 0; color: var(--muted); font-size: 13.5px; }
.cat-body .count { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--brand); }

/* product tiles */
.crumbs { padding: 22px 0 0; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--brand); text-decoration: none; font-weight: 600; }
.page-head h1 { margin: 6px 0 2px; font-size: 30px; font-weight: 800; letter-spacing: -.8px; }
.page-head p { margin: 0 0 20px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s; }
.prod:hover { box-shadow: 0 10px 28px rgba(19, 32, 28, .1); }
.prod.pick { border: 2px solid var(--accent); }
.prod .img { aspect-ratio: 1; background: #fff; display: block; padding: 18px; border-bottom: 1px solid var(--line); overflow: hidden; }
.prod .img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); letter-spacing: .2px; }
.badge.drop { background: #d92d20; color: #fff; }
.prod-body { padding: 13px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-body h3 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.35; }
.prod-body .note { margin: 0; font-size: 13.5px; color: var(--muted); background: var(--brand-soft); border-radius: 8px; padding: 8px 10px; }
.prod-body .list { font-size: 12.5px; color: var(--muted); }
.buy { margin-top: auto; display: block; text-align: center; text-decoration: none; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; padding: 10px; border-radius: 10px; }
.buy:hover { background: var(--brand-dark); }
.price { font-weight: 800; font-size: 17px; }
.price small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.generic-note { margin: 0; padding: 7px 12px; font-size: 12px; line-height: 1.35; color: #8a5a00; background: #fff6df; border-bottom: 1px solid var(--line); }
.designed { width: 100%; height: 100%; border-radius: 10px; display: grid; place-items: center; color: var(--navy); }
.designed svg { width: 42%; height: 42%; opacity: .8; }
.collage .designed { border-radius: 0; }
.collage .designed svg { width: 40%; height: 40%; }
.collage > div:has(.designed) { padding: 0; }

/* elsewhere */
.else { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.else div { background: var(--card); border: 1px dashed #c7d1ce; border-radius: var(--radius); padding: 16px; }
.else b { display: block; }
.else span { color: var(--muted); font-size: 13.5px; }

.empty { color: var(--muted); padding: 30px 0; }
.credits { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px 14px 34px; line-height: 1.8; font-size: 14px; }
.credits a, .foot a { color: var(--brand); }
.foot { color: var(--muted); font-size: 13px; padding: 40px 20px 50px; }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
/* category chips: quick jump between categories, scrolls sideways on small screens */
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 16px 20px 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.show-sm { display: none; }
.chips a { flex: none; text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.chips a.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* no lift effects on touch screens, they stick after a tap */
@media (hover: none) {
  .stat:hover, .cat:hover { transform: none; box-shadow: none; }
  .prod:hover { box-shadow: none; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .chips { margin: 0 -16px; padding: 12px 16px 2px; }
  .top-in { height: auto; flex-wrap: wrap; padding: 8px 16px 10px; gap: 8px 12px; }
  .brand img { width: 30px; height: 27px; }
  .brand b { font-size: 21px; }
  .top-link { margin-left: auto; font-size: 13px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .top-search { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
  .top-search input { height: 40px; font-size: 16px; } /* 16px stops iPhones zooming in on focus */
  .top-search svg { top: 11px; }
  .hero { padding: 18px 0 0; }
  .hero h1 { font-size: 24px; letter-spacing: -.6px; }
  .hero p { font-size: 14.5px; margin-top: 4px; }
  .stats { gap: 8px; margin: 16px 0 4px; }
  .stat { padding: 10px; gap: 10px; }
  .stat .ico { width: 34px; height: 34px; border-radius: 10px; }
  .stat .ico svg { width: 18px; height: 18px; }
  .stat b { font-size: 19px; }
  .stat span { font-size: 12.5px; line-height: 1.3; }
  h2.sec { font-size: 18px; margin: 24px 0 10px; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .collage { height: 128px; }
  .collage img { width: 82%; height: 82%; }
  .cat-body { padding: 9px 11px 11px; }
  .cat-body h3 { font-size: 14.5px; line-height: 1.3; }
  .cat-body p { display: none; }
  .cat-body .count { margin-top: 4px; font-size: 12.5px; }
  .else { grid-template-columns: 1fr; gap: 8px; }
  .else div { padding: 12px 14px; }
  .crumbs { padding-top: 12px; }
  .page-head h1 { font-size: 24px; margin-top: 2px; }
  .page-head p { margin-bottom: 14px; font-size: 14px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod .img { padding: 10px; }
  .prod-body { padding: 10px; gap: 6px; }
  .prod-body h3 { font-size: 13.5px; }
  .prod-body .note { font-size: 12.5px; padding: 6px 8px; }
  .badge { font-size: 10.5px; padding: 2px 7px; }
  .badges { top: 7px; left: 7px; }
  .price { font-size: 16px; }
  .price small { font-size: 10.5px; line-height: 1.3; }
  .buy { padding: 11px 6px; font-size: 13.5px; }
  .generic-note { font-size: 11px; padding: 6px 9px; }
  .foot { padding: 30px 16px 40px; font-size: 12px; }
}
