/*!
 * Event page design 1, "Standard" — dev-doc/perincian_acara_larian_pahang_1st/
 *
 * Replaces the crimson "classic" sheet in event-templates.css, which is still
 * loaded by the "bold" and "minimal" designs and therefore left alone. Tokens,
 * buttons, badges, pills, fields and the chrome all come from apex.css.
 *
 *   1. Plates (image slots)   5. Kit & route
 *   2. Hero                   6. Timeline
 *   3. Layout                 7. Sidebar
 *   4. Blocks & categories    8. Closing banner
 */

/* ---------------------------------------------------------------------------
   1. Plates — an image slot, with a drawn stand-in when it is empty
   ------------------------------------------------------------------------ */

.ev .tpl-plate {
    position: relative;
    overflow: hidden;
    border-radius: var(--ax-r-card);
    background:
        radial-gradient(100% 100% at 22% 0%, rgba(0, 210, 255, 0.35) 0%, rgba(5, 12, 37, 0) 62%),
        linear-gradient(150deg, #222943 0%, #131a33 58%, #050c25 100%);
}

.ev .tpl-plate::after {
    content: "";
    position: absolute;
    inset: -30%;
    background-image: repeating-linear-gradient(
        112deg,
        rgba(165, 231, 255, 0.06) 0px,
        rgba(165, 231, 255, 0.06) 1px,
        transparent 1px,
        transparent 34px
    );
    pointer-events: none;
}

.ev .tpl-plate > * { position: relative; z-index: 1; }

/* A slot with an organiser's upload in it. The gradient above stays as the
   empty state, so a design with no images still looks like the comp rather
   than like a broken page. */
.ev .tpl-plate--photo {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ev .tpl-plate--photo::after { opacity: 0.3; }

.ev .tpl-plate__zoom {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: zoom-in;
}

/* ---------------------------------------------------------------------------
   2. Hero
   ------------------------------------------------------------------------ */

.ev-hero {
    position: relative;
    padding-top: calc(var(--ax-nav-h) + clamp(28px, 3.5vw, 48px));
    padding-bottom: clamp(32px, 4vw, 56px);
    background-color: var(--ax-lowest);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* No upload: the same wash the landing hero draws, so the page still reads as
   a race rather than a slab of navy. */
.ev-hero:not(.ev-hero--photo)::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 95% at 82% 8%, rgba(0, 210, 255, 0.4) 0%, rgba(1, 70, 229, 0) 58%),
        linear-gradient(152deg, #131a33 0%, #0a122b 54%, #050c25 100%);
}

.ev-hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(5, 12, 37, 0.94) 0%, rgba(5, 12, 37, 0.78) 48%, rgba(5, 12, 37, 0.42) 100%),
        linear-gradient(to top, var(--ax-surface) 0%, rgba(5, 12, 37, 0) 42%);
}

.ev-hero__inner { position: relative; z-index: 1; }

.ev-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 12px;
}

.ev-hero__series {
    margin: 0 0 8px;
    font-family: var(--ax-body);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ax-primary);
}

.ev-hero__title { max-width: 20ch; }

.ev-hero__slogan {
    max-width: 48ch;
    margin: 14px 0 0;
    font-size: 1.0625rem;
    font-style: italic;
    font-weight: 600;
    color: var(--ax-on-variant);
}

.ev-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    margin: 24px 0;
}

.ev-fact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--ax-r-card);
    background: rgba(23, 30, 56, 0.85);
    backdrop-filter: blur(8px);
}

.ev-fact .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 1.375rem;
    color: var(--ax-primary);
}

.ev-fact strong {
    display: block;
    margin-top: 2px;
    font-family: var(--ax-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ax-on-surface);
}

.ev-fact--accent {
    background: var(--ax-blue);
}

.ev-fact--accent .material-symbols-outlined,
.ev-fact--accent strong { color: #ffffff; }

.ev-fact--accent .ax-micro { color: var(--ax-on-blue); }

.ev-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------------------------------------------------------------------------
   3. Layout
   ------------------------------------------------------------------------ */

.ev-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

@media (min-width: 992px) {
    .ev-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
}

.ev-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ---------------------------------------------------------------------------
   4. Blocks & categories
   ------------------------------------------------------------------------ */

.ev-block {
    padding: clamp(20px, 2.4vw, 32px);
    border-radius: var(--ax-r-card);
    background: var(--ax-low);
}

.ev-block__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

/* The accent rule the comp puts to the left of every section heading. */
.ev-block__title {
    position: relative;
    margin: 0 0 16px;
    padding-left: 14px;
    font-family: var(--ax-display);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ax-on-surface);
}

.ev-block__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 4px;
    border-radius: 2px;
    background: var(--ax-cyan);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
}

.ev-block__bar .ev-block__title { margin-bottom: 0; }
.ev-block__bar + * { margin-top: 16px; }

.ev-prose { margin: 0 0 18px; }
.ev-prose:last-child { margin-bottom: 0; }

.ev-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.ev-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border-radius: var(--ax-r);
    background: var(--ax-container);
}

.ev-point .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 1.25rem;
    color: var(--ax-cyan);
}

.ev-point strong {
    display: block;
    font-family: var(--ax-display);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ax-on-surface);
}

.ev-point span span {
    display: block;
    margin-top: 3px;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--ax-on-variant);
}

/* Categories — one row per package, live */
.ev-categories {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ev-category {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--ax-r);
    background: var(--ax-container);
}

.ev-category.is-closed { opacity: 0.62; }

.ev-category__mark {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 8px 10px;
    border-radius: 6px;
    background: var(--ax-blue);
    font-family: var(--ax-display);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffffff;
}

.ev-category__body { flex: 1; min-width: 0; }

.ev-category__body strong {
    display: block;
    font-family: var(--ax-display);
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ax-on-surface);
}

.ev-category__body span {
    display: block;
    margin-top: 3px;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--ax-on-variant);
}

.ev-category__price {
    flex: 0 0 auto;
    text-align: right;
}

.ev-category__price strong {
    display: block;
    margin-top: 2px;
    font-family: var(--ax-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ax-cyan);
}

.ev-category.is-closed .ev-category__price strong { color: var(--ax-outline); }

/* Prize tables */
.ev-prize__label {
    margin: 18px 0 10px;
    font-family: var(--ax-body);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ax-primary);
}

.ev-prize {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ev-prize__item {
    padding: 14px;
    border-radius: var(--ax-r);
    background: var(--ax-container);
    text-align: center;
}

.ev-prize__item strong {
    display: block;
    margin-top: 4px;
    font-family: var(--ax-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ax-on-surface);
}

.ev-prize__note {
    display: block;
    margin-top: 4px;
    font-size: 0.6875rem;
    color: var(--ax-outline);
}

.ev-prize__item.is-first {
    background: var(--ax-blue);
}

.ev-prize__item.is-first .ax-micro,
.ev-prize__item.is-first .ev-prize__note { color: var(--ax-on-blue); }

.ev-prize__item.is-first strong { color: #ffffff; }

/* ---------------------------------------------------------------------------
   5. Kit & route
   ------------------------------------------------------------------------ */

.ev-kit {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .ev-kit { grid-template-columns: 5fr 7fr; }
}

.ev-kit__media {
    position: relative;
    min-height: 220px;
    aspect-ratio: 4 / 3;
}

.ev-kit__media figcaption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(5, 12, 37, 0.8);
    backdrop-filter: blur(6px);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ax-on-variant);
}

.ev-kit__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ev-kit__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border-radius: var(--ax-r);
    background: var(--ax-container);
}

.ev-kit__list .ax-plate { background: var(--ax-low); color: var(--ax-cyan); }

.ev-kit__list strong {
    display: block;
    font-family: var(--ax-display);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ax-on-surface);
}

.ev-kit__list span span {
    display: block;
    margin-top: 3px;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--ax-on-variant);
}

.ev-route__map {
    aspect-ratio: 16 / 9;
    margin-bottom: 16px;
}

.ev-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ev-legend li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--ax-r-pill);
    background: var(--ax-container);
    font-size: 0.75rem;
    color: var(--ax-on-variant);
}

.ev-legend strong {
    font-family: var(--ax-display);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ax-on-surface);
}

.ev-legend__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ax-cyan);
    box-shadow: 0 0 8px var(--ax-cyan);
}

/* ---------------------------------------------------------------------------
   6. Timeline
   ------------------------------------------------------------------------ */

.ev-timeline {
    position: relative;
    margin: 0;
    padding: 0 0 0 22px;
    list-style: none;
}

.ev-timeline::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--ax-highest);
}

.ev-timeline__row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 18px;
    padding: 12px 0;
}

.ev-timeline__row::before {
    content: "";
    position: absolute;
    left: -22px;
    top: 18px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ax-cyan);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.6);
}

.ev-timeline__time {
    flex: 0 0 auto;
    min-width: 78px;
    font-family: var(--ax-display);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ax-cyan);
    font-variant-numeric: tabular-nums;
}

.ev-timeline__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.ev-timeline__body strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ax-on-surface);
}

/* ---------------------------------------------------------------------------
   7. Sidebar
   ------------------------------------------------------------------------ */

.ev-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 992px) {
    .ev-aside {
        position: sticky;
        top: calc(var(--ax-nav-h) + 16px);
    }
}

.ev-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: var(--ax-r-card);
    background: var(--ax-container);
    box-shadow: var(--ax-lift);
}

.ev-panel--muted { background: var(--ax-low); box-shadow: none; }

.ev-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
}

.ev-panel__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: var(--ax-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ax-on-surface);
}

.ev-panel__title .material-symbols-outlined { font-size: 1.125rem; color: var(--ax-cyan); }

.ev-quota { display: flex; flex-direction: column; gap: 6px; }

.ev-quota__label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    font-family: var(--ax-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ax-on-surface);
}

.ev-quota__track {
    height: 6px;
    border-radius: 3px;
    background: var(--ax-high);
    overflow: hidden;
}

.ev-quota__track span {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(to right, var(--ax-blue), var(--ax-cyan));
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.ev-quota__left { margin: 0; }

.ev-panel__price {
    padding: 14px 16px;
    border-radius: var(--ax-r);
    background: var(--ax-low);
}

.ev-panel__price strong {
    display: block;
    margin-top: 2px;
    font-family: var(--ax-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--ax-cyan);
}

.ev-panel__submit { margin-top: 14px; }

.ev-panel__note {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: var(--ax-r);
    background: var(--ax-high);
    font-size: 0.8125rem;
    color: var(--ax-on-variant);
}

.ev-panel__cart {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--ax-high);
}

.ev-panel__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
}

.ev-panel__total strong {
    font-family: var(--ax-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ax-cyan);
}

.ev-org {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--ax-high);
}

.ev-org__mark {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--ax-r);
    background: var(--ax-low);
    font-family: var(--ax-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--ax-primary);
}

.ev-org strong {
    display: block;
    margin-top: 2px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ax-on-surface);
}

.ev-verified {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 14px;
    border-radius: var(--ax-r);
    background: var(--ax-low);
}

.ev-verified .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 1.25rem;
    color: var(--ax-cyan);
}

.ev-verified strong {
    display: block;
    font-family: var(--ax-display);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ax-on-surface);
}

.ev-verified span span {
    display: block;
    margin-top: 3px;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--ax-on-variant);
}

.ev-redeem {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ev-redeem li {
    padding: 12px 14px;
    border-radius: var(--ax-r);
    background: var(--ax-container);
}

.ev-redeem strong {
    display: block;
    font-family: var(--ax-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ax-on-surface);
}

.ev-redeem span {
    display: block;
    margin-top: 3px;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--ax-on-variant);
}

/* ---------------------------------------------------------------------------
   8. Closing banner
   ------------------------------------------------------------------------ */

.ev-banner {
    padding-block: clamp(32px, 4vw, 56px);
    background:
        radial-gradient(80% 160% at 50% 0%, rgba(1, 70, 229, 0.4) 0%, rgba(1, 70, 229, 0) 68%),
        var(--ax-lowest);
    text-align: center;
}

.ev-banner__line {
    margin: 0;
    font-family: var(--ax-display);
    font-size: clamp(1.25rem, 2.6vw, 1.875rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ax-cyan);
}

.ev-banner__tags {
    margin: 10px 0 0;
    font-family: var(--ax-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ax-outline);
}

/* ---------------------------------------------------------------------------
   9. The live booking components
       <x-landing.selector>, <x-landing.cart-lines>, the cart alerts and the
       preview bar are shared by all three FR-205 designs and carry `cl-*` and
       `tpl-*` classes that event-templates.css styles for the other two. This
       page no longer loads that sheet, so it dresses them itself — scoped to
       `.ev` so it can never reach the crimson designs.
   ------------------------------------------------------------------------ */

.ev .cl-tiers {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

/* One package. The whole row is the label, so the hit target is the tier and
   not the 14px radio inside it. */
.ev .cl-tier {
    display: block;
    padding: 12px 14px;
    border-radius: var(--ax-r);
    background: var(--ax-low);
    cursor: pointer;
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.ev .cl-tier:hover { background: var(--ax-high); }

/* :has() is what lets the selected tier light up without a line of JavaScript.
   Where it is unsupported the tier simply stays unhighlighted and the radio
   itself still shows the choice. */
.ev .cl-tier:has(input:checked) {
    background: var(--ax-high);
    box-shadow: inset 0 0 0 1px var(--ax-cyan);
}

.ev .cl-tier:has(input:focus-visible) {
    outline: 2px solid var(--ax-cyan);
    outline-offset: 2px;
}

.ev .cl-tier:has(input:disabled) {
    opacity: 0.55;
    cursor: not-allowed;
}

.ev .cl-tier__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ev .cl-tier__name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-family: var(--ax-display);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ax-on-surface);
}

.ev .cl-tier__name input {
    flex: 0 0 auto;
    accent-color: var(--ax-cyan);
    width: 16px;
    height: 16px;
}

.ev .cl-tier__price {
    flex: 0 0 auto;
    font-family: var(--ax-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ax-cyan);
}

.ev .cl-tier__note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0;
    font-size: 0.75rem;
    color: var(--ax-outline);
}

.ev .cl-tier__note .material-symbols-outlined { font-size: 0.9375rem; }

/* Option select and any other field the selector renders. */
.ev [data-options-wrap] label,
.ev .cl-tiers + label {
    display: block;
    margin-top: 12px;
}

.ev [data-options-wrap] label > span,
.ev .cl-tiers + label > span {
    display: block;
    margin-bottom: 6px;
    font-family: var(--ax-body);
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ax-outline);
}

.ev select,
.ev input[type="number"],
.ev input[type="text"],
.ev input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border: 0;
    border-radius: var(--ax-r);
    background: var(--ax-low);
    color: var(--ax-on-surface);
    font-family: var(--ax-body);
    font-size: 0.9375rem;
}

.ev select option { background: var(--ax-high); color: var(--ax-on-surface); }

.ev select:focus,
.ev input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--ax-cyan); }

/* Quantity stepper */
.ev .cl-qty-field { margin-top: 14px; }

.ev .cl-qty-field__label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--ax-body);
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ax-outline);
}

.ev .cl-qty {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: var(--ax-r);
    background: var(--ax-low);
}

.ev .cl-qty__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 6px;
    background: var(--ax-high);
    color: var(--ax-on-surface);
    cursor: pointer;
}

.ev .cl-qty__step:hover { background: var(--ax-cyan); color: var(--ax-on-cyan); }

.ev .cl-qty__step:disabled { opacity: 0.4; cursor: not-allowed; }

.ev .cl-qty__step .material-symbols-outlined { font-size: 1.125rem; }

.ev .cl-qty .cl-qty__value {
    width: 64px;
    padding: 8px 0;
    background: transparent;
    text-align: center;
    font-family: var(--ax-display);
    font-size: 1.0625rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ev .cl-qty .cl-qty__value:focus { box-shadow: none; }

/* Notes and alerts */
.ev .tpl-note {
    margin: 12px 0 0;
    padding: 11px 14px;
    border-radius: var(--ax-r);
    background: var(--ax-high);
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--ax-on-variant);
}

.ev .tpl-note--warn {
    background: rgba(255, 180, 171, 0.12);
    color: var(--ax-error);
}

/* Cart lines */
.ev .tpl-cart {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.ev .tpl-cart__line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--ax-r);
    background: var(--ax-low);
}

.ev .tpl-cart__name {
    font-family: var(--ax-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ax-on-surface);
}

.ev .tpl-cart__meta {
    display: block;
    margin-top: 2px;
    font-size: 0.75rem;
    color: var(--ax-outline);
}

.ev .tpl-cart__remove {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ax-outline);
    cursor: pointer;
}

.ev .tpl-cart__remove:hover { background: var(--ax-high); color: var(--ax-error); }

/* The organiser's own preview banner (FR-205). Sits above the page, outside
   `.ev`, so it is styled unscoped — this sheet only loads on this design. */
.tpl-preview-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: var(--ax-nav-h);
    padding: 12px 20px;
    background: var(--ax-blue);
    color: #ffffff;
    font-family: var(--ax-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

/* With the bar present the hero must not also clear the fixed navbar, or the
   two paddings stack and leave a navy gap. */
.tpl-preview-bar + .ev .ev-hero {
    padding-top: clamp(28px, 3.5vw, 48px);
}
