/*
 * Shared styles for the Magic and Villains quote-builder pages
 * (catering-book.php, entertainment-book.php). Everything is scoped under
 * .ct-page so nothing leaks into the shared header/footer. Black, gold, cream
 * and crimson, per the catering concept art.
 */

/* These pages set every color themselves. "only light" opts them out of
   Chrome's Auto Dark Mode (and DevTools' "emulate auto dark mode"), which
   otherwise re-darkens them: the cream cards turned brown and the gold
   gradient heading near-black. */
:root { color-scheme: only light; }

.ct-page {
    --ct-black: #0b0806;
    --ct-panel: #140e0a;
    --ct-gold: #d4a64a;
    --ct-gold-light: #f2d58f;
    --ct-gold-dim: rgba(212, 166, 74, 0.45);
    --ct-cream: #fbf4e6;
    --ct-cream-dark: #efe3cb;
    --ct-ink: #2a1d14;
    --ct-muted: #4f4033;
    --ct-red: #8f0f15;
    --ct-red-dark: #7a0c11;
    --ct-on-dark: #efe6d6;
    position: relative;
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--ct-on-dark);
    /* header-transparent-dark takes no space in the flow — same 140px
       top padding as the Spider-Man and Mermaid pages. */
    padding: 140px 16px 120px;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(212, 166, 74, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 90% 60%, rgba(179, 19, 27, 0.12) 0%, transparent 50%),
        var(--ct-black);
}
.ct-page *, .ct-page *::before, .ct-page *::after { box-sizing: border-box; }

/* magic-theme.css forces its heading font with !important on h1-h6. */
.ct-page h1, .ct-page h2, .ct-page h3, .ct-page .ct-caps {
    font-family: 'Cinzel', Georgia, serif !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.15;
    margin: 0;
}

.ct-page .ct-wrap { max-width: 1320px; margin: 0 auto; }
.ct-page .ct-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
    align-items: start;
}
@media (max-width: 1099px) { .ct-page .ct-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Gold-framed dark panels ---------- */
.ct-page .ct-panel {
    background: linear-gradient(180deg, #17100b, #0f0a07);
    border: 1.5px solid var(--ct-gold);
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(242, 213, 143, 0.12), 0 12px 30px rgba(0, 0, 0, 0.45);
    padding: 18px;
}
.ct-page .ct-panel + .ct-panel { margin-top: 14px; }
.ct-page .ct-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--ct-gold-light);
}
.ct-page .ct-panel-head > i { font-size: 1.5rem; color: var(--ct-gold); width: 30px; text-align: center; }
.ct-page .ct-panel-head h2 { font-size: 1.3rem; color: var(--ct-gold-light); }
.ct-page .ct-panel-head small {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--ct-on-dark);
    text-transform: none;
}
.ct-page .ct-panel-intro { font-size: 0.85rem; margin: -6px 0 14px; color: var(--ct-on-dark); }

/* ---------- Page intro ---------- */
.ct-page .ct-intro {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}
.ct-page .ct-emblem {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.9rem;
    color: #3a2410;
    background: radial-gradient(circle at 35% 30%, #fbe7b0, var(--ct-gold) 60%, #9c7426);
    box-shadow: 0 0 0 2px rgba(242, 213, 143, 0.35), 0 6px 18px rgba(0, 0, 0, 0.5);
}
.ct-page .ct-intro-text { flex: 1; min-width: 0; }
.ct-page .ct-intro h1 {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    color: var(--ct-gold-light);
    background: linear-gradient(180deg, #fff1c9 0%, var(--ct-gold) 70%, #b0852f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ct-page .ct-intro p { margin: 6px 0 0; font-size: 0.92rem; line-height: 1.5; color: var(--ct-on-dark); }
.ct-page .ct-custom {
    flex: 0 0 auto;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.3;
    padding-left: 18px;
    border-left: 1px solid var(--ct-gold-dim);
}
.ct-page .ct-custom i { display: block; font-size: 2.1rem; color: var(--ct-gold); margin-bottom: 6px; }
@media (max-width: 640px) {
    .ct-page .ct-intro { flex-wrap: wrap; }
    .ct-page .ct-emblem { display: none; }
    .ct-page .ct-custom { flex-basis: 100%; display: flex; align-items: center; gap: 10px; border-left: 0; padding-left: 0; text-align: left; }
    .ct-page .ct-custom i { display: inline-block; font-size: 1.5rem; margin: 0; }
}

/* ---------- Cuisine cards ---------- */
.ct-page .ct-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ct-page .ct-cuisines {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
@media (max-width: 860px) { .ct-page .ct-cuisines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .ct-page .ct-cuisines { grid-template-columns: minmax(0, 1fr); } }

.ct-page .ct-cuisine {
    display: flex;
    flex-direction: column;
    background: var(--ct-cream);
    color: var(--ct-ink);
    border: 2px solid var(--ct-gold-dim);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.ct-page .ct-cuisine:hover { border-color: var(--ct-gold); }
.ct-page .ct-cuisine.is-selected {
    border-color: var(--ct-gold-light);
    box-shadow: 0 0 0 3px var(--ct-gold), 0 10px 26px rgba(212, 166, 74, 0.35);
}
/* Photo slot: the icon shows until a real photo exists (see inc/catering-menu.php). */
.ct-page .ct-photo {
    position: relative;
    height: 96px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 120%, rgba(212, 166, 74, 0.35), transparent 60%),
        linear-gradient(135deg, #3b1a0e, #1a0d07 60%, #3a0f10);
}
.ct-page .ct-photo > i { font-size: 2.4rem; color: var(--ct-gold); opacity: 0.85; }
.ct-page .ct-photo > span { position: absolute; inset: 0; background-size: cover; background-position: center; }
/* Photos are wide strips cropped from the concept art (about 5.5:1). */
.ct-page .ct-photo.has-photo { height: auto; aspect-ratio: 5 / 1; }
.ct-page .ct-photo.has-photo > i { display: none; }
.ct-page .ct-cuisine-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 12px 12px;
}
.ct-page .ct-pick {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    cursor: pointer;
}
.ct-page .ct-cuisine-name {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
    font-size: 1.12rem;
    line-height: 1.15;
    color: #1b120c;
}
.ct-page .ct-cuisine-sub {
    display: block;
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
    font-size: 0.72rem;
    color: #1b120c;
}
.ct-page .ct-cuisine-desc { font-size: 0.8rem; line-height: 1.35; color: var(--ct-muted); margin: 4px 0 6px; flex: 1; }
.ct-page .ct-price { font-weight: 700; font-size: 1.05rem; color: var(--ct-red); margin-bottom: 8px; }
.ct-page .ct-rule { font-size: 0.68rem; font-weight: 600; color: #3b2b1f; margin-top: 5px; }
.ct-page .ct-rule span { color: #b59b7f; margin: 0 5px; }

/* Visually-hidden native radio/checkbox + custom dot, so keyboard and
   screen readers get real form controls. */
.ct-page .ct-choice { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ct-page .ct-dot {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #2a1d14;
    background: #fff;
    display: grid;
    place-items: center;
}
.ct-page .ct-dot::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ct-red);
    transform: scale(0);
    transition: transform 0.12s;
}
.ct-page .ct-choice:checked + .ct-dot { border-color: var(--ct-red); }
.ct-page .ct-choice:checked + .ct-dot::after { transform: scale(1); }
.ct-page .ct-choice:focus-visible + .ct-dot { outline: 3px solid var(--ct-gold); outline-offset: 2px; }

/* ---------- Steppers ---------- */
.ct-page .ct-stepper {
    display: inline-flex;
    align-items: stretch;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.ct-page .ct-stepper button {
    width: 40px;
    border: 0;
    background: linear-gradient(180deg, #a3141b, var(--ct-red-dark));
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.ct-page .ct-stepper button:hover { background: linear-gradient(180deg, #c01820, #8e0e14); }
.ct-page .ct-stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.ct-page .ct-stepper button:focus-visible { outline: 3px solid var(--ct-gold); outline-offset: -3px; }
.ct-page .ct-stepper input {
    width: 110px;
    height: 36px;
    border: 1px solid #d8c7a8;
    border-width: 1px 0;
    background: #fff;
    color: #1b120c;
    font: inherit;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}
.ct-page .ct-stepper input::-webkit-outer-spin-button,
.ct-page .ct-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ct-page .ct-stepper input:focus { outline: 3px solid var(--ct-gold); outline-offset: -3px; }
.ct-page .ct-stepper.ct-sm button { width: 34px; }
.ct-page .ct-stepper.ct-sm input { width: 60px; height: 32px; font-size: 0.95rem; }
/* Dark-panel variant (staff / candy) */
.ct-page .ct-stepper.ct-light button { background: #e9dcc3; color: #1b120c; }
.ct-page .ct-stepper.ct-light button:hover { background: #f6ecd6; }

/* ---------- Add-ons row ---------- */
/* Bartending gets its own full-width row; staff and candy share the next. */
.ct-page .ct-addons {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    margin-top: 14px;
}
.ct-page .ct-addons .ct-panel { margin-top: 0; display: flex; flex-direction: column; }
.ct-page .ct-addons .ct-bar { grid-column: 1 / -1; }
@media (max-width: 560px) { .ct-page .ct-addons { grid-template-columns: minmax(0, 1fr); } }

.ct-page .ct-bar-options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 640px) { .ct-page .ct-bar-options { grid-template-columns: minmax(0, 1fr); } }
.ct-page .ct-bar-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
    background: var(--ct-cream);
    color: var(--ct-ink);
    border: 2px solid var(--ct-gold-dim);
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
}
.ct-page .ct-bar-option.is-selected { border-color: var(--ct-gold-light); box-shadow: 0 0 0 3px var(--ct-gold); }
@media (max-width: 420px) {
    .ct-page .ct-bar-option { grid-template-columns: minmax(0, 1fr); }
    .ct-page .ct-extra { justify-self: start; }
}
.ct-page .ct-bar-option .ct-pick { justify-content: flex-start; align-items: flex-start; }
.ct-page .ct-bar-name { font-family: 'Cinzel', Georgia, serif; font-weight: 700; font-size: 1rem; line-height: 1.15; color: #1b120c; }
.ct-page .ct-bar-name small { display: block; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.75rem; color: #1b120c; }
.ct-page .ct-bar-price { font-weight: 700; font-size: 1.45rem; color: var(--ct-red); line-height: 1.1; margin: 4px 0 2px; }
.ct-page .ct-bar-meta { font-size: 0.74rem; line-height: 1.35; color: #3b2b1f; }
.ct-page .ct-extra {
    align-self: start;
    text-align: center;
    background: var(--ct-cream-dark);
    border-radius: 6px;
    padding: 6px 8px 8px;
    font-size: 0.7rem;
    line-height: 1.25;
    color: #3b2b1f;
}
.ct-page .ct-extra strong { display: block; font-size: 0.95rem; color: var(--ct-red); margin: 2px 0 6px; }
.ct-page .ct-extra .ct-rule { margin-top: 4px; }
.ct-page .ct-more-guests { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ct-page .ct-more-guests > span { font-weight: 700; font-size: 0.8rem; }
.ct-page .ct-more-guests small { display: block; font-size: 0.68rem; color: var(--ct-red); font-weight: 600; }

.ct-page .ct-addon-body { flex: 1; display: flex; flex-direction: column; gap: 10px; font-size: 0.82rem; line-height: 1.4; }
.ct-page .ct-addon-price { font-weight: 700; font-size: 1.1rem; color: var(--ct-gold-light); }
.ct-page .ct-addon-body .ct-rule { color: var(--ct-on-dark); }
.ct-page .ct-addon-body .ct-rule span { color: var(--ct-gold-dim); }
.ct-page .ct-toggle { display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; font-weight: 600; color: var(--ct-gold-light); }
.ct-page .ct-toggle .ct-dot { border-color: var(--ct-gold); }

/* ---------- Sidebar (event summary) ---------- */
.ct-page .ct-side { position: sticky; top: 90px; }
@media (max-width: 1099px) { .ct-page .ct-side { position: static; } }
.ct-page .ct-rows { display: grid; gap: 8px; }
.ct-page .ct-row {
    display: grid;
    grid-template-columns: 26px 100px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}
.ct-page .ct-row > i { color: var(--ct-gold); font-size: 1.15rem; text-align: center; }
.ct-page .ct-row label { margin: 0; font-size: 0.85rem; color: var(--ct-on-dark); }
.ct-page .ct-row label .req { color: var(--ct-gold); }
.ct-page .ct-input {
    width: 100%;
    min-width: 0;
    height: 38px;
    border: 1px solid #cdbb98;
    border-radius: 4px;
    background: #fff;
    color: #1b120c;
    font: inherit;
    font-size: 0.88rem;
    padding: 0 10px;
}
/* iOS Safari sizes a native date input to its own content and ignores
   width: 100%, so it overflowed its column on phones. */
.ct-page input[type='date'].ct-input {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    line-height: 36px;
}
.ct-page input[type='date'].ct-input::-webkit-date-and-time-value { text-align: left; margin: 0; }
.ct-page textarea.ct-input { height: auto; min-height: 64px; padding: 8px 10px; resize: vertical; }
.ct-page .ct-input:focus { outline: 3px solid var(--ct-gold); outline-offset: 0; border-color: var(--ct-gold); }
.ct-page .ct-input[aria-invalid='true'] { border-color: #ff6b6b; box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.6); }
.ct-page .ct-row-full { grid-template-columns: 26px minmax(0, 1fr); }
.ct-page .ct-row-full label { display: block; margin-bottom: 4px; }
@media (max-width: 400px) {
    .ct-page .ct-row { grid-template-columns: 22px minmax(0, 1fr); }
    .ct-page .ct-row > .ct-input { grid-column: 1 / -1; }
}

.ct-page .ct-selected { list-style: none; margin: 0; padding: 0; }
.ct-page .ct-selected li {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 166, 74, 0.25);
}
.ct-page .ct-selected li:last-child { border-bottom: 0; }
.ct-page .ct-thumb {
    width: 58px;
    height: 46px;
    border: 1px solid var(--ct-gold-dim);
    border-radius: 4px;
    display: grid;
    place-items: center;
    color: var(--ct-gold);
    font-size: 1.2rem;
    background: linear-gradient(135deg, #3b1a0e, #1a0d07);
    background-size: cover;
    background-position: center;
}
.ct-page .ct-sel-text { font-size: 0.8rem; line-height: 1.35; min-width: 0; }
.ct-page .ct-sel-text strong { display: block; font-weight: 500; font-size: 0.86rem; color: #fff; }
.ct-page .ct-sel-text em { font-style: normal; color: #ff5a5f; }
.ct-page .ct-sel-amount { font-weight: 600; font-size: 1rem; color: #fff; white-space: nowrap; }
.ct-page .ct-remove {
    border: 0;
    background: none;
    color: #e0343b;
    font-size: 1.25rem;
    padding: 4px;
    cursor: pointer;
}
.ct-page .ct-remove:hover { color: #ff5a5f; }
.ct-page .ct-remove:focus-visible { outline: 3px solid var(--ct-gold); border-radius: 4px; }
.ct-page .ct-empty { font-size: 0.85rem; color: #b8a88e; margin: 0; }

.ct-page .ct-total {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}
.ct-page .ct-total .ct-panel-head { margin: 0; }
.ct-page .ct-total-amount {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
    font-size: 1.9rem;
    color: #fff;
    white-space: nowrap;
}
.ct-page .ct-total-note { font-size: 0.72rem; color: #b8a88e; margin: 8px 0 0; }

.ct-page .ct-actions { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px; margin-top: 14px; }
.ct-page .ct-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 10px 14px;
    border-radius: 6px;
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}
.ct-page .ct-btn:hover { transform: translateY(-1px); }
.ct-page .ct-btn:focus-visible { outline: 3px solid var(--ct-gold-light); outline-offset: 2px; }
.ct-page .ct-btn-back { background: var(--ct-cream); color: #1b120c; border: 2px solid var(--ct-gold); }
.ct-page .ct-btn-back:hover { color: #1b120c; }
.ct-page .ct-btn-submit {
    background: linear-gradient(180deg, #c51c24, var(--ct-red-dark));
    color: #fff;
    border: 2px solid var(--ct-gold);
    box-shadow: 0 8px 20px rgba(179, 19, 27, 0.35);
}
.ct-page .ct-btn-submit:disabled { opacity: 0.65; cursor: wait; transform: none; }

.ct-page .ct-form-error {
    display: none;
    margin-top: 12px;
    padding: 10px 12px;
    border: 1.5px solid #ff6b6b;
    border-radius: 6px;
    background: rgba(179, 19, 27, 0.18);
    color: #ffd3d3;
    font-size: 0.85rem;
    font-weight: 600;
}
.ct-page .ct-form-error.show { display: block; }
.ct-page .hp { position: absolute; left: -9999px; }

.ct-page .ct-success { text-align: center; padding: 26px 18px; }
.ct-page .ct-success > i { font-size: 2.6rem; color: var(--ct-gold); }
.ct-page .ct-success h2 { font-size: 1.6rem; color: var(--ct-gold-light); margin: 10px 0 8px; }
.ct-page .ct-success p { font-size: 0.92rem; margin: 0 0 16px; }
.ct-page .ct-success .ct-btn { display: inline-flex; min-height: 48px; padding: 8px 22px; }

/* ---------- Mobile total bar ---------- */
.ct-page .ct-mobile-bar { display: none; }
@media (max-width: 1099px) {
    .ct-page .ct-mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(11, 8, 6, 0.96);
        border-top: 1.5px solid var(--ct-gold);
    }
    .ct-page .ct-mobile-bar span { font-size: 0.78rem; color: #b8a88e; }
    .ct-page .ct-mobile-bar strong { display: block; font-family: 'Cinzel', Georgia, serif; font-size: 1.3rem; color: #fff; }
    .ct-page .ct-mobile-bar a {
        padding: 10px 16px;
        border-radius: 6px;
        background: linear-gradient(180deg, #c51c24, var(--ct-red-dark));
        border: 1.5px solid var(--ct-gold);
        color: #fff;
        font-family: 'Cinzel', Georgia, serif;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }
    .ct-page.ct-done .ct-mobile-bar { display: none; }
    /* Lift the site's scroll-to-top button above the mobile total bar. */
    .scrolltotop { bottom: 84px !important; }
}

@media (prefers-reduced-motion: reduce) {
    .ct-page .ct-cuisine, .ct-page .ct-btn, .ct-page .ct-dot::after { transition: none; }
}

/* ---------- Entertainment acts (entertainment.php) ---------- */
/* Six-column track: regular acts span 2 (three per row), flat-price acts
   span 3 (two per row), like the concept art. Cards reuse .ct-cuisine. */
.ct-page .ent-acts {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
.ct-page .ent-act { grid-column: span 2; }
.ct-page .ent-act.is-flat { grid-column: span 3; }
@media (max-width: 860px) {
    .ct-page .ent-acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ct-page .ent-act, .ct-page .ent-act.is-flat { grid-column: span 1; }
}
@media (max-width: 540px) {
    .ct-page .ent-acts { grid-template-columns: minmax(0, 1fr); }
}
.ct-page .ent-act .ct-photo.has-photo { aspect-ratio: 4 / 1; }
.ct-page .ent-act.is-flat .ct-photo.has-photo { aspect-ratio: 8 / 1; }

/* Keep each card's package columns directly under its description, so
   cards with short descriptions don't leave a gap above them. */
.ct-page .ent-act .ct-cuisine-desc { flex: 0 0 auto; }
/* The two package columns share one set of rows (--ent-rows, set per card:
   heading, each package, note) through subgrid, so when "Corporate /
   Commercial" wraps to two lines both columns move down together and the
   radios line up side by side, at every width. */
.ct-page .ent-tiers {
    flex: 1;
    align-content: start;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: repeat(var(--ent-rows, 3), auto);
    width: 100%;
    margin-top: 4px;
    text-align: left;
}
.ct-page .ent-tier {
    display: grid;
    grid-row: span var(--ent-rows, 3);
    grid-template-rows: subgrid;
    row-gap: 8px;
    align-content: start;
    min-width: 0;
    padding: 0 8px 0 0;
}
.ct-page .ent-tier + .ent-tier { border-left: 1px solid #e0d2b8; padding: 0 0 0 10px; }
.ct-page .ent-tier h3 {
    align-self: end;
    font-family: 'Poppins', system-ui, sans-serif !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    color: #1b120c;
    margin: 0;
}
.ct-page .ent-pkg {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 2px 8px;
    align-items: start;
    margin: 0;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.3;
    color: #2a1d14;
    cursor: pointer;
}
.ct-page .ent-pkg .ct-dot { width: 20px; height: 20px; }
.ct-page .ent-pkg .ct-dot::after { width: 9px; height: 9px; }
.ct-page .ent-pkg-price { display: block; font-weight: 700; font-size: 1.15rem; color: var(--ct-red); line-height: 1.15; }
.ct-page .ent-note { font-size: 0.66rem; font-weight: 600; color: var(--ct-red); }
.ct-page .ent-extra {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #3b2b1f;
}
.ct-page .ent-flat-price { font-weight: 700; font-size: 1.25rem; color: var(--ct-red); }
