:root { --bg: #f7fafc; --card: #ffffff; --text: #1a202c; --muted: #4a5568; --accent: #2b6cb0; --border: #e2e8f0; }
html, body { height: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial; background: var(--bg); color: var(--text); line-height: 1.6; }
.container { max-width: 980px; margin: 0 auto; padding: 40px 20px 80px; }
header { text-align: center; margin-bottom: 28px; }
h1 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 8px 0; letter-spacing: .3px; }
.h2 { margin:8px 12px 0; font-size:20px; }
.subtitle { color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
table { width: 100%; border-collapse: collapse; margin-top: 4px; }
thead th { text-align: left; font-weight: 700; padding: 14px 12px; border-bottom: 2px solid var(--border); background: #f9fbfd; }
tbody td { padding: 14px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:hover { background: #f8fafc; }
.price { font-weight: 700; white-space: nowrap; }
.thumb { width: 120px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); cursor: zoom-in; display:block; }
.gallery-cell { display:flex; align-items:center; gap:12px; }
.contact { margin-top: 24px; display: grid; grid-template-columns: 1fr; gap: 10px; font-size: 18px; }
.contact .label { color: var(--muted); margin-right: 6px; }
.footer { margin-top: 28px; font-size: 14px; color: var(--muted); text-align: center; }
.badge { display:inline-block; background:#eef2f7; color:var(--accent); padding:6px 10px; border-radius:999px; font-size:12px; border:1px solid var(--border); }
/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.8); display: none; align-items:center; justify-content:center; z-index: 1000; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 12px; box-shadow: 0 12px 36px rgba(0,0,0,.5); }
.lightbox .close { position: absolute; top: 18px; right: 18px; background: #fff; border: none; border-radius: 999px; padding: 8px 12px; cursor: pointer; font-weight: 700; }
/* RWD */
@media (max-width: 640px) {
  table, thead, tbody, th, td, tr { display: block; }
  thead { display: none; }
  tbody td { border: none; padding: 8px 0; }
  tbody tr { margin-bottom: 18px; border-bottom: 2px solid var(--border); padding-bottom: 12px; }
  .gallery-cell { justify-content:flex-start; }
}
