
* { box-sizing: border-box; }
:root {
  --bg: #fff;
  --fg: #000;
  --muted: #222;
  --border: #ddd;
}
html, body { margin:0; padding:0; background:var(--bg); color:var(--fg); font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
a { color: var(--fg); text-decoration: none; }
a:hover { text-decoration: underline; }
header { position: sticky; top:0; z-index:10; background: var(--bg); border-bottom:1px solid var(--border); box-shadow: 0 1px 0 var(--border); backdrop-filter: blur(6px); }
.nav { max-width: 1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; padding: 14px 20px; gap:16px; }
.brand { display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing: .05em; }
.brand img { height:40px; width:auto; filter: grayscale(100%) contrast(1.2); }
.navlinks { display:flex; gap:10px; flex-wrap:wrap; }
.navlinks a { padding:8px 14px; border:1.5px solid var(--fg); border-radius:999px; font-size:14px; font-weight:700; background:#fff; transition: background .2s ease, color .2s ease, transform .1s ease; }
.navlinks a:hover { background: var(--fg); color:#fff; transform: translateY(-1px); }
.navlinks a.active { background: var(--fg); color:#fff; }

.hero { position:relative; }
.hero img { width:100%; height: clamp(220px, 40vw, 520px); object-fit: cover; filter: grayscale(100%); }
.overlay { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.overlay h1 { background: rgba(255,255,255,0.9); padding: 12px 18px; border-radius: 8px; font-size: clamp(22px, 4vw, 42px); text-transform: uppercase; letter-spacing:.12em; }

.slideshow { max-width:1200px; margin: 16px auto 10px; position: relative; overflow: hidden; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.slide-track { display:flex; transition: transform .6s ease-in-out; }
.slide { min-width: clamp(200px, 24vw, 280px); padding:10px; }
.slide img { width:100%; height: 200px; object-fit: cover; border:1px solid var(--border); border-radius: 8px; } /* COLOR: no grayscale */
.slide .caption { font-size: 12px; margin-top:6px; color: var(--muted); }
.controls { position:absolute; top:40%; width:100%; display:flex; justify-content:space-between; pointer-events: none; }
.control { background:#fff; color:#000; border:1px solid var(--border); width:36px; height:36px; display:grid; place-items:center; border-radius:50%; user-select:none; pointer-events: auto; box-shadow: 0 2px 10px rgba(0,0,0,.06); cursor:pointer; }

.search { max-width:1200px; margin: 8px auto 0; padding: 0 12px; }
.search input { width:100%; padding:10px 12px; border:1px solid var(--border); font-size:14px; }

.section { max-width:1200px; margin: 24px auto; padding: 0 12px; }
.cat-head { display:flex; align-items:baseline; justify-content:space-between; }
.cat-head h2 { font-size: 24px; text-transform: uppercase; letter-spacing:.07em; }
.badge { font-size: 12px; border:1px solid var(--border); padding: 4px 8px; border-radius: 999px; font-weight:600; }

.grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap:16px; margin-top:12px; }
.card { border:1px solid var(--border); background:#fff; border-radius: 10px; overflow:hidden; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.card img { width:100%; height: 220px; object-fit: cover; display:block; border-bottom:1px solid var(--border); } /* COLOR: no grayscale */
.card .info { padding:12px; }
.name { font-weight: 600; font-size:14px; min-height: 46px; }
.price { font-size: 13px; color: var(--muted); margin-top: 6px; }
.cta { margin-top: 12px; display:inline-flex; align-items:center; gap:8px; border:1.5px solid var(--fg); padding:8px 12px; border-radius:999px; font-size: 12px; text-transform: uppercase; letter-spacing:.08em; background: var(--fg); color: #fff; }
.cta::after { content: "➜"; font-size: 12px; }

footer { border-top:1px solid var(--border); padding: 30px 16px; text-align:center; color: var(--muted); }

/* --- Mobile-friendly tuning --- */
@media (max-width: 640px) {
  .nav { padding: 8px 12px; gap: 10px; }
  .brand img { height: 28px; }
  .brand span { font-size: 14px; letter-spacing: .04em; }
  .navlinks { flex-wrap: nowrap; white-space: nowrap; overflow-x: auto; gap: 8px; scrollbar-width: none; -ms-overflow-style: none; }
  .navlinks::-webkit-scrollbar { display:none; }
  .navlinks a { padding: 6px 10px; font-size: 12px; border-width: 1px; }
  .hero img { height: clamp(160px, 36vw, 280px); object-fit: cover; }
  .overlay h1 { font-size: clamp(18px, 5vw, 28px); padding: 10px 14px; border-radius: 6px; }
  .slideshow { margin: 12px auto 6px; }
  .slide { min-width: clamp(160px, 70vw, 240px); padding: 8px; }
  .slide img { height: 160px; object-fit: contain; background:#fff; }
  .slide .caption { font-size: 11px; }
  .section { margin: 16px auto; padding: 0 10px; }
  .grid { gap: 12px; }
  .card img { height: 160px; object-fit: contain; background:#fff; }
  .name { font-size: 13px; }
  .price { font-size: 12px; }
  .cta { padding: 7px 10px; font-size: 11px; }
}
@media (max-width: 400px) {
  .brand span { display: none; }
  .nav { padding: 6px 10px; }
  .navlinks a { padding: 5px 9px; font-size: 11px; }
  .card img { height: 150px; }
  .slide img { height: 150px; }
}
