/* MDG catalog components: the markup printed by PHP and JS rather than built in Bricks
   (Add to My Event form, event list, graphic panel picker, item specs and FAQs, Contact Form 7 forms).
   Everything built in Bricks is styled by Bricks itself: Theme Style, the MDG palette, global classes.
   Colours and sizes come from the Bricks palette and global variables (var(--accent), var(--space-m) ...),
   so a palette change in Bricks reaches these too. Buttons use Bricks' own button classes.
   Rules for classes that also exist as Bricks global classes are scoped to .brxe-shortcode, so editing
   the global class in Bricks is never overridden on Bricks-built elements. */
.btn--block { display: flex; width: 100%; }
.wpcf7 .form .hidden-fields-container { display: none; }
.wpcf7 .form .wpcf7-form-control-wrap { display: block; }
.wpcf7 .form .wpcf7-not-valid-tip { color: #9b1c5a; font-size: var(--text-xs); margin-top: .4rem; }
.wpcf7 .form .wpcf7-response-output { margin: 0; background: #fde8f1; border: 0.2rem solid #f5b5d3; color: #9b1c5a; padding: var(--space-s); border-radius: var(--radius-s); font-size: var(--text-s); }
.wpcf7 .form.sent .wpcf7-response-output { background: var(--primary-soft); border-color: var(--border-primary); color: var(--text-title); }
.wpcf7 .form .wpcf7-spinner { display: none; }
.wpcf7 .form.submitting .wpcf7-spinner { display: inline-block; }
.event-count { display: inline-grid; place-items: center; min-width: 2.2rem; height: 2.2rem; padding: 0 .6rem; border-radius: var(--radius-pill); background: var(--accent); color: #fff; font-family: var(--font-sans); font-size: 1.2rem; font-weight: 800; line-height: 1; }
.event-count[hidden] { display: none; }
.bricks-mobile-menu-toggle { position: relative; overflow: visible; }
.bricks-mobile-menu-toggle .event-count--toggle { position: absolute; top: -0.6rem; right: -0.6rem; pointer-events: none; display: inline-grid; place-items: center; width: auto; min-width: 2.2rem; height: 2.2rem; margin: 0; padding: 0 .6rem; border-radius: var(--radius-pill); background: var(--accent); color: #fff; font-family: var(--font-sans); font-size: 1.2rem; font-weight: 800; line-height: 1; box-shadow: 0 0 0 0.3rem #fff; }
.bricks-mobile-menu-toggle .event-count--toggle[hidden] { display: none; }
.event-add { display: grid; gap: var(--gap-m); margin-bottom: var(--space-s); }
.event-add__fields { display: grid; gap: var(--gap-m); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.event-add .item-hero__actions { margin-top: var(--space-xs); }
.event-add .form__control.is-invalid { border-color: #d6336c; box-shadow: 0 0 0 0.3rem color-mix(in srgb, #d6336c 18%, transparent); }
.event-add__qty { max-width: 16rem; }
.event-add__done { font-weight: 700; color: var(--text-title); }
.event-add__done a { text-decoration: underline; }
.event-cart__list { display: grid; gap: var(--gap-s); }
.event-cart__item { display: grid; grid-template-columns: 9.6rem minmax(0, 1fr) auto auto; gap: var(--gap-s); align-items: center; background: #fff; border: 0.2rem solid var(--border-primary); border-radius: var(--radius-m); padding: var(--space-s); box-shadow: var(--shadow-primary); }
.event-cart__thumb img { width: 9.6rem; height: 7.2rem; object-fit: cover; border-radius: var(--radius-s); }
.event-cart__body { display: grid; gap: .2rem; min-width: 0; }
.event-cart__name { font-family: var(--font-display); font-weight: 700; color: var(--text-title); line-height: 1.25; }
.event-cart__opt { font-size: var(--text-s); color: var(--tertiary); }
.event-cart__price { font-size: var(--text-s); color: var(--tertiary); }
.event-cart__qty { display: inline-flex; align-items: center; border: 0.2rem solid var(--border-primary); border-radius: var(--radius-pill); overflow: hidden; background: #fff; }
.event-cart__qty button { width: 3.6rem; height: 3.6rem; border: 0; background: var(--accent-soft); color: var(--accent-strong); font-size: 2rem; font-weight: 800; line-height: 1; cursor: pointer; }
.event-cart__qty input { width: 5.6rem; height: 3.6rem; border: 0; text-align: center; font: inherit; font-weight: 700; color: var(--text-title); -moz-appearance: textfield; }
.event-cart__qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.event-cart__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.event-cart__one { font-size: var(--text-s); font-weight: 700; color: var(--tertiary); padding-inline: var(--space-xs); white-space: nowrap; }
.event-cart__remove { width: 3.6rem; height: 3.6rem; border-radius: 50%; border: 0; background: none; color: var(--tertiary); font-size: 2.4rem; line-height: 1; cursor: pointer; }
.event-cart__remove:hover { background: var(--accent-soft); color: var(--accent-strong); }
.event-cart__total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--gap-s); margin-top: var(--space-m); padding-top: var(--space-s); border-top: 0.2rem solid var(--border-primary); font-family: var(--font-display); font-weight: 800; font-size: var(--text-l); color: var(--text-title); }
.event-cart__total strong { color: var(--accent-strong); }
.event-cart__note { margin-top: var(--space-xs); }
@media (max-width: 559px) { .event-cart__item { grid-template-columns: 7.2rem minmax(0, 1fr) auto; } }
@media (max-width: 559px) { .event-cart__thumb img { width: 7.2rem; height: 5.4rem; } }
@media (max-width: 559px) { .event-cart__qty { grid-column: 2; grid-row: 2; justify-self: start; } }
@media (max-width: 559px) { .event-cart__remove { grid-column: 3; grid-row: 1; } }
.brxe-shortcode .faq__body a { text-decoration: underline; }
.brxe-shortcode .card__text a { text-decoration: underline; }
.brxe-shortcode .form__note a { text-decoration: underline; }
.brxe-shortcode .card { background: #fff; border: 0.2rem solid var(--border-primary); border-radius: var(--radius-m); padding: var(--space-l); box-shadow: var(--shadow-primary); height: 100%; }
.brxe-shortcode .card__title { font-size: var(--text-l); margin-bottom: var(--space-xs); color: var(--text-title); }
.brxe-shortcode .card__text { color: var(--tertiary); font-size: var(--text-s); }
.item-hero__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: var(--gap-xs); list-style: none; padding: 0; margin: 0; }
.item-hero__thumbs a { display: block; border-radius: var(--radius-m); overflow: hidden; border: 0.3rem solid #fff; box-shadow: var(--shadow-primary); background: var(--bg-surface); }
.item-hero__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .2s ease; }
.item-hero__thumbs a:hover img { transform: scale(1.05); }
.item-hero__actions { display: flex; flex-wrap: wrap; gap: var(--gap-s); }
.item-hero__actions .bricks-button { flex: 1 1 100%; }
@media (min-width: 560px) { .item-hero__actions .bricks-button { flex: 0 1 auto; } }
.item-spec { margin-bottom: var(--space-m); }
.item-spec__title { font-family: var(--font-display); font-size: var(--text-m); color: var(--text-title); margin-bottom: var(--space-xs); }
.spec-list { display: grid; gap: 0; font-size: var(--text-s); }
.price-list { display: grid; gap: 0; font-size: var(--text-s); }
.spec-list li { display: flex; justify-content: space-between; gap: var(--gap-m); padding: var(--space-xs) 0; border-bottom: 0.1rem solid var(--border-primary); }
.price-list li { display: flex; justify-content: space-between; gap: var(--gap-m); padding: var(--space-xs) 0; border-bottom: 0.1rem solid var(--border-primary); }
.spec-list li:last-child { border-bottom: 0; }
.price-list li:last-child { border-bottom: 0; }
.spec-list span { color: var(--tertiary); }
.price-list span { color: var(--tertiary); }
.spec-list strong { color: var(--text-title); text-align: right; }
.price-list strong { color: var(--text-title); text-align: right; }
.price-list strong { color: var(--accent-strong); font-family: var(--font-display); }
.brxe-shortcode .chips { display: flex; flex-wrap: wrap; gap: var(--gap-xs); }
.brxe-shortcode .chip { font-family: var(--font-display); font-weight: 700; font-size: var(--text-s); color: var(--primary); background: var(--primary-soft); padding: .45em 1em; border-radius: var(--radius-pill); }
.brxe-shortcode .checklist { display: grid; gap: var(--gap-s); }
.brxe-shortcode .checklist li { position: relative; padding-left: 2.6rem; }
.brxe-shortcode .checklist li::before { content: "✓"; position: absolute; left: 0; top: 0.1rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.1rem; font-weight: 800; }
.form { display: grid; gap: var(--gap-s); background: #fff; border: 0.2rem solid var(--border-primary); border-radius: var(--radius-m); padding: var(--space-l); box-shadow: var(--shadow-primary); }
.form__row { display: grid; gap: var(--gap-s); grid-template-columns: 1fr; }
.form__group { display: grid; gap: var(--gap-xs); align-content: start; }
.form__label { font-family: var(--font-display); font-weight: 700; font-size: var(--text-s); color: var(--text-title); }
.form__label span { color: var(--accent-strong); }
.form__opt { color: var(--tertiary); font-weight: 600; }
.form__control { font: inherit; font-size: 1.6rem; padding: 0.75em 0.9em; border: 0.2rem solid var(--border-primary); border-radius: var(--radius-s); background: #fff; color: var(--text-body); width: 100%; min-height: 4.8rem; }
.form__control:focus-visible { border-color: var(--accent); box-shadow: none; }
select.form__control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 2rem) center, calc(100% - 1.5rem) center; background-size: 0.5rem 0.5rem, 0.5rem 0.5rem; background-repeat: no-repeat; }
textarea.form__control { min-height: 12rem; resize: vertical; }
.form__hp { position: absolute; left: -9999px; width: 0.1rem; height: 0.1rem; overflow: hidden; }
.brxe-shortcode .form__note { font-size: var(--text-xs); color: var(--tertiary); }
.brxe-shortcode .form__note.form__note--captcha { margin-top: var(--space-2xs); color: #595267; }
.form__error { background: #fde8f1; border: 0.2rem solid #f5b5d3; color: #9b1c5a; padding: var(--space-s); border-radius: var(--radius-s); font-size: var(--text-s); }
@media (min-width: 520px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.brxe-shortcode .faq__item { border: 0.2rem solid var(--border-primary); border-radius: var(--radius-m); margin-bottom: var(--space-s); background: #fff; overflow: hidden; }
.brxe-shortcode .faq__item > summary { cursor: pointer; padding: var(--space-m); font-family: var(--font-display); font-weight: 700; font-size: var(--text-m); color: var(--text-title); list-style: none; display: flex; justify-content: space-between; gap: var(--gap-s); }
.brxe-shortcode .faq__item > summary::-webkit-details-marker { display: none; }
.brxe-shortcode .faq__item > summary::after { content: "+"; color: var(--accent); font-weight: 800; font-size: var(--text-l); line-height: 1; }
.brxe-shortcode .faq__item[open] > summary::after { content: "–"; }
.brxe-shortcode .faq__body { padding: 0 var(--space-m) var(--space-m); color: var(--tertiary); }
.brxe-shortcode .stack-sm > * + * { margin-top: var(--space-s); }
.brxe-shortcode .text-soft { color: var(--tertiary); }
.item-hero__thumbs img { object-fit: contain; background: #fff; }
.event-cart__thumb img { object-fit: contain; background: #fff; }
.form .event-items-note { font-size: var(--text-m); font-weight: 700; line-height: 1.45; color: var(--text-title); background: var(--accent-soft); border: 0.2rem solid var(--border-primary); border-radius: var(--radius-s); padding: var(--space-s) var(--space-m); }
.form .event-items-note a { color: var(--accent-strong); text-decoration: underline; }
@media (max-width: 719px) { .event-cart__qty button { min-width: 4.4rem; min-height: 4.4rem; } }
@media (max-width: 719px) { .event-cart__remove { min-width: 4.4rem; min-height: 4.4rem; } }
@media (max-width: 719px) { .event-cart__qty input { min-height: 4.4rem; } }
.panel-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-s); }
@media (min-width: 560px) { .panel-picker { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .panel-picker { grid-template-columns: repeat(4, 1fr); } }
.panel-pick { display: flex; flex-direction: column; gap: .6rem; padding: .6rem; cursor: pointer; background: #fff; border: 0.2rem solid var(--border-primary); border-radius: var(--radius-s); font: inherit; text-align: center; transition: border-color .14s ease, transform .14s ease; }
.panel-pick__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.panel-pick__name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs); color: var(--text-title); line-height: 1.2; }
.panel-pick:hover { border-color: var(--accent); transform: translateY(-.2rem); }
.panel-pick[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 0.3rem var(--accent-soft); }
.panel-pick[aria-pressed="true"] .panel-pick__name::after { content: " ✓"; color: var(--accent-strong); }
.panel-picker__status:not(:empty) { margin-bottom: var(--space-s); font-size: var(--text-s); color: var(--accent-strong); font-weight: 700; }
.panel-card__actions { display: flex; flex-wrap: wrap; gap: var(--gap-s); margin-top: var(--space-m); }
.panel-card__actions .bricks-button { flex: 1 1 100%; }
@media (min-width: 560px) { .panel-card__actions .bricks-button { flex: 0 1 auto; } }
.panel-peek { justify-self: start; margin-top: .2rem; padding: .6rem 0; min-height: 4rem; display: inline-flex; align-items: center; background: none; border: 0; cursor: pointer; font: inherit; font-size: var(--text-s); font-weight: 700; color: var(--accent-strong); text-decoration: underline; text-underline-offset: .3rem; }
.panel-peek:hover { color: var(--accent); }
.panel-dialog { margin: auto; width: min(94vw, 96rem); max-width: 96rem; padding: 0; border: 0; max-height: 86vh; max-height: 86dvh; border-radius: var(--radius-m); background: var(--bg-surface); color: var(--text-body); overflow: auto; overscroll-behavior: contain; box-shadow: 0 2.4rem 6.4rem rgba(0,0,0,.34); }
body.mdg-modal-open { overflow: hidden; }
.panel-dialog::backdrop { background: rgba(24, 8, 46, .62); }
.panel-dialog__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: var(--gap-s); padding: var(--space-m); background: var(--grad-brand); color: #fff; }
.panel-dialog__title { margin: 0; font-family: var(--font-display); font-size: var(--text-l); color: #fff; }
.panel-dialog__close { display: grid; place-items: center; width: 4.4rem; height: 4.4rem; flex: none; background: rgba(255,255,255,.18); color: #fff; border: 0; border-radius: var(--radius-s); font-size: 2.6rem; line-height: 1; cursor: pointer; }
.panel-dialog__close:hover { background: rgba(255,255,255,.32); }
.panel-dialog__note { margin: 0; padding: var(--space-s) var(--space-m) 0; font-size: var(--text-s); color: var(--tertiary); }
.panel-dialog .panel-picker { padding: var(--space-m); }
@media (max-width: 419px) { .panel-dialog__head { padding: var(--space-s); } }
@media (max-width: 419px) { .panel-dialog__foot { padding: var(--space-s); } }
@media (max-width: 419px) { .panel-dialog .panel-picker { padding: var(--space-s); gap: var(--gap-xs); } }
.panel-dialog__foot { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: var(--gap-s); padding: var(--space-m); background: var(--bg-surface); border-top: 0.1rem solid var(--border-primary); }
.panel-dialog__foot .bricks-button { flex: 1 1 auto; }

/* Choice photos (2026-09-14): a choice such as Base color shown as photos to tap. */
.choice-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-s); margin-top: var(--space-s); }
.choice-pick { display: flex; flex-direction: column; gap: .6rem; padding: .6rem; cursor: pointer; background: #fff; border: 0.2rem solid var(--border-primary); border-radius: var(--radius-s); font: inherit; text-align: center; transition: border-color .14s ease, transform .14s ease; }
.choice-pick__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.choice-pick__name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-s); color: var(--text-title); line-height: 1.2; }
.choice-pick:hover { border-color: var(--accent); transform: translateY(-.2rem); }
.choice-pick[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 0.3rem var(--accent-soft); }
.choice-pick[aria-pressed="true"] .choice-pick__name::after { content: " ✓"; color: var(--accent-strong); }
