/* Anu Book Centre - Past Paper Packs (1.3.0). Colours follow the theme
   where it sets them (--anubc-primary), with plain fallbacks. */
.anubc-pp-hidden { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.anubc-pp-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.anubc-pp-choice {
	appearance: none; cursor: pointer; font: inherit; font-size: 14px; line-height: 1.2;
	padding: 10px 16px; border-radius: 10px; background: #fff; color: #1f2937;
	border: 1.5px solid #d1d5db; transition: border-color .15s, background .15s, box-shadow .15s;
}
.anubc-pp-choice:hover { border-color: var(--anubc-primary, #1565c0); }
.anubc-pp-choice:focus-visible { outline: 2px solid var(--anubc-primary, #1565c0); outline-offset: 2px; }
.anubc-pp-choice.is-on {
	border-color: var(--anubc-primary, #1565c0); background: rgba(21, 101, 192, .08);
	color: var(--anubc-primary, #1565c0); font-weight: 600; box-shadow: 0 0 0 1px var(--anubc-primary, #1565c0) inset;
}
.anubc-pp-choice.is-off { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.single-product table.variations th, .single-product table.variations td { vertical-align: top; padding-top: 8px; }
.anubc-pp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.anubc-pp-badge {
	display: inline-block; font-size: 13px; padding: 5px 10px; border-radius: 999px;
	background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0;
}
.anubc-pp-badge-pay { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
table.anubc-inside { width: 100%; border-collapse: collapse; margin: 10px 0 6px; font-size: 14px; }
table.anubc-inside th { text-align: left; width: 30%; color: #6b7280; font-weight: 500; padding: 6px 8px 6px 0; border-bottom: 1px solid #eef0f3; }
table.anubc-inside td { padding: 6px 0; border-bottom: 1px solid #eef0f3; color: #111827; }
table.anubc-packs { width: 100%; border-collapse: collapse; margin: 12px 0; }
table.anubc-packs th, table.anubc-packs td { padding: 8px 10px; border-bottom: 1px solid #e5e7eb; text-align: left; }
table.anubc-packs th { background: #f9fafb; font-weight: 600; }
.anubc-pp-cod-note { font-size: 14px; padding: 8px 12px; border-radius: 8px; background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
/* 1.1.0: "What's in the book" - the program's description table */
table.anubc-book { width: 100%; border-collapse: collapse; margin: 10px 0 14px; font-size: 14px; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; }
table.anubc-book th { text-align: left; width: 32%; background: #f9fafb; color: #4b5563; font-weight: 600; padding: 8px 12px; border-bottom: 1px solid #eef0f3; vertical-align: top; }
table.anubc-book td { padding: 8px 12px; border-bottom: 1px solid #eef0f3; color: #111827; }
table.anubc-book tr:last-child th, table.anubc-book tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { table.anubc-book th { width: 40%; } .anubc-pp-choice { padding: 9px 12px; } }
/* 1.2.0: the other book, in a small box beside Add to cart */
.anubc-pp-addon { margin: 6px 0 14px; }
.anubc-pp-addon[hidden] { display: none !important; }
.anubc-pp-addon-row { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 10px 12px; border: 1.5px solid #c7d2fe; border-radius: 12px; background: #eef2ff; transition: border-color .15s, box-shadow .15s; }
.anubc-pp-addon-row:hover { border-color: var(--anubc-primary, #1565c0); }
.anubc-pp-addon-tick { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--anubc-primary, #1565c0); }
.anubc-pp-addon-pic img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; display: block; }
.anubc-pp-addon-words { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; font-size: 14px; color: #1f2937; line-height: 1.35; }
.anubc-pp-addon-price { font-weight: 600; color: var(--anubc-primary, #1565c0); }
.anubc-pp-addon-link { font-size: 13px; margin-left: 4px; }
.anubc-pp-addon-row:has(.anubc-pp-addon-tick:checked) { border-color: var(--anubc-primary, #1565c0); box-shadow: 0 0 0 1px var(--anubc-primary, #1565c0) inset; }
.anubc-other { font-size: 14px; color: #374151; }
.anubc-pp-theme-hidden { display: none !important; }
/* 1.3.0: a subject's units as books of their own */
.anubc-pp-units { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 14px; font-size: 14px; }
.anubc-pp-units-head { color: #4b5563; }
.anubc-pp-unit { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid #d1d5db; text-decoration: none; color: #1f2937; background: #fff; }
.anubc-pp-unit:hover { border-color: var(--anubc-primary, #1565c0); color: var(--anubc-primary, #1565c0); }
/* 1.3.0: Customise your book */
.anubc-cs { margin: 14px 0 18px; }
.anubc-cs-open { appearance: none; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; width: 100%; text-align: left;
	padding: 12px 16px; border-radius: 12px; border: 1.5px dashed var(--anubc-primary, #1565c0); background: rgba(21, 101, 192, .05); color: var(--anubc-primary, #1565c0); }
.anubc-cs-open::after { content: " ▾"; }
.anubc-cs:not(.anubc-cs-closed) .anubc-cs-open::after { content: " ▴"; }
.anubc-cs-body { margin-top: 10px; padding: 14px 16px; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; box-shadow: 0 4px 18px rgba(15, 23, 42, .06); }
.anubc-cs-body:empty { display: none; }
.anubc-cs-page .anubc-cs-body { margin-top: 14px; }
.anubc-cs-select { width: 100%; max-width: 560px; padding: 10px 12px; border-radius: 10px; border: 1.5px solid #d1d5db; font: inherit; font-size: 15px; background: #fff; }
.anubc-cs-top { font-weight: 700; font-size: 16px; margin-bottom: 10px; color: #111827; }
.anubc-cs-row { margin: 10px 0 12px; }
.anubc-cs-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 6px; }
.anubc-cs-title { font-weight: 600; color: #374151; font-size: 14px; min-width: 70px; }
.anubc-cs-link { appearance: none; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; font-size: 13px; color: var(--anubc-primary, #1565c0); text-decoration: underline; }
.anubc-cs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.anubc-cs-chip { appearance: none; cursor: pointer; font: inherit; font-size: 14px; padding: 7px 12px; border-radius: 10px; background: #fff; color: #1f2937; border: 1.5px solid #d1d5db; transition: border-color .15s, background .15s; }
.anubc-cs-chip:hover { border-color: var(--anubc-primary, #1565c0); }
.anubc-cs-chip.is-on { border-color: var(--anubc-primary, #1565c0); background: rgba(21, 101, 192, .08); color: var(--anubc-primary, #1565c0); font-weight: 600; }
.anubc-cs-sum { margin-top: 14px; border-top: 1px solid #eef0f3; padding-top: 10px; }
.anubc-cs-line, .anubc-cs-total { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14px; color: #374151; }
.anubc-cs-line.is-empty { color: #b45309; }
.anubc-cs-total { font-size: 16px; color: #111827; border-top: 1px dashed #e5e7eb; margin-top: 4px; padding-top: 8px; }
.anubc-cs-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.anubc-cs-add[disabled] { opacity: .5; cursor: not-allowed; }
.anubc-cs-msg { font-size: 14px; color: #065f46; }
.anubc-cs-wait { color: #6b7280; font-size: 14px; }
@media (max-width: 600px) { .anubc-cs-body { padding: 12px; } .anubc-cs-chip { padding: 7px 10px; } }
/* 1.4.0 - Build your own book: the link from a subject's books, its own page, older years, cash on delivery */
.anubc-pp-badge-cod{background:#ecfdf5;color:#047857;border-color:#a7f3d0}
.anubc-cs-go{display:block;margin:14px 0 4px;padding:12px 16px;border:1px dashed #93c5fd;border-radius:12px;background:#eff6ff;color:#1d4ed8;font-weight:600;text-decoration:none}
.anubc-cs-go:hover{background:#dbeafe}
.anubc-cs-own{margin:16px 0}
.anubc-cs-own .anubc-cs-body{display:block}
.anubc-cs-older{margin:2px 0 10px;font-size:13px}
.anubc-cs-older a{color:#047857;text-decoration:underline}
.anubc-cs-from{font-size:.8em;font-weight:400;color:#64748b}
.anubc-cs-as{display:block;font-size:12px;font-weight:400;color:#64748b}
