/* PDF language chips (free guide + ebook product pages) */
.language-selector{
  position:relative;
  z-index:2;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-top:16px;
}
.language-chip{
  min-width:52px;
  min-height:36px;
  padding:5px 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  border:1px solid #9c6913;
  border-radius:9px;
  background:linear-gradient(145deg,#1b1008,#100a06);
  color:#f4e6d0;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  transition:background .18s,color .18s,box-shadow .18s,border-color .18s,transform .18s;
}
.language-chip.active{
  background:linear-gradient(120deg,#e9ad25,#ffda75);
  color:#201304;
  border-color:#ffd66b;
  box-shadow:0 0 14px rgba(238,177,45,.38);
  transform:translateY(-1px);
}
.language-chip:hover,.language-chip:focus-visible{
  border-color:#ffd66b;
  outline:none;
}
.pdf-lang-status{
  margin:10px 0 0;
  color:#ffd27a;
  font-size:14px;
  font-weight:700;
  letter-spacing:.02em;
}
.pdf-lang-note{
  margin:4px 0 0;
  color:#e5d5bb;
  font-size:16px;
  line-height:1.45;
}
.pdf-lang-note[hidden],.pdf-lang-view[hidden]{display:none}
.pdf-lang-view{
  display:inline-block;
  margin:6px 0 0;
  color:#ffd33d;
  font-size:14px;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:2px;
}
.pdf-cover-caption{
  margin:8px 0 0;
  text-align:center;
  color:#e8d7b6;
  font-size:14px;
  font-style:italic;
}
.buy-button,.gold-button,.hero-buy .buy-button{
  box-sizing:border-box;
  min-width:0;
  max-width:100%;
  white-space:normal;
  text-align:center;
  flex-wrap:wrap;
  line-height:1.2;
}

.hero-copy, .hero-copy h1, [data-pdf-title], [data-pdf-desc]{
  min-width:0;
  overflow-wrap:break-word;
  word-break:keep-all;overflow-wrap:anywhere;
}
.hero-grid{min-width:0}
