* { box-sizing: border-box; }
body { margin:0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; background:#faf9f6; color:#222; }
.container { max-width: 980px; margin: 24px auto; padding: 0 16px; }
.site-header { background:#fff; border-bottom:1px solid #eee; }
.site-header .container { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; }
.brand { margin:0; font-size:22px; }
nav a { margin-left: 12px; color:#1a1a1a; text-decoration:none; }
nav a:hover { text-decoration:underline; }
.site-footer { border-top:1px solid #eee; margin-top:24px; background:#fff; }
.site-footer .container { padding:12px 16px; color:#777; font-size:12px; }
.card { background:#fff; border:1px solid #eee; border-radius:16px; padding:16px; margin:16px 0; box-shadow:0 2px 12px rgba(0,0,0,0.04); }
.lead { color:#444; }
.cta-row { display:flex; gap:10px; margin-top:8px; }
.menu-list { list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.menu-list li h4 { margin:0 0 4px; }
.bullets { margin:0; padding-left:18px; }
.grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
label { display:flex; flex-direction:column; gap:6px; font-size:14px; }
input, select, textarea { padding:10px 12px; border:1px solid #ddd; border-radius: 10px; font-size: 14px; background:#fff; }
textarea { resize: vertical; }
.btn { display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius: 999px; border:1px solid #ddd; background:#fff; cursor:pointer; text-decoration:none; }
.btn:hover { background:#f5f5f5; }
.btn.primary { background:#1f7a5b; color:#fff; border-color:#1f7a5b; }
.btn.primary:hover { filter: brightness(0.95); }
.btn.danger { background:#fff3f3; border-color:#ffcccc; color:#a33; }
.item-row { border:1px dashed #e5e5e5; border-radius: 12px; padding:12px; margin-bottom:12px; }
.row-bottom { display:flex; align-items:center; justify-content:space-between; }
.price { display:flex; gap:16px; color:#333; }

.totals { display:grid; gap:8px; max-width:360px; }
.totals div { display:flex; align-items:center; justify-content:space-between; }
.totals .total { border-top:1px solid #eee; padding-top:8px; font-size: 18px; }
.hint { margin-top:6px; color:#777; font-size:12px; }
.result { margin-top:10px; min-height: 24px; }

/* Gallery */
.gallery { display:flex; gap:12px; margin:12px 0; }
.gallery-main { flex: 1 1 auto; min-width: 0; }
.gallery-main img { width:100%; height:auto; border-radius:12px; border:1px solid #eee; display:block; }
.gallery-thumbs { display:flex; gap:8px; flex-wrap:wrap; width: 240px; }
.gallery-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border:1px solid #ddd; cursor:pointer; }
.gallery-thumbs img.active { outline: 2px solid #1f7a5b; }

@media (max-width:900px){
  .gallery { flex-direction: column; }
  .gallery-thumbs { width:auto; }
}

@media (max-width:760px){
  .grid, .grid-3 { grid-template-columns: 1fr; }
  .row-bottom { flex-direction: column; align-items: flex-start; gap:10px; }
}
