.recipe-box {
  width: 100%;
  max-width: 700px;
  perspective: 1200px;
}

/* ── Box lid / title ── */
.box-lid {
  background: linear-gradient(180deg, #1E1E1E 0%, #252525 100%);
  border-radius: 10px 10px 0 0;
  padding: 28px 36px 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  border-bottom: none;
}

.box-lid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.box-lid .title {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  color: #C17F4E;
  letter-spacing: 0.08em;
  position: relative;
}

.box-lid .title-main {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  color: #E8E0D6;
  letter-spacing: 0.06em;
  line-height: 1;
  position: relative;
}

.box-lid .title-main span { color: #C17F4E; }

.box-lid .floral {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 180px;
  height: 80px;
  opacity: 0.15;
  pointer-events: none;
}

.box-actions {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 2;
}

.btn-export {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(193, 127, 78, 0.12);
  color: #C17F4E;
  border: 1px solid rgba(193, 127, 78, 0.3);
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-export:hover {
  background: rgba(193, 127, 78, 0.25);
  border-color: #C17F4E;
}

/* ── Box body ── */
.box-body {
  background: linear-gradient(180deg, #2A2A2A 0%, #222 4%, #1C1C1C 100%);
  border: 1px solid rgba(255,255,255,0.05);
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 0 12px 16px;
  position: relative;
  min-height: 200px;
  box-shadow:
    inset 0 6px 16px rgba(0,0,0,0.4),
    0 8px 32px rgba(0,0,0,0.4);
}

@media (max-width: 480px) {
  .box-lid { padding: 20px 20px 16px; }
  .box-lid .title-main { font-size: 30px; }
  .box-lid .title { font-size: 12px; }
  .box-actions { top: 18px; right: 16px; }
  .btn-export { font-size: 9px; padding: 6px 10px; }
  .box-body { padding: 0 8px 12px; }
}

.box-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  border-radius: 0 0 6px 6px;
}
