/* English digital edition: only what Book Arena's ba.css doesn't have (checkout box, downloads, a few tweaks). */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #0E0B08; }
img { max-width: 100%; }

/* offer picture is a transparent PNG/WebP (tablet + booklet), not a photo: no frame */
.ba-colet--digital { max-width: 560px; }
.ba-colet--digital img { box-shadow: none; border-radius: 0; }
.ba .ba-stock--plain { color: var(--soft); }
.ba-stock--plain::before { content: ""; }
.ba-sum img { width: 84px; height: auto; }

/* Stripe embedded checkout */
.en-checkout { margin: 6px auto 0; max-width: 620px; min-height: 420px; background: #16100A; border-radius: 14px; padding: 8px 0; box-shadow: 0 0 0 1px rgba(233,197,131,.35), 0 30px 60px -30px #000; text-align: left; overflow: hidden; }
.en-checkout-wait { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 400px; color: #CDBB9C; font-size: 18px; }
.en-spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(233,197,131,.25); border-top-color: #E9C583; animation: en-spin .8s linear infinite; }
@keyframes en-spin { to { transform: rotate(360deg); } }
.en-checkout-fallback { padding: 40px 24px; text-align: center; color: #E8D5A3; font-size: 18px; }
.en-checkout-fallback .ba-btn { margin-top: 16px; }
@media (max-width: 860px) { .en-checkout { border-radius: 10px; margin-left: -6px; margin-right: -6px; } }

/* thank-you page: downloads */
.en-dl { display: grid; gap: 12px; margin-top: 26px; max-width: 520px; }
.en-dl a { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 12px; text-decoration: none; color: #fff; background: rgba(233,197,131,.08); border: 1px solid rgba(233,197,131,.45); transition: background .2s, transform .2s; }
.en-dl a:hover { background: rgba(233,197,131,.16); transform: translateY(-1px); }
.en-dl a.is-main { background: linear-gradient(180deg, #FFF0C3, #E9C583 55%, #C99C5B); color: #1B0F05; border-color: transparent; }
.en-dl i { width: 52px; height: 52px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.25); font-style: normal; font-family: var(--caps); font-size: 14px; letter-spacing: .08em; color: #FFE9C4; }
.en-dl a.is-main i { background: #6E120D; }
.en-dl b { display: block; font-family: var(--caps); font-weight: 400; font-size: 19px; letter-spacing: .04em; }
.en-dl span { display: block; font-size: 15.5px; opacity: .8; }
.en-dl em { font-style: normal; font-family: var(--caps); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 860px) { .en-dl { margin-left: auto; margin-right: auto; text-align: left; } }
@media (max-width: 520px) {
  .en-dl a { grid-template-columns: 44px 1fr; gap: 12px; padding: 12px 14px; }
  .en-dl i { width: 44px; height: 44px; font-size: 12px; }
  .en-dl b { font-size: 17px; }
  .en-dl em { grid-column: 2; font-size: 12.5px; margin-top: -4px; }
}

/* legal pages */
.en-legal { background: #F4ECDD; color: #2B1D14; }
.en-legal .ba-in { max-width: 780px; padding-top: 120px; padding-bottom: 80px; }
.en-legal h1 { font-size: 40px; color: #2B1D14; text-transform: none; letter-spacing: 0; }
.en-legal h2 { font-size: 24px; margin-top: 34px; color: #6E120D; }
.en-legal p, .en-legal li { font-size: 19px; line-height: 1.6; }
.en-legal a { color: #8A2318; }
.en-legal .en-todo { background: #FFF3C4; padding: 2px 6px; border-radius: 4px; }
