/* ── Wrapper ── */
.mtq-series-section { margin:24px 0; border-top:1px solid #eee; padding-top:18px; }
.mtq-series-heading { font-size:16px; font-weight:700; color:#111; margin-bottom:14px; text-align:center; }

/* ── Summary row (Screen 1) ── */
.mtq-summary-row { display:flex; flex-direction:column; align-items:center; gap:12px; }
.mtq-covers-row { display:flex !important; flex-direction:row !important; gap:10px; align-items:center; justify-content:center; flex-wrap:nowrap; overflow-x:auto; }
.mtq-thumb-wrap img { width:100px; height:133px; object-fit:cover; border-radius:3px; display:block; }
.mtq-thumb-wrap.mtq-deselected img { opacity:0.35; }
.mtq-cover-placeholder { width:100px; height:133px; background:#e0e0e0; border-radius:3px; display:flex; align-items:center; justify-content:center; font-size:24px; font-weight:700; color:#999; }
.mtq-plus { font-size:20px; font-weight:300; color:#555; flex-shrink:0; line-height:1; }

/* ── Split button group ── */
.mtq-bundle-form { display:block; width:100%; margin:0; padding:0; }
.mtq-summary-btn-group { display:flex !important; width:100%; border:1px solid #ddd; border-radius:4px; overflow:hidden; }
.mtq-buy-now-btn { flex:1; padding:12px 16px; background:#f4f4f4; border:none; border-right:1px solid #ddd; font-size:14px; font-weight:600; color:#111; cursor:pointer; transition:background 0.15s; text-align:center; }
.mtq-buy-now-btn:hover { background:#e4e4e4; }
.mtq-bundle-label { display:block; }
.mtq-expand-btn { width:44px; flex-shrink:0; background:#f4f4f4; border:none; cursor:pointer; display:flex !important; align-items:center; justify-content:center; transition:background 0.15s; padding:0; }
.mtq-expand-btn:hover { background:#e0e0e0; }
.mtq-chevron { font-size:20px; line-height:1; transition:transform 0.2s; display:inline-block; }
.mtq-chevron.open { transform:rotate(180deg); }

/* ── Selection panel (Screen 2) ── */
.mtq-selection-panel { margin-top:14px; border:1px solid #e0e0e0; border-radius:6px; overflow:hidden; }
.mtq-book-cards { display:flex; flex-direction:column; }
.mtq-book-card { display:flex; flex-direction:column; padding:14px; border-bottom:1px solid #eee; position:relative; transition:opacity 0.2s; }
.mtq-book-card:last-child { border-bottom:none; }
.mtq-book-card.mtq-deselected { opacity:0.5; }
.mtq-card-inner { display:flex; gap:12px; align-items:flex-start; margin-bottom:10px; }
.mtq-card-img { width:64px; height:85px; object-fit:cover; border-radius:3px; flex-shrink:0; }
.mtq-card-meta { display:flex; flex-direction:column; gap:3px; flex:1; }
.mtq-this-item { font-size:11px; font-weight:700; letter-spacing:0.5px; color:#888; text-transform:uppercase; }
.mtq-card-label { font-size:11px; color:#999; }
.mtq-card-title { font-size:13px; font-weight:600; color:#222; text-decoration:none; line-height:1.3; }
.mtq-card-title:hover { color:#555; }
.mtq-card-price { font-size:14px; font-weight:700; color:#111; }

/* ── Checkmark ── */
.mtq-check { position:absolute; top:12px; right:12px; width:24px; height:24px; border-radius:50%; background:var(--ak-highlight-color, #0e7ba6); color:#fff; border:none; font-size:14px; font-weight:700; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background 0.15s; padding:0; line-height:1; }
.mtq-check:not(.active) { background:#ccc; }

/* ── Toggle book button ── */
.mtq-toggle-book-btn { align-self:flex-start; padding:6px 18px; border:1px solid #bbb; border-radius:3px; background:#fff; font-size:12px; font-weight:600; cursor:pointer; color:#333; transition:background 0.15s; }
.mtq-toggle-book-btn:hover { background:#f5f5f5; }

/* ── Panel footer ── */
.mtq-panel-footer { padding:14px; background:#f9f9f9; border-top:1px solid #eee; }
.mtq-add-all-btn { display:block !important; width:100%; padding:13px 16px; background:var(--ak-highlight-color, #0e7ba6); color:#fff !important; border:none; border-radius:4px; font-size:14px; font-weight:600; cursor:pointer; transition:filter 0.15s; text-align:center; }
.mtq-add-all-btn:hover { filter:brightness(0.88); }
.mtq-add-all-btn:disabled { background:#aaa !important; cursor:not-allowed; }
.mtq-add-all-msg { text-align:center; margin-top:8px; font-size:13px; color:#555; min-height:18px; }
