/* Shared purchase controls for the five country pages. */
product-info { display: block; }
html { scroll-padding-bottom: 100px; }
body { padding-bottom: 96px; }
.local-purchase { margin: 26px 0 24px; scroll-margin-top: 24px; }
.pack-options { margin: 0; padding: 0; border: 0; min-width: 0; }
.pack-options legend { padding: 0; font-weight: 800; font-size: 19px; line-height: 1.4; }
.market-price-note { margin: 7px 0 22px; font-size: 13px; color: #626778; line-height: 1.5; }
.pack-card {
  display: flex; align-items: flex-start; gap: 13px; position: relative;
  margin: 0 0 14px; padding: 19px 18px; border: 2px solid #c0c5d4;
  border-radius: 14px; background: #fff; color: #282b35; cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.pack-card:hover { border-color: #64739e; }
.pack-card:has(input:checked) { border-color: #243f78; background: #f4f6fc; box-shadow: 0 0 0 1px #243f78; }
.pack-card:has(input:focus-visible) { outline: 3px solid #9274d1; outline-offset: 4px; }
.pack-card input { flex: 0 0 auto; appearance: auto; width: 20px; height: 20px; margin: 4px 0 0; accent-color: #243f78; cursor: pointer; }
.pack-card-content { display: block; flex: 1; min-width: 0; }
.pack-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pack-name { display: block; font-size: 16px; font-weight: 800; line-height: 1.45; }
.pack-file-count { display: block; width: fit-content; margin-top: 5px; padding: 2px 7px; background: #e8eaf1; color: #51596c; border-radius: 5px; font-size: 11px; font-weight: 400; white-space: nowrap; }
.pack-price { flex: 0 0 auto; color: #202b47; font-size: 21px; font-weight: 800; line-height: 1.2; text-align: right; white-space: nowrap; }
.pack-price small { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; color: #646b7c; }
.pack-features { display: flex; flex-direction: column; gap: 5px; margin-top: 13px; font-size: 14px; line-height: 1.5; }
.pack-features > span { display: flex; gap: 7px; }
.pack-features > span > span { flex: 0 0 auto; font-size: 18px; line-height: 1.2; color: #243f78; }
.selected-pack-summary { margin: 19px 0 10px; text-align: center; font-size: 14px; color: #49516a; }
.checkout-button {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  width: 100%; min-height: 54px; padding: 13px 20px; border-radius: 10px;
  background: #172f68; border: 2px solid #172f68; color: #fff !important;
  font: inherit; font-size: 18px; font-weight: 800; line-height: 1.3; text-align: center;
  text-decoration: none; cursor: pointer; box-sizing: border-box;
}
.checkout-button:hover { background: #244783; border-color: #244783; }
.checkout-button:focus-visible { outline: 3px solid #9274d1; outline-offset: 4px; }
.checkout-note { margin: 9px 0 0; text-align: center; font-size: 12px; color: #666b78; }
.purchase-sticky {
  position: fixed; z-index: 30; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px max(24px, calc((100vw - 1200px) / 2)); padding-bottom: max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid #dfe3ec; background: #fff; box-shadow: 0 -4px 24px rgb(20 40 80 / 8%);
}
.purchase-sticky[hidden] { display: none; }
.purchase-sticky-summary { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.4; color: #555d71; }
.purchase-sticky-summary strong { font-size: 21px; color: #202b47; white-space: nowrap; }
.purchase-sticky-summary small { font-size: 11px; font-weight: 500; }
.purchase-sticky .checkout-button { width: auto; min-width: 230px; }
@media (max-width: 749px) {
  .local-purchase { margin-top: 22px; }
  .pack-card { padding: 17px 14px; gap: 11px; }
  .pack-card-heading { gap: 8px; }
  .pack-name { font-size: 16px; }
  .pack-price { font-size: 20px; }
  .pack-features { font-size: 14px; }
  .purchase-sticky { padding: 10px 15px; gap: 12px; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .purchase-sticky .checkout-button { min-width: 0; width: auto; min-height: 48px; padding: 11px 15px; font-size: 15px; gap: 8px; }
  .purchase-sticky-summary strong { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .pack-card { transition: none; } }
