/* PDF Guard — edition choice, owned-book notice and free claim on product pages. */

.spv-editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; margin: 0 0 16px; padding: 0; border: 0; direction: rtl; }
.spv-editions__legend { grid-column: 1 / -1; margin: 0 0 4px; padding: 0; font-weight: 600; }
.spv-edition { position: relative; display: flex; margin: 0; cursor: pointer; }
.spv-edition input { position: absolute; opacity: 0; }
.spv-edition__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.spv-edition__body strong { font-size: 1em; }
.spv-edition__price { font-weight: 600; }
.spv-edition__body small { color: #6b7280; font-size: 0.82em; line-height: 1.8; }
.spv-edition:hover .spv-edition__body { border-color: #c7d2fe; }
.spv-edition input:checked + .spv-edition__body { border-color: #4f46e5; background: #f8f9ff; box-shadow: inset 0 0 0 1px #4f46e5; }
.spv-edition input:focus-visible + .spv-edition__body { box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25); }
.spv-edition.is-owned { cursor: not-allowed; opacity: 0.75; }

.spv-owned-box,
.spv-free-claim { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; direction: rtl; }
.spv-owned-box { display: flex; align-items: center; gap: 12px; border: 1px solid #bbf7d0; background: #f0fdf4; }
.spv-owned-box__icon { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #16a34a; color: #fff; font-weight: 700; }
.spv-owned-box__body { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.spv-owned-box__body strong { font-weight: 600; line-height: 1.8; }
.spv-free-claim { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; border: 1px solid #c7d2fe; background: #f5f7ff; }
.spv-free-claim form { margin: 0; }
.spv-free-claim small { color: #4b5563; line-height: 1.8; }
.spv-owned-inline { margin: 8px 0; color: #15803d; }

@media (max-width: 480px) {
  .spv-editions { grid-template-columns: minmax(0, 1fr); }
}
