/* Onimo CMS — starter styles for lists and forms on the website.
   They inherit the site's fonts and colours. Override any of them in the site's own CSS,
   or set --cms-accent on :root to match the brand. */
.cms-list { display: grid; gap: 12px; }
.cms-empty { opacity: .75; margin: 0; }

/* Events / gigs */
.cms-event { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid rgba(127,127,127,.25); border-radius: 10px; }
.cms-event-date { text-align: center; border-radius: 8px; padding: 8px 0 6px; background: var(--cms-accent, #222); color: #fff; line-height: 1; }
.cms-event-date b { display: block; font-size: 1.7em; }
.cms-event-date span { font-size: .75em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cms-event h3 { margin: 0; font-size: 1.05em; }
.cms-event p { margin: .2em 0 0; opacity: .8; }
.cms-button { display: inline-block; padding: .6em 1em; border-radius: 6px; background: var(--cms-accent, #222); color: #fff; text-decoration: none; font-weight: 600; }
@media (max-width: 560px) { .cms-event { grid-template-columns: 56px 1fr; } .cms-event .cms-button { grid-column: 1 / -1; text-align: center; } }

/* Prices */
.cms-list-prices { gap: 0; }
.cms-price { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(127,127,127,.25); }
.cms-price h3 { margin: 0; font-size: 1.05em; }
.cms-price p { margin: .25em 0 0; opacity: .8; }
.cms-price-amount { white-space: nowrap; font-size: 1.15em; color: var(--cms-accent, inherit); }

/* Menu */
.cms-list-menu { gap: 0; }
.cms-menu-section { margin: 1.2em 0 .3em; }
.cms-menu-item { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed rgba(127,127,127,.3); }
.cms-menu-item h4 { margin: 0; font-size: 1em; }
.cms-menu-item p { margin: .2em 0 0; opacity: .8; }
.cms-tags { font-weight: 400; opacity: .7; }

/* Reviews */
.cms-list-reviews { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cms-review { margin: 0; padding: 18px 20px; border-radius: 10px; border: 1px solid rgba(127,127,127,.25); }
.cms-review p { margin: 0 0 10px; }
.cms-stars { color: #F2B01E; letter-spacing: 2px; margin: 0 0 6px !important; }

/* Opening hours */
.cms-list-hours { gap: 0; }
.cms-hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dashed rgba(127,127,127,.3); }

/* Notices (holiday closures, offers) */
.cms-notice { padding: 12px 16px; border-radius: 8px; background: #FFF4D6; color: #5A4300; font-weight: 600; }

/* Forms */
.cms-form-thanks { padding: 16px 18px; border-radius: 10px; background: #E8F6EE; color: #14532D; font-weight: 600; }
.cms-form-error { padding: 10px 14px; border-radius: 8px; background: #FDECEC; color: #A9161C; font-weight: 600; }
.cms-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Before & after sliders */
.cms-list-beforeafter { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.cms-ba { margin: 0; }
.cms-ba-frame { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 4 / 3; background: #ddd; touch-action: pan-y; }
.cms-ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; display: block; }
.cms-ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0); }
.cms-ba-frame::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.45); pointer-events: none; z-index: 2; }
.cms-ba-frame::before { content: "\2194"; position: absolute; top: 50%; left: var(--p, 50%); transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #222; display: grid; place-items: center; font: 700 18px/1 system-ui, sans-serif; box-shadow: 0 2px 10px rgba(0,0,0,.35); pointer-events: none; z-index: 3; }
.cms-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; -webkit-appearance: none; appearance: none; }
.cms-ba-frame:has(.cms-ba-range:focus-visible) { outline: 3px solid #4C7DFF; outline-offset: 2px; }
.cms-ba-label { position: absolute; bottom: 10px; z-index: 2; padding: 4px 9px; border-radius: 4px; background: rgba(0,0,0,.62); color: #fff; font: 600 12px/1.2 system-ui, sans-serif; letter-spacing: .03em; pointer-events: none; }
.cms-ba-l { left: 10px; } .cms-ba-r { right: 10px; }
.cms-ba figcaption { margin-top: 8px; font-size: .95em; opacity: .85; }

/* Quote calculator and booking (inherit the site's fonts; set --cms-accent on the page to match the brand) */
.cms-quote, .cms-book-form { display: grid; gap: 14px; }
.cms-quote-group, .cms-book-step { border: 0; padding: 0; margin: 0 0 18px; }
.cms-quote-group legend, .cms-book-step legend { font-weight: 700; font-size: 1.05em; margin-bottom: 8px; padding: 0; }
.cms-quote-group legend small { font-weight: 400; opacity: .7; }
.cms-quote-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border: 1.5px solid rgba(127,127,127,.35); border-radius: 8px; margin-bottom: 8px; cursor: pointer; }
.cms-quote-opt:has(input:checked) { border-color: var(--cms-accent, #0F1A3A); box-shadow: inset 0 0 0 1px var(--cms-accent, #0F1A3A); }
.cms-quote-opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--cms-accent, #0F1A3A); }
.cms-quote-label small { display: block; opacity: .7; font-size: .88em; }
.cms-quote-price { font-weight: 700; white-space: nowrap; }
.cms-quote-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-radius: 8px; background: var(--cms-accent, #0F1A3A); color: #fff; }
.cms-quote-total b { font-size: 1.6em; }
.cms-quote-note { font-size: .9em; opacity: .8; margin: 0; }
.cms-quote-details, .cms-book-form fieldset { display: grid; gap: 6px; }
.cms-quote-details label, .cms-book-form label { font-weight: 600; margin-top: 6px; }
.cms-quote input:not([type=radio]):not([type=checkbox]), .cms-quote textarea, .cms-book-form input, .cms-book-form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid rgba(127,127,127,.45); border-radius: 8px; font: inherit; box-sizing: border-box; }
.cms-quote button[type=submit], .cms-book-form button[type=submit] { min-height: 50px; border: 0; border-radius: 8px; background: var(--cms-accent, #0F1A3A); color: #fff; font: inherit; font-weight: 700; cursor: pointer; margin-top: 8px; }
.cms-book-services, .cms-book-slots { display: flex; flex-wrap: wrap; gap: 10px; }
.cms-book-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cms-book-services button, .cms-book-days button, .cms-book-slots button { font: inherit; color: inherit; background: #fff; border: 1.5px solid rgba(127,127,127,.4); border-radius: 8px; cursor: pointer; padding: 10px 12px; display: grid; gap: 2px; text-align: center; }
.cms-book-services button { text-align: left; min-width: 180px; }
.cms-book-days button { padding: 6px 2px; } .cms-book-days b { font-size: 1.2em; }
.cms-book-days button small, .cms-book-services small { font-size: .78em; opacity: .75; }
.cms-book-days button:disabled { opacity: .3; cursor: default; }
.cms-book-services button.is-on, .cms-book-days button.is-on, .cms-book-slots button.is-on { background: var(--cms-accent, #0F1A3A); border-color: var(--cms-accent, #0F1A3A); color: #fff; }
.cms-book-more { margin-top: 8px; text-align: right; } .cms-book-more button { background: none; border: 0; font: inherit; text-decoration: underline; cursor: pointer; color: inherit; }
.cms-book-sum { padding: 12px 14px; border-radius: 8px; background: rgba(127,127,127,.1); margin: 8px 0 0; }
.cms-book-done { padding: 18px; border-radius: 8px; background: #E6F4EC; color: #145A37; } .cms-book-done p { margin: 6px 0 0; }
.cms-book-msg { padding: 12px 14px; border-radius: 8px; background: #FFF4E0; }
@media (max-width: 480px) { .cms-book-days { gap: 4px; } .cms-book-days button { padding: 4px 0; } }
.cms-book-form fieldset { border: 0; padding: 0; margin: 0; } .cms-book-form legend { font-weight: 700; font-size: 1.05em; margin-bottom: 8px; padding: 0; }

/* Privacy policy and cookie policy pages (written by Privacy & cookies in the admin) */
.cms-legal-wrap { padding: 56px 20px 72px; }
.cms-legal { max-width: 820px; margin: 0 auto; font-size: 1.02rem; line-height: 1.7; }
.cms-legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); line-height: 1.15; margin: 0 0 .3em; }
.cms-legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.25; margin: 2em 0 .5em; }
.cms-legal h3 { font-size: 1.12rem; margin: 1.5em 0 .4em; }
.cms-legal p, .cms-legal ul { margin: 0 0 1em; }
.cms-legal ul { padding-left: 1.3em; }
.cms-legal li { margin: .35em 0; }
.cms-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cms-legal-meta { opacity: .75; font-size: .95rem; }
.cms-legal-small { font-size: .9rem; opacity: .85; }
.cms-legal-actions { margin-top: 2.5em; font-weight: 600; }
.cms-legal-table { overflow-x: auto; margin: 0 0 1em; }
.cms-legal table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.cms-legal th, .cms-legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(127,127,127,.3); }
.cms-legal th { font-weight: 700; border-bottom-width: 2px; }
.cms-legal td small { opacity: .75; }
.cms-legal-links a { color: inherit; }
.cms-legal-links-row { padding: 14px 0 4px; font-size: .9em; opacity: .9; }
.cms-legal-wrap.has-hero { padding-top: 40px; }
.cms-legal ul { list-style: disc outside; padding-left: 1.3em; }
.cms-legal ul > li { list-style: disc outside; }
.cms-legal h1, .cms-legal h2, .cms-legal h3 { text-transform: none; letter-spacing: normal; }
