/* ============================================================
   PDF VIEWER MODAL — Shanark Productions
   Styles for #pdf-modal only. Reuses existing .btn and
   .modal-close classes from the main theme.
   ============================================================ */

/* Scroll lock while PDF modal is open */
body.pdf-lock{ overflow:hidden; }

.pdf-modal{
  width:min(1000px, 95vw);
  max-width:95vw;
  height:90vh;
  max-height:90vh;
  padding:0;
  border:none;
  border-radius:18px;
  background:var(--pg-panel, #17150f);
  color:var(--pg-text, #f3efe6);
  box-shadow:0 30px 80px rgba(0,0,0,.55);
}
.pdf-modal::backdrop{
  background:rgba(6,5,4,.82);
  backdrop-filter:blur(6px);
}

.pdf-modal-content{
  display:flex;
  flex-direction:column;
  height:100%;
  padding:24px;
  box-sizing:border-box;
}

.pdf-modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.pdf-modal-header h2{
  margin:0;
  font-family:'Cormorant Garamond',serif;
  font-weight:600;
  font-size:clamp(1.25rem,2.2vw,1.8rem);
  color:var(--pg-gold, #e9c46a);
}
/* .modal-close is inherited from your quote modal (positioning/size) */
.pdf-modal-header .modal-close{
  position:static;
  margin-left:auto;
}

/* Large responsive PDF viewer */
.pdf-frame{
  flex:1 1 auto;
  width:100%;
  min-height:0;               /* allows iframe to shrink and scroll internally */
  border:1px solid rgba(233,196,106,.25);
  border-radius:12px;
  background:#0a0a09;
}

.pdf-actions{
  display:flex;
  gap:12px;
  margin-top:16px;
  flex-wrap:wrap;
}
.pdf-actions .btn{
  cursor:pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px){
  .pdf-modal{
    height:88vh;
    width:96vw;
  }
  .pdf-modal-content{
    padding:18px;
  }
}
@media (max-width: 480px){
  .pdf-modal-header h2{ font-size:1.1rem; }
  .pdf-actions{ flex-direction:column; }
  .pdf-actions .btn{ width:100%; text-align:center; justify-content:center; }
}