:root {
  --bg: #faf7f5;
  --card: #ffffff;
  --ink: #1d1a1a;
  --muted: #7a7070;
  --accent: #9b1c2c;
  --line: #ece6e3;
  --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.site-header { text-align: center; padding: 48px 20px 28px; }
.brand { font: 600 clamp(28px, 5vw, 42px)/1.1 Georgia, "Times New Roman", serif; letter-spacing: .02em; }
.tagline { margin: 8px 0 0; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.contact { margin: 14px 0 0; color: var(--accent); font-weight: 600; }

main { max-width: 1180px; margin: 0 auto; padding: 0 20px 40px; }

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(60, 20, 20, .10); }
.thumb { position: relative; aspect-ratio: 1; background: #eee; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 99px; }
.info { padding: 14px 16px 18px; }
.info h2 { margin: 0; font: 600 18px/1.3 Georgia, serif; }
.type { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.price { margin: 8px 0 0; color: var(--accent); font-weight: 700; font-size: 18px; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }

.back { display: inline-block; margin-bottom: 18px; color: var(--muted); }
.back:hover { color: var(--ink); }
.item { display: grid; gap: 36px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
.stage { border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 1; }
.stage img, .stage video { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.stage video { background: #000; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { position: relative; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; width: 74px; height: 74px; cursor: pointer; background: #ddd; }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 22px; background: rgba(0,0,0,.35); }
.details h1 { margin: 0; font: 600 clamp(26px, 4vw, 36px)/1.15 Georgia, serif; }
.details .type { font-size: 16px; margin-top: 8px; }
.details .price { font-size: 28px; margin-top: 16px; }
.order { margin-top: 28px; padding: 14px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }

.site-footer { text-align: center; color: var(--muted); font-size: 13px; padding: 30px 20px 40px; }

@media (max-width: 760px) {
  .item { grid-template-columns: 1fr; gap: 22px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .info { padding: 10px 12px 14px; }
  .info h2 { font-size: 15px; }
  .price { font-size: 16px; }
}
