/* Literra print-on-demand request flow. EmailJS handles the email; no backend is required. */
.pod-order-button {
  appearance: none;
  border: 1px solid var(--seo-ink, #1c1b1a);
  background: var(--seo-ink, #1c1b1a);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  padding: .95rem 1.35rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .76rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}

/* Context-specific placements on library, discovery, and wishlist cards. */
.pod-order-compact {
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .58rem;
  letter-spacing: .06em;
  flex: 0 0 auto;
}
.collection-drawer-book .pod-order-button { margin-left: auto; }
.result-pod-actions { display: flex; margin-top: 8px; }
.pod-order-result { width: 100%; background: transparent; color: var(--disc-text, #1c1b1a); }
.pod-order-result:hover { background: #f1eee8; color: #1c1b1a; }
.pod-order-wishlist {
  padding: 9px 12px;
  font-size: .63rem;
  border-radius: 4px;
}

.pod-order-button:hover { transform: translateY(-1px); background: #000; box-shadow: 0 8px 18px rgba(0,0,0,.10); }
.pod-order-button:focus-visible { outline: 2px solid #b4871a; outline-offset: 3px; }

.pod-modal {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
  background: rgba(20,19,18,.70);
}
.pod-modal.is-open { display: flex; }
.pod-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  box-sizing: border-box;
  padding: 34px 36px 30px;
  background: #fdfcf9;
  border: 1px solid #e3e0d8;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}
.pod-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #77736e;
  font: 400 1.65rem/1 Arial, sans-serif;
  cursor: pointer;
}
.pod-close:hover { color: #1c1b1a; }
.pod-eyebrow {
  margin-bottom: 8px;
  color: #9a7416;
  font: 700 .66rem/1.2 Inter, Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pod-title {
  margin: 0 0 8px;
  color: #1c1b1a;
  font: 400 clamp(1.9rem, 4vw, 2.75rem)/1.05 var(--font-serif, Georgia, serif);
  letter-spacing: -.03em;
}
.pod-intro {
  max-width: 650px;
  margin: 0 0 16px;
  color: #686560;
  font-size: .9rem;
  line-height: 1.65;
}
.pod-selected {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 15px 16px;
  border: 1px solid #e2ddd3;
  background: #f7f3ea;
}
.pod-selected-label {
  margin-bottom: 3px;
  color: #8a8782;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pod-selected-title {
  color: #1c1b1a;
  font: 500 1.12rem/1.25 var(--font-serif, Georgia, serif);
}
.pod-selected-author {
  margin-top: 3px;
  color: #716d67;
  font-size: .78rem;
}
.pod-selected-code {
  color: #8a8782;
  font-size: .66rem;
  text-align: right;
  line-height: 1.4;
}
.pod-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}
.pod-form-grid label,
.pod-form-full {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #1c1b1a;
  font-size: .74rem;
  font-weight: 700;
}
.pod-form-grid input,
.pod-form-grid select,
.pod-form-grid textarea,
.pod-form-full input,
.pod-form-full textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dedbd5;
  border-radius: 3px;
  background: #fff;
  color: #1c1b1a;
  padding: 10px 11px;
  font: 400 .88rem/1.4 var(--font-ui, Inter, Arial, sans-serif);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pod-form-grid input:focus,
.pod-form-grid select:focus,
.pod-form-grid textarea:focus,
.pod-form-full input:focus,
.pod-form-full textarea:focus {
  border-color: rgba(28,27,26,.48);
  box-shadow: 0 0 0 3px rgba(28,27,26,.05);
}
.pod-full { grid-column: 1 / -1; }
.pod-help { margin-top: 4px; color: #8a8782; font-size: .67rem; font-weight: 400; }
.pod-note {
  margin-top: 15px;
  padding: 11px 12px;
  background: rgba(28,27,26,.035);
  color: #6b6863;
  font-size: .75rem;
  line-height: 1.55;
}
.pod-note strong { color: #1c1b1a; }
.pod-submit {
  width: 100%;
  margin-top: 13px;
  padding: 13px 16px;
  border: 1px solid #1c1b1a;
  border-radius: 3px;
  background: #1c1b1a;
  color: #fff;
  font: 700 .76rem/1.2 var(--font-ui, Inter, Arial, sans-serif);
  letter-spacing: .10em;
  text-transform: uppercase;
  cursor: pointer;
}
.pod-submit:hover { background: #000; }
.pod-submit:disabled { opacity: .55; cursor: wait; }
.pod-status {
  min-height: 20px;
  margin-top: 9px;
  color: #77736e;
  font-size: .78rem;
  line-height: 1.45;
}
.pod-status.success { color: #2f6f47; }
.pod-status.error { color: #9d3d33; }
.pod-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

@media (max-width: 640px) {
  .pod-modal { padding: 9px; }
  .pod-dialog { padding: 28px 18px 20px; max-height: 95vh; }
  .pod-form-grid { grid-template-columns: 1fr; gap: 11px; }
  .pod-full { grid-column: auto; }
  .pod-selected { grid-template-columns: 1fr; gap: 8px; }
  .pod-selected-code { text-align: left; }
}
