/* Lawo Homestay — frontend styles */
.lawo-widget { max-width: 480px; font-family: inherit; }
.lawo-unit { display: grid; gap: 24px; }
.lawo-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lawo-gallery-img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; }
.lawo-tagline { color: #b8860b; font-weight: 600; margin: 4px 0 12px; }
.lawo-meta { display: flex; gap: 16px; list-style: none; padding: 0; margin: 0 0 8px; }
.lawo-amenities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.lawo-amenities li { background: #f3f4f6; padding: 4px 10px; border-radius: 999px; font-size: 13px; }
.lawo-price-table { width: 100%; border-collapse: collapse; }
.lawo-price-table td { padding: 8px; border-bottom: 1px solid #eee; }
.lawo-price-table td:last-child { text-align: right; font-weight: 600; }

/* Calendar */
.lawo-calendar { border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; }
.lawo-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.lawo-cal-head button { background: none; border: 1px solid #ddd; border-radius: 8px; width: 32px; height: 32px; cursor: pointer; font-size: 18px; }
.lawo-cal-title { font-weight: 700; }
.lawo-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.lawo-cal-dow { text-align: center; font-size: 12px; color: #888; padding: 4px 0; }
.lawo-cal-cell { text-align: center; padding: 8px 0; border-radius: 8px; cursor: pointer; user-select: none; font-size: 14px; }
.lawo-cal-cell.empty { cursor: default; }
.lawo-cal-cell:not(.past):not(.booked):not(.empty):hover { background: #fef3c7; }
.lawo-cal-cell.past, .lawo-cal-cell.booked { color: #ccc; cursor: not-allowed; text-decoration: line-through; }
.lawo-cal-cell.booked { background: #fee2e2; color: #b91c1c; text-decoration: none; }
.lawo-cal-cell.selected { background: #b8860b; color: #fff; font-weight: 700; }
.lawo-cal-cell.in-range { background: #fde68a; }

.lawo-estimate { margin-top: 12px; }
.lawo-hint, .lawo-flash { color: #888; font-size: 14px; }
.lawo-flash { color: #b91c1c; }
.lawo-est-box { background: #f9fafb; border-radius: 10px; padding: 12px; display: grid; gap: 4px; }
.lawo-est-amount strong, .lawo-est-deposit strong { color: #b8860b; }

.lawo-book-btn, .lawo-submit { width: 100%; background: #b8860b; color: #fff; border: none; padding: 12px; border-radius: 10px; font-size: 16px; font-weight: 700; cursor: pointer; margin-top: 12px; }
.lawo-book-btn:disabled { background: #d1d5db; cursor: not-allowed; }

/* Modal */
.lawo-modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 16px; }
.lawo-modal[hidden] { display: none; }
.lawo-modal-box { background: #fff; border-radius: 16px; padding: 24px; max-width: 420px; width: 100%; position: relative; }
.lawo-modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 28px; cursor: pointer; line-height: 1; }
.lawo-form input { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; }
.lawo-form-summary { background: #f9fafb; padding: 12px; border-radius: 8px; margin: 8px 0; font-size: 14px; }
.lawo-form-error { color: #b91c1c; font-size: 14px; min-height: 18px; }

/* Thank you */
.lawo-thankyou { max-width: 480px; margin: 0 auto; text-align: center; padding: 32px 16px; }
.lawo-ty-success h2 { color: #15803d; }
