﻿:root {
  --bg: #fffaf5;
  --surface: #fff;
  --ink: #2b211e;
  --accent: #cf5d3f;
  --accent-deep: #a63e26;
  --shadow: 0 18px 45px rgba(43, 33, 30, 0.15);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Manrope", sans-serif; color: var(--ink); background: radial-gradient(circle at 0% 0%, #ffe5d7 0, transparent 35%), var(--bg); }
h1, h2, .logo { font-family: "Playfair Display", serif; }
.container { width: min(1080px, 92%); margin: 0 auto; }
.site-header { border-bottom: 1px solid rgba(43, 33, 30, 0.1); background: rgba(255, 250, 245, 0.95); position: sticky; top: 0; z-index: 20; }
.site-header .container { min-height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { text-decoration: none; color: var(--ink); font-size: 1.6rem; font-weight: 700; }
.logo span { color: var(--accent); }
nav { display: flex; gap: 1rem; }
nav a { text-decoration: none; color: var(--ink); font-weight: 700; }
.menu-toggle { display: none; background: var(--accent); border: 0; border-radius: 999px; color: #fff; padding: 0.45rem 0.9rem; font-weight: 700; }
.hero { padding: 2.2rem 0 1rem; }
.content { padding: 1rem 0 2.4rem; }
.grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.2rem; }
.review-list { display: grid; gap: 0.9rem; }
.review-item { background: var(--surface); border: 1px solid rgba(43, 33, 30, 0.1); border-radius: 16px; padding: 1rem; box-shadow: 0 10px 26px rgba(43, 33, 30, 0.08); }
.review-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; }
.review-item h3 { margin: 0; }
.review-meta { color: #6a5a52; font-size: 0.9rem; }
.review-form { background: #fff; border: 1px solid rgba(43, 33, 30, 0.1); border-radius: 16px; box-shadow: var(--shadow); padding: 1rem; display: grid; gap: 0.5rem; align-content: start; }
.review-form input, .review-form select, .review-form textarea { width: 100%; border: 1px solid rgba(43, 33, 30, 0.2); border-radius: 10px; padding: 0.6rem; font: inherit; }
.review-form button { margin-top: 0.4rem; border: 0; border-radius: 999px; padding: 0.75rem 1rem; font-weight: 800; color: #fff; background: linear-gradient(120deg, var(--accent), var(--accent-deep)); cursor: pointer; }
.empty { background: #fff; border-radius: 14px; border: 1px dashed rgba(43, 33, 30, 0.25); padding: 1rem; }
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  nav { position: absolute; top: 72px; right: 4%; background: #fff; border: 1px solid rgba(43, 33, 30, 0.12); border-radius: 14px; box-shadow: var(--shadow); padding: 0.7rem; display: none; flex-direction: column; min-width: 180px; }
  nav.open { display: flex; }
}

.delete-review-btn {
  margin-top: 0.6rem;
  border: 1px solid rgba(166, 62, 38, 0.35);
  background: #fff;
  color: #8f3d28;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.delete-review-btn:hover {
  background: rgba(207, 93, 63, 0.08);
}

.feedback-layer {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.feedback-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 33, 30, 0.38);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.feedback-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  width: min(420px, 90vw);
  background: #fff;
  border: 1px solid rgba(43, 33, 30, 0.14);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 22px 48px rgba(43, 33, 30, 0.22);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.feedback-modal h3 {
  margin: 0 0 0.35rem;
}

.feedback-modal p {
  margin: 0 0 0.65rem;
}

.feedback-modal input {
  width: 100%;
  border: 1px solid rgba(43, 33, 30, 0.2);
  border-radius: 10px;
  padding: 0.6rem;
  font: inherit;
}

.feedback-actions {
  margin-top: 0.7rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.feedback-btn {
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.feedback-btn.ghost {
  border: 1px solid rgba(43, 33, 30, 0.2);
  background: #fff;
}

.feedback-btn.solid {
  border: 0;
  color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
}

.feedback-layer.open {
  pointer-events: auto;
}

.feedback-layer.open .feedback-backdrop {
  opacity: 1;
}

.feedback-layer.open .feedback-modal {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.feedback-toast {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(380px, 86vw);
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  font-weight: 800;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 18px 38px rgba(43, 33, 30, 0.25);
}

.feedback-toast.ok {
  background: linear-gradient(120deg, #3f9f56, #2f7d43);
}

.feedback-toast.error {
  background: linear-gradient(120deg, #cc4d45, #a53832);
}

.feedback-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
