:root {
  --coffee-green: #126b54;
  --coffee-green-dark: #0f5a47;
  --coffee-cream: #f7f4ef;
  --coffee-brown: #3a2f2f;
  --coffee-brown-light: #6f5b4b;
  --coffee-text: #1f1b18;
  --max-width: 1100px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--coffee-text);
  background: #faf7f2;
}

.notice-bar {
  background: #fff7ed;
  color: #7c2d12;
  border-bottom: 1px solid rgba(124, 45, 18, 0.25);
  padding: 0.6rem 1rem;
  text-align: center;
  font-weight: 700;
}

body.error-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--coffee-cream);
}

body.error-page .site-header {
  position: static;
  background: rgba(247, 244, 239, 0.92);
  border-bottom: 1px solid rgba(18, 107, 84, 0.12);
}

body.error-page .site-header .inner {
  justify-content: center;
}

.error-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background: radial-gradient(circle at top, rgba(18, 107, 84, 0.12), transparent 55%);
}

.error-card {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 3.25rem);
  text-align: center;
  box-shadow: 0 30px 60px rgba(18, 107, 84, 0.12);
  border: 1px solid rgba(18, 107, 84, 0.12);
}

.error-code {
  font-family: 'Merriweather', serif;
  font-size: clamp(3rem, 10vw, 5rem);
  color: var(--coffee-green);
  margin: 0 0 0.25rem;
}

.error-heading {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  margin: 0 0 1rem;
  color: var(--coffee-brown);
}

.error-text {
  margin: 0 0 1.75rem;
  line-height: 1.7;
  color: var(--coffee-brown-light);
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.error-note {
  font-size: 0.9rem;
  color: rgba(31, 27, 24, 0.7);
  margin: 0;
}

a {
  color: inherit;
}

a:hover,
button:hover {
  opacity: 0.9;
}

p {
  margin: 0 0 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 239, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(18, 107, 84, 0.1);
}

.site-header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--coffee-green);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-nav button {
  border: none;
  background: transparent;
  font: inherit;
  color: var(--coffee-brown);
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav button:hover,
.site-nav button:focus-visible,
.site-nav button.active {
  background: var(--coffee-green);
  color: #fff;
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 92vh;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(18, 107, 84, 0.7), rgba(15, 66, 52, 0.65));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 1rem;
  max-width: 650px;
}

.hero-content h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.pressure-text {
  display: inline-flex;
  gap: 0.02em;
  flex-wrap: wrap;
  transition: transform 0.3s ease;
}

.pressure-text span {
  display: inline-block;
  transform-origin: center;
  animation: pressure 2.4s ease-in-out infinite;
  animation-delay: calc(0.045s * var(--index));
}

.pressure-text span:nth-child(even) {
  animation-direction: reverse;
}

@keyframes pressure {
  0% {
    transform: scale3d(0.95, 1.05, 1);
  }
  35% {
    transform: scale3d(1.08, 0.92, 1);
  }
  70% {
    transform: scale3d(0.98, 1.04, 1);
  }
  100% {
    transform: scale3d(1.05, 0.95, 1);
  }
}

.type-text {
  position: relative;
  display: inline-block;
  min-width: 12ch;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
}

.type-text.is-typing {
  animation: typing var(--type-duration, 4s) steps(var(--type-steps, 30)) forwards, caret 0.8s steps(1) infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes caret {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: rgba(255, 255, 255, 0.75);
  }
}

.hero-actions {
  display: flex;
  justify-content: center;
}

.btn {
  border: none;
  background: var(--coffee-green);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 16px 30px rgba(18, 107, 84, 0.25);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(18, 107, 84, 0.3);
}

.btn-outline {
  border: 2px solid var(--coffee-green);
  color: var(--coffee-green);
  background: transparent;
  box-shadow: none;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--coffee-green);
  color: #fff;
}

.hero-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.hero-indicator .shell {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  display: flex;
  justify-content: center;
}

.hero-indicator span {
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: #fff;
  animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.9;
  }
  50% {
    transform: translateY(12px);
    opacity: 0.2;
  }
}

.section {
  padding: clamp(4rem, 9vw, 6rem) 1.5rem;
}

.section-alt {
  background: var(--coffee-cream);
}

.section-intro {
  max-width: var(--max-width);
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-intro h2 {
  font-family: 'Merriweather', serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--coffee-brown);
  margin-bottom: 0.75rem;
}

.section-intro .lead {
  max-width: 680px;
  margin: 0 auto 1rem;
  color: var(--coffee-brown-light);
  font-size: 1.1rem;
  line-height: 1.7;
}

.section-intro p:last-child {
  margin-bottom: 0;
}

.divider {
  width: 90px;
  height: 4px;
  border-radius: 999px;
  background: var(--coffee-green);
  margin: 0.75rem auto 1.75rem;
}

.feature-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 18px 45px rgba(18, 107, 84, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(18, 107, 84, 0.18);
}

.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--coffee-brown);
}

.feature-card p {
  color: var(--coffee-brown-light);
}

.card-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.menu-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(18, 107, 84, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(18, 107, 84, 0.2);
}

.menu-card figure {
  margin: 0;
  height: 220px;
  overflow: hidden;
}

.menu-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.menu-card__body h3 {
  margin: 0;
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  color: var(--coffee-brown);
}

.menu-card__body p {
  margin: 0;
  color: var(--coffee-brown-light);
}

.menu-card__body .btn,
.menu-card__body .btn-outline { margin-top: 0.6rem; }
/* ensure spacing when the button is wrapped in a <p> */
.menu-card__body p + p { margin-top: 0.6rem; }

/* Prices table styling */
.prices-table thead th {
  background: var(--coffee-green-dark);
  color: #fff;
  font-weight: 700;
}
.prices-table thead th,
.prices-table tbody td {
  padding: 0.75rem;
}
.prices-table tbody tr:nth-child(even) {
  background: var(--coffee-green-dark);
  color: #fff;
}
.prices-table tbody tr:nth-child(odd) {
  background: #fff;
  color: var(--coffee-text);
}

.menu-actions {
  margin-top: 2.5rem;
  text-align: center;
}

.review-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.review {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 18px 45px rgba(18, 107, 84, 0.12);
  font-style: italic;
  color: var(--coffee-brown);
}

.review.review--placeholder {
  font-style: normal;
  color: rgba(31, 27, 24, 0.55);
}

.review-name {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  color: var(--coffee-brown-light);
}

.review .stars {
  font-size: 1.1rem;
  letter-spacing: 0.25rem;
  color: #facc15;
  margin-bottom: 1rem;
  font-style: normal;
}

.review-status {
  text-align: center;
  margin-top: 1.5rem;
  color: rgba(31, 27, 24, 0.6);
}

.visit-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

.info-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 45px rgba(18, 107, 84, 0.12);
}

.info-card h3 {
  margin-top: 0;
  font-family: 'Merriweather', serif;
  color: var(--coffee-brown);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.info-card dl {
  display: grid;
  gap: 1.25rem;
  margin: 0;
}

.info-card dt {
  font-weight: 700;
  color: var(--coffee-brown);
  margin-bottom: 0.3rem;
}

.info-card dd {
  margin: 0;
  color: var(--coffee-brown-light);
  line-height: 1.6;
}

.info-card a {
  color: var(--coffee-green);
  text-decoration: none;
  font-weight: 600;
}

.info-card a:hover {
  text-decoration: underline;
}

.map-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(18, 107, 84, 0.12);
  background: #e5e5e5;
  min-height: 320px;
}

.map-card iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

.contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 18px 45px rgba(18, 107, 84, 0.12);
}

#contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1.5rem;
}

label span {
  display: block;
  font-weight: 600;
  color: var(--coffee-brown);
  margin-bottom: 0.5rem;
}

input,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(18, 107, 84, 0.3);
  font: inherit;
  color: inherit;
  background: #fff;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: var(--coffee-green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(18, 107, 84, 0.2);
}

textarea {
  resize: vertical;
  min-height: 160px;
}

.form-actions {
  text-align: center;
}

.form-status {
  text-align: center;
  margin: 0;
  color: var(--coffee-green);
  font-weight: 600;
  min-height: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-status.visible {
  opacity: 1;
}

.site-footer {
  background: var(--coffee-green);
  color: #fff;
  padding: 3.5rem 1.5rem 2.5rem;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  text-align: center;
}

.footer-heading {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-note {
  margin: 2rem auto 0;
  text-align: center;
  opacity: 0.75;
  font-size: 0.95rem;
}

@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .visit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-header .inner {
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
  }
}

.site-header.is-scrolled {
  box-shadow: 0 18px 45px rgba(18, 107, 84, 0.15);
  background: rgba(247, 244, 239, 0.92);
}

/* Split text animation */
.split-text {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.05em;
}

.split-text.is-animating .split-char {
  animation: rise 0.6s forwards;
}

.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px) rotate(2deg);
  animation-delay: calc(0.035s * var(--index));
}

/* Roasting video sizing */
.video-wrap { max-width: var(--max-width); margin: 0 auto; display: flex; justify-content: center; }
.video-frame { width: 100%; margin: 0 auto; }
.video-frame video { width: 100%; border-radius: 16px; box-shadow: 0 18px 45px rgba(18, 107, 84, 0.12); }
@media (min-width: 900px) { .video-frame { max-width: 50%; } }

/* Wider prices card + responsive table */
.table-wrap { max-width: var(--max-width); margin: 0 auto; overflow-x: auto; }
.price-card { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: 0 18px 45px rgba(18, 107, 84, 0.12); }

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(18px) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

/* Admin styles */
body[data-page='admin'] {
  min-height: 100vh;
  margin: 0;
  background: #faf7f2;
  font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--coffee-text);
}

.admin-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

.admin-wrap h1 {
  font-family: 'Merriweather', serif;
  color: var(--coffee-brown);
  margin-bottom: 2rem;
  text-align: center;
}

.lock-card,
.review-panel {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(18, 107, 84, 0.12);
  padding: clamp(2rem, 5vw, 3rem);
}

.lock-card form {
  display: grid;
  gap: 1rem;
}

.lock-card label span {
  font-weight: 600;
  color: var(--coffee-brown);
}

.lock-card input[type='password'] {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(18, 107, 84, 0.3);
  font: inherit;
}

.lock-card input[type='password']:focus {
  outline: none;
  border-color: var(--coffee-green);
  box-shadow: 0 0 0 3px rgba(18, 107, 84, 0.2);
}

.inline-error {
  color: #b45309;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.inline-error.visible {
  opacity: 1;
}

.inline-hint {
  color: var(--coffee-green);
  font-weight: 600;
  opacity: 1;
  margin-bottom: 0.75rem;
}

.review-panel header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.review-panel header p {
  margin: 0;
  color: var(--coffee-brown-light);
}

.message-stack {
  display: grid;
  gap: 1.25rem;
}

.message-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(18, 107, 84, 0.12);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.message-card::after {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Merriweather', serif;
  font-size: clamp(3.5rem, 8vw, 5rem);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.message-card.status-responded {
  border-color: rgba(18, 107, 84, 0.35);
  box-shadow: 0 18px 40px rgba(18, 107, 84, 0.15);
  background: rgba(247, 252, 249, 0.95);
}

.message-card.status-responded::after {
  content: '✓';
  color: var(--coffee-green);
  opacity: 0.25;
  transform: scale(1);
}

.message-card.status-no-response {
  border-color: rgba(107, 114, 128, 0.35);
  background: rgba(242, 242, 242, 0.9);
}

.message-card.status-no-response::after {
  content: '';
}

.message-card.status-no-response,
.message-card.status-no-response * {
  text-decoration: line-through;
  color: rgba(107, 114, 128, 0.75);
}

.message-card.status-pending {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.45);
  box-shadow: 0 18px 40px rgba(220, 38, 38, 0.18);
}

.message-card.status-pending::after {
  content: '';
}

.message-card.status-pending .message-card__body,
.message-card.status-pending .message-card__header strong {
  font-weight: 700;
}

.message-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.message-card__header strong {
  display: block;
  font-size: 1.05rem;
  color: var(--coffee-brown);
}

.message-card__header span {
  display: block;
  font-size: 0.95rem;
  color: var(--coffee-brown-light);
}

.message-card__header time {
  font-size: 0.9rem;
  color: rgba(31, 27, 24, 0.7);
}

.message-card__body {
  margin: 0 0 1rem;
  color: var(--coffee-brown);
  line-height: 1.6;
}

.message-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge-btn {
  background: rgba(18, 107, 84, 0.08);
  color: var(--coffee-brown);
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.badge-btn:hover,
.badge-btn:focus-visible {
  transform: translateY(-1px);
  background: rgba(18, 107, 84, 0.12);
  outline: none;
}

.badge-success {
  background: rgba(18, 107, 84, 0.12);
  color: var(--coffee-green);
}

.badge-muted {
  background: rgba(107, 114, 128, 0.14);
  color: rgba(31, 27, 24, 0.72);
}

.badge-accent {
  background: rgba(250, 204, 21, 0.18);
  color: #b45309;
}

.empty {
  margin: 0;
  text-align: center;
  color: var(--coffee-brown-light);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31, 27, 24, 0.45);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 60;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(480px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 2.75rem);
  box-shadow: 0 30px 70px rgba(18, 107, 84, 0.2);
}

.modal-card h2 {
  font-family: 'Merriweather', serif;
  margin: 0 0 0.5rem;
  color: var(--coffee-brown);
}

.modal-subheading {
  margin: 0 0 1.5rem;
  color: rgba(31, 27, 24, 0.7);
}

.modal-card label span {
  font-weight: 600;
  color: var(--coffee-brown);
  margin-bottom: 0.5rem;
}

.modal-card input {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(18, 107, 84, 0.3);
  font: inherit;
  width: 100%;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.modal-card input:focus {
  border-color: var(--coffee-green);
  box-shadow: 0 0 0 3px rgba(18, 107, 84, 0.18);
  outline: none;
}

.modal-message {
  min-height: 1.25rem;
  margin: 0.75rem 0 0;
  color: #b45309;
  font-weight: 600;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(31, 27, 24, 0.5);
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: rgba(31, 27, 24, 0.85);
}

@media (max-width: 640px) {
  .message-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .message-card__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
