/* বইপত্র - frontend, Anek Bangla */
.bp-store, .bp-store * { font-family: 'Anek Bangla', system-ui, sans-serif; box-sizing: border-box; }
.bp-wrap { max-width: 1120px; margin: 0 auto; padding: 32px 16px; }
.bp-title { font-size: 38px; font-weight: 800; margin: 0 0 8px; color: #111827; }
.bp-sub { color: #6b7280; font-size: 17px; margin: 0 0 28px; }
.bp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.bp-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.05); display: flex; flex-direction: column; }
.bp-cover { display: block; aspect-ratio: 3/4; background: #f3f4f6; overflow: hidden; }
.bp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-no-cover { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: #9ca3af; background: #f3f4f6; }
.bp-no-cover.big { aspect-ratio: 3/4; }
.bp-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bp-cat { font-size: 13px; font-weight: 700; color: #0f766e; background: #ccfbf1; padding: 3px 10px; border-radius: 999px; display: inline-block; width: fit-content; }
.bp-name { font-size: 20px; font-weight: 700; margin: 0; line-height: 1.35; }
.bp-name a { color: #111827; text-decoration: none; }
.bp-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.bp-badge { font-size: 13px; font-weight: 700; background: #111827; color: #fff; padding: 3px 10px; border-radius: 999px; }
.bp-badge-pb { background: #b45309; }
.bp-price { font-size: 17px; color: #111827; }
.bp-price del { color: #9ca3af; margin-right: 6px; }
.bp-ver { font-size: 13px; color: #6b7280; font-weight: 600; }
.bp-btn { display: inline-block; background: #6d5ef8; color: #fff !important; text-decoration: none; padding: 12px 20px; border-radius: 12px; font-weight: 700; text-align: center; border: 0; cursor: pointer; font-size: 16px; box-shadow: 0 4px 14px rgba(109, 94, 248, .35); transition: background .15s ease, box-shadow .15s ease, transform .15s ease; }
.bp-btn:hover { background: #5848e8; box-shadow: 0 6px 18px rgba(88, 72, 232, .4); }
.bp-btn-big { width: 100%; padding: 16px; font-size: 18px; margin-top: 12px; }
.bp-notice { background: #fef3c7; border: 1px solid #fcd34d; padding: 14px 16px; border-radius: 10px; margin: 16px 0; }
.bp-form-error { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; font-weight: 700; font-size: 16px; padding: 12px 14px; border-radius: 10px; margin: 16px 0 4px; }
.bp-form-error[hidden] { display: none; }
.bp-consent { font-size: 15px; line-height: 1.7; margin: 14px 0 4px; }
.bp-consent input[type="checkbox"] { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; accent-color: #6d5ef8; }
.bp-consent a { color: #6d5ef8; font-weight: 700; }
.bp-success { background: #d1fae5; border-color: #6ee7b7; }
.bp-single-grid { display: grid; grid-template-columns: 340px 1fr; gap: 36px; }
.bp-single-cover img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 16px; border: 1px solid #e5e7eb; }
.bp-desc { color: #374151; line-height: 1.8; font-size: 17px; }
.bp-buy { margin-top: 20px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 14px; padding: 20px; }
.bp-versions legend { font-weight: 800; font-size: 18px; }
.bp-ver-opt { display: flex; gap: 10px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px; margin: 10px 0; cursor: pointer; }
.bp-ver-opt input { margin-top: 5px; }
.bp-ver-opt small { display: block; color: #6b7280; }
.bp-fields input, .bp-fields textarea, .bp-shipping input, .bp-shipping textarea { width: 100%; padding: 11px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 16px; font-family: inherit; }
.bp-note { color: #6b7280; font-size: 14px; }
.bp-order { display: flex; justify-content: space-between; gap: 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.bp-ship { font-weight: 700; color: #0f766e; }
@media (max-width: 720px) { .bp-single-grid { grid-template-columns: 1fr; } .bp-title { font-size: 30px; } }

.bp-top-links { margin: 16px 0 4px; }
.bp-buy .bp-btn { margin-top: 12px; }
.bp-buy .bp-btn-big { margin-top: 12px; margin-bottom: 0; }
.bp-ver-opt.selected { border-color: #6d5ef8; background: #f8f7ff; box-shadow: 0 0 0 1px #6d5ef8; }
.bp-total-line { font-size: 18px; font-weight: 800; color: #111827; margin: 16px 0 4px; }
.bp-hint { display: block; color: #6b7280; font-size: 13px; margin-top: 4px; }
.bp-fields select, .bp-shipping select { width: 100%; padding: 11px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 16px; font-family: inherit; background: #fff; height: 46px; }
.bp-cart-table { width: 100%; border-collapse: collapse; margin: 16px 0; background: #fff; }
.bp-cart-table th, .bp-cart-table td { border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; }

.bp-auth-wrap { display: flex; justify-content: center; padding: 40px 16px 60px; }
.bp-auth-card { width: 100%; max-width: 460px; background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; box-shadow: 0 8px 30px rgba(0,0,0,.08); padding: 32px 28px; }
.bp-auth-brand { font-size: 34px; font-weight: 800; color: #111827; text-align: center; }
.bp-auth-sub { text-align: center; color: #6b7280; font-size: 15px; margin: 4px 0 20px; }
.bp-auth-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.bp-auth-tab { flex: 1; padding: 12px; border: 1px solid #e5e7eb; background: #f9fafb; border-radius: 10px; font-weight: 700; font-size: 16px; cursor: pointer; font-family: inherit; color: #374151; }
.bp-auth-tab.active { background: #6d5ef8; color: #fff; border-color: #6d5ef8; }
.bp-auth-card input[type="text"], .bp-auth-card input[type="email"], .bp-auth-card input[type="password"], .bp-auth-card input[type="tel"] { width: 100%; padding: 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 16px; font-family: inherit; }
.bp-auth-card label { font-weight: 600; font-size: 15px; color: #111827; }
.bp-auth-btn { width: 100%; }
.bp-check { font-weight: 400 !important; font-size: 14px !important; color: #6b7280 !important; }
.bp-auth-back { text-align: center; margin-top: 20px; }
