/* Native booking page. Uses the site's own colours from the page's :root. */
.book-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;padding:18px 20px;margin-bottom:16px;box-shadow:0 6px 24px rgba(15,23,42,.05)}
fieldset.book-card legend{float:none;width:auto;padding:0;margin-bottom:.6rem}
.book-item{height:100%;display:flex;flex-direction:column;text-align:left;border:1px solid rgba(15,23,42,.1);border-radius:16px;background:#fff;padding:0;overflow:hidden;transition:transform .12s, box-shadow .12s;width:100%}
.book-item:hover,.book-item:focus-visible{transform:translateY(-2px);box-shadow:0 10px 26px rgba(124,58,237,.15)}
.book-item img,.book-item .book-noimg{width:100%;aspect-ratio:4/3;object-fit:cover;background:linear-gradient(135deg,#f5f3ff,#fdf2f8)}
.book-item .body{padding:12px 14px;flex:1;display:flex;flex-direction:column;gap:4px}
.book-item .name{font-weight:700;color:#0f172a}
.book-item .price{font-weight:800;color:var(--brand-1,#7c3aed)}
.book-tag{display:inline-block;font-size:.75rem;border-radius:999px;padding:2px 8px;background:#f1f5f9;color:#334155;margin-right:4px}
.book-tag.deliver{background:#ecfdf5;color:#065f46}
.book-tag.collect{background:#fff7ed;color:#9a3412}
.book-status{font-size:.95rem}
.book-status[data-state="ok"]{color:#047857}
.book-status[data-state="bad"]{color:#b91c1c}
.book-palette{display:flex;flex-wrap:wrap;gap:8px}
.book-swatch{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(15,23,42,.15);border-radius:999px;padding:4px 10px 4px 4px;background:#fff;font-size:.85rem;cursor:pointer}
.book-swatch span{width:22px;height:22px;border-radius:50%;border:1px solid rgba(0,0,0,.12)}
.book-swatch[aria-pressed="true"]{outline:2px solid var(--brand-1,#7c3aed);background:#f5f3ff}
.book-choice{display:block;border:1px solid rgba(15,23,42,.12);border-radius:14px;padding:10px 12px;margin-bottom:8px;cursor:pointer}
.book-choice:has(input:checked){border-color:var(--brand-1,#7c3aed);background:#f5f3ff}
.book-choice small{display:block;color:var(--muted,#475569)}
.book-totals{display:grid;grid-template-columns:1fr auto;gap:4px 12px;margin:12px 0}
.book-totals dt{font-weight:400;color:var(--muted,#475569)}
.book-totals dd{margin:0;text-align:right;font-weight:700}
.book-upsell{margin-top:12px;padding:12px 14px;border-radius:14px;background:#fdf2f8;border:1px solid #fbcfe8}
.book-summary{position:sticky;top:84px}
@media (max-width:991px){.book-summary{position:static}}

/* Light-up number picker */
.tile-chosen { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; min-height: 3rem; margin-bottom: .5rem; }
.tile-big { display: inline-grid; place-items: center; width: 2.4rem; height: 3rem; border-radius: .6rem; background: #1f1630; color: #fff8d6; font-weight: 800; font-size: 1.6rem; text-shadow: 0 0 8px rgba(255, 230, 150, .9); }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(3.1rem, 1fr)); gap: .4rem; }
.tile { border: 1px solid rgba(124, 58, 237, .25); background: #fff; border-radius: .7rem; padding: .35rem 0 .25rem; font-weight: 800; font-size: 1.15rem; line-height: 1.1; color: #2d1b4e; }
.tile small { display: block; font-size: .62rem; font-weight: 600; color: #7c6a99; }
.tile:hover:not(:disabled) { background: #f4edff; }
.tile:disabled { opacity: .4; }

/* Shop basket */
@media (min-width: 992px) { .basket-card { position: sticky; top: 5.5rem; } }
.basket-line { display: flex; gap: .5rem; align-items: flex-start; justify-content: space-between; padding: .5rem 0; border-bottom: 1px dashed rgba(124, 58, 237, .2); }
.basket-line .name { font-weight: 600; font-size: .95rem; }
.basket-line .tag { font-size: .72rem; color: #9a6b00; }
.basket-line button { border: 0; background: none; color: #b91c1c; padding: 0 .25rem; }
.book-item .add { margin-top: .4rem; }
