.festival-photo-page {
    background: #f6f7f8;
}

.festival-photo-hero {
    align-items: end;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.48)),
        url("/assets/images/beechwood-bands-crest.avif") right 8vw center / auto 78% no-repeat,
        #171b1f;
    color: #fff;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    min-height: 260px;
    padding: 96px clamp(20px, 5vw, 72px) 42px;
}

.festival-photo-hero--compact {
    min-height: 190px;
}

.festival-photo-hero span {
    color: #f1c84b;
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.festival-photo-hero h1 {
    color: inherit;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 0.95;
    margin: 0;
    max-width: 820px;
}

.festival-photo-hero p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 16px 0 0;
    max-width: 640px;
}

.festival-photo-hero > strong {
    background: #cb2c30;
    color: #fff;
    display: inline-flex;
    font-size: 1.15rem;
    justify-content: center;
    min-width: 128px;
    padding: 14px 18px;
    text-align: center;
}

.festival-photo-shell {
    margin: 0 auto;
    max-width: 1500px;
    padding: 24px clamp(14px, 3vw, 36px) 120px;
}

.festival-photo-bands {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 10px;
}

.festival-photo-bands a {
    align-items: center;
    background: #fff;
    border: 1px solid #dde1e5;
    color: #1c2228;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 800;
    gap: 8px;
    padding: 12px 14px;
    text-decoration: none;
}

.festival-photo-bands a.is-active {
    background: #cb2c30;
    border-color: #cb2c30;
    color: #fff;
}

.festival-photo-bands span {
    opacity: 0.72;
}

.festival-photo-event-switch {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 12px;
}

.festival-photo-event-switch label {
    display: grid;
    gap: 6px;
    min-width: min(280px, 100%);
}

.festival-photo-event-switch span {
    color: #52606c;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.festival-photo-event-switch select {
    border: 1px solid #cfd6dd;
    border-radius: 0;
    font: inherit;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

.festival-photo-search {
    display: flex;
    gap: 10px;
    margin: 14px 0 20px;
}

.festival-photo-search input[type="hidden"] {
    display: none;
}

.festival-photo-search input,
.festival-admin__field input,
.festival-admin__field select,
.festival-admin__field textarea,
.festival-queue-filter select,
.festival-order-status select,
.festival-public-link input {
    border: 1px solid #cfd6dd;
    border-radius: 0;
    font: inherit;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

.festival-photo-search button {
    background: #171b1f;
    border: 0;
    color: #fff;
    font-weight: 800;
    min-height: 44px;
    padding: 0 18px;
}

.festival-photo-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.festival-photo-empty {
    background: #fff;
    border: 1px solid #dde1e5;
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px;
}

.festival-photo-tile {
    background: #fff;
    box-shadow: 0 8px 24px rgba(22, 28, 35, 0.08);
    overflow: hidden;
}

.festival-photo-tile__preview {
    aspect-ratio: 4 / 3;
    background: #111;
    display: block;
    overflow: hidden;
    position: relative;
}

.festival-photo-tile__open {
    appearance: none;
    background: transparent;
    border: 0;
    cursor: zoom-in;
    display: block;
    height: 100%;
    padding: 0;
    width: 100%;
}

.festival-photo-tile__open:focus-visible {
    outline: 4px solid rgba(203, 44, 48, 0.9);
    outline-offset: -4px;
}

.festival-photo-tile__preview--css-proof::after {
    color: rgba(255, 255, 255, 0.64);
    content: "PROOF";
    display: flex;
    align-items: center;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    justify-content: center;
    inset: 0;
    line-height: 1;
    pointer-events: none;
    position: absolute;
    text-align: center;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
    transform: rotate(-14deg);
    z-index: 1;
}

.festival-photo-tile img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.festival-photo-tile__code {
    background: rgba(0, 0, 0, 0.76);
    bottom: 12px;
    color: #fff;
    font-weight: 900;
    left: 12px;
    padding: 7px 9px;
    pointer-events: none;
    position: absolute;
    right: 68px;
    z-index: 2;
}

.festival-photo-tile__code strong,
.festival-photo-tile__code small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.festival-photo-tile__code small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 2px;
    max-width: min(320px, calc(100vw - 80px));
}

.festival-photo-cart-form {
    display: block;
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 3;
}

.festival-photo-cart-control {
    align-items: center;
    background: #cb2c30;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    display: inline-flex;
    min-height: 44px;
    overflow: hidden;
}

.festival-photo-cart-control__button {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 1.35rem;
    font-weight: 900;
    height: 44px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 44px;
}

.festival-photo-cart-control__button:hover,
.festival-photo-cart-control__button:focus-visible {
    background: #a91f25;
    outline: none;
}

.festival-photo-cart-control__button:disabled {
    background: #9aa3ad;
    cursor: not-allowed;
}

.festival-photo-cart-control__button--minus,
.festival-photo-cart-control__count {
    display: none;
}

.festival-photo-cart-control.is-added .festival-photo-cart-control__button--minus,
.festival-photo-cart-control.is-added .festival-photo-cart-control__count {
    display: inline-flex;
}

.festival-photo-cart-control__count {
    align-items: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    justify-content: center;
    min-width: 30px;
}

.festival-photo-tile.is-in-cart .festival-photo-tile__preview {
    box-shadow: inset 0 0 0 4px #cb2c30;
}

.festival-photo-cart-dock {
    align-items: center;
    background: #171b1f;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
    color: #fff;
    display: none;
    gap: 16px;
    padding: 12px 12px 12px 16px;
    position: fixed;
    right: clamp(14px, 3vw, 36px);
    top: clamp(86px, 12vh, 132px);
    z-index: 20;
}

.festival-photo-cart-dock.is-visible {
    display: flex;
}

.festival-photo-cart-dock strong {
    font-weight: 900;
}

.festival-photo-cart-dock a {
    background: #cb2c30;
    color: #fff;
    font-weight: 900;
    padding: 10px 13px;
    text-decoration: none;
}

.festival-photo-cart-dock a:hover,
.festival-photo-cart-dock a:focus-visible {
    background: #a91f25;
}

.festival-photo-cart-error {
    background: #fff;
    border-left: 4px solid #cb2c30;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    color: #171b1f;
    font-weight: 800;
    margin: 0;
    max-width: min(360px, calc(100vw - 28px));
    padding: 12px 14px;
    position: fixed;
    right: clamp(14px, 3vw, 36px);
    top: calc(clamp(86px, 12vh, 132px) + 76px);
    z-index: 21;
}

.festival-photo-cart-error[hidden] {
    display: none;
}

.festival-photo-lightbox {
    background: #080a0e;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
    color: #fff;
    max-height: min(92vh, 980px);
    max-width: min(94vw, 1280px);
    overflow: hidden;
    padding: 0;
    width: min(94vw, 1180px);
}

.festival-photo-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.72);
}

.festival-photo-lightbox__close-form {
    margin: 0;
}

.festival-photo-lightbox__close-form button {
    align-items: center;
    appearance: none;
    background: rgba(255, 255, 255, 0.94);
    border: 0;
    border-radius: 999px;
    color: #111318;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.35rem;
    font-weight: 900;
    height: 44px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 44px;
    z-index: 4;
}

.festival-photo-lightbox__media {
    align-items: center;
    background: #050608;
    display: flex;
    height: min(72vh, 760px);
    justify-content: center;
    min-height: 320px;
}

.festival-photo-lightbox__media img {
    display: block;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.festival-photo-lightbox__bar {
    align-items: center;
    background: #111318;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 16px 18px;
}

.festival-photo-lightbox__bar strong,
.festival-photo-lightbox__bar span {
    display: block;
}

.festival-photo-lightbox__bar strong {
    font-size: 1.05rem;
    font-weight: 900;
}

.festival-photo-lightbox__bar span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    font-weight: 800;
    margin-top: 2px;
}

.festival-photo-lightbox__cart {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    position: static;
}

.festival-photo-lightbox__cart > span {
    color: #fff;
    font-size: 0.86rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    .festival-photo-lightbox {
        max-height: 94vh;
        width: 96vw;
    }

    .festival-photo-lightbox__media {
        height: 62vh;
        min-height: 240px;
    }

    .festival-photo-lightbox__bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .festival-photo-lightbox__cart {
        justify-content: space-between;
        width: 100%;
    }
}

.festival-photo-notice {
    background: #fff4d8;
    border-left: 4px solid #f1c84b;
    margin: 0 0 18px;
    padding: 14px 16px;
}

.festival-photo-notice--cart {
    align-items: center;
    background: #f4fbf6;
    border-left-color: #2d8d4e;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.festival-photo-notice--cart a {
    color: #171b1f;
    font-weight: 900;
}

.festival-photo-cart-shell {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    padding: 0 0 110px;
}

.festival-photo-cart-card,
.festival-photo-cart-empty {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
    color: #111318;
    overflow: hidden;
}

.festival-photo-cart-empty {
    grid-column: 1 / -1;
    padding: 26px;
}

.festival-photo-cart-empty h2 {
    margin: 0 0 8px;
}

.festival-photo-cart-card > header {
    align-items: center;
    background: #f6f7f8;
    border-bottom: 1px solid #dfe4ea;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 14px 16px;
}

.festival-photo-cart-card > header span {
    color: #8a1d21;
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.festival-photo-cart-card > header h2 {
    margin: 3px 0 0;
}

.festival-photo-cart-card > header strong {
    color: #cb2c30;
    flex: 0 0 auto;
}

.festival-photo-cart-items {
    display: grid;
    gap: 0;
}

.festival-photo-cart-item {
    align-items: center;
    border-top: 1px solid #e8ecef;
    display: grid;
    gap: 12px;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    padding: 12px 16px;
}

.festival-photo-cart-item:first-child {
    border-top: 0;
}

.festival-photo-cart-item img {
    aspect-ratio: 1 / 1;
    background: #111318;
    border-radius: 6px;
    object-fit: cover;
    width: 74px;
}

.festival-photo-cart-item__details {
    min-width: 0;
}

.festival-photo-cart-item__details strong,
.festival-photo-cart-item__details span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.festival-photo-cart-item__details span {
    color: #52606c;
    font-size: 0.86rem;
    margin-top: 3px;
}

.festival-photo-cart-item__instructions {
    display: grid;
    gap: 4px;
    margin-top: 8px;
}

.festival-photo-cart-item__instructions span {
    color: #52606c;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.festival-photo-cart-item__instructions textarea {
    border: 1px solid #cfd6dd;
    border-radius: 6px;
    font: inherit;
    min-height: 58px;
    padding: 8px 10px;
    resize: vertical;
    white-space: normal;
}

.festival-photo-cart-item__controls {
    align-items: center;
    display: flex;
    gap: 8px;
}

.festival-photo-cart-item__controls form {
    margin: 0;
}

.festival-photo-cart-item__controls button {
    align-items: center;
    background: #171b1f;
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 900;
    min-height: 38px;
    padding: 0 12px;
}

.festival-photo-cart-item__controls button:hover,
.festival-photo-cart-item__controls button:focus-visible {
    background: #cb2c30;
    outline: none;
}

.festival-photo-cart-item__controls > span {
    color: #52606c;
    font-size: 0.84rem;
    font-weight: 900;
    white-space: nowrap;
}

.festival-photo-cart-item__remove {
    background: #fff !important;
    border: 1px solid #cfd6dd !important;
    color: #171b1f !important;
}

.festival-photo-cart-checkout {
    align-self: start;
}

.festival-photo-cart-checkout .checkout-payment-form,
.festival-photo-test-order {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.festival-photo-cart-checkout > .button {
    margin: 0 16px 16px;
    width: calc(100% - 32px);
}

.festival-photo-test-order {
    border-top: 1px solid #dfe4ea;
}

.festival-photo-test-order label {
    display: grid;
    gap: 6px;
}

.festival-photo-test-order label span {
    color: #52606c;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.festival-photo-test-order input {
    border: 1px solid #cfd6dd;
    border-radius: 6px;
    font: inherit;
    min-height: 44px;
    padding: 9px 11px;
}

.festival-checkout,
.festival-complete {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    margin: 0 auto;
    max-width: 1180px;
    padding: 34px clamp(16px, 4vw, 48px) 72px;
}

.festival-complete {
    display: block;
}

.festival-checkout__summary,
.festival-checkout__payment,
.festival-complete article {
    background: #fff;
    border: 1px solid #dde1e5;
    padding: 24px;
}

.festival-checkout__summary header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.festival-checkout__summary h2,
.festival-checkout__payment h2,
.festival-complete h2 {
    margin-top: 0;
}

.festival-checkout-item {
    align-items: center;
    border-top: 1px solid #eef0f2;
    display: grid;
    gap: 12px;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    padding: 12px 0;
}

.festival-checkout-item img {
    aspect-ratio: 1 / 1;
    background: #111;
    object-fit: cover;
    width: 76px;
}

.festival-checkout-item span {
    color: #68727d;
    display: block;
    font-size: 0.86rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.festival-complete dl {
    display: grid;
    gap: 10px;
    margin: 22px 0;
}

.festival-complete dl div {
    border-top: 1px solid #dde1e5;
    display: grid;
    gap: 12px;
    grid-template-columns: 120px minmax(0, 1fr);
    padding-top: 10px;
}

.festival-complete dt {
    color: #68727d;
    font-weight: 800;
}

.festival-admin__header {
    align-items: center;
}

.festival-admin__header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.festival-admin__stats {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 18px;
}

.festival-admin__stats article {
    background: #fff;
    border: 1px solid #dde1e5;
    padding: 16px;
}

.festival-admin__stats span {
    color: #68727d;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.festival-admin__stats strong {
    display: block;
    font-size: 1.9rem;
    margin-top: 4px;
}

.festival-admin__tabs {
    border-bottom: 1px solid #dde1e5;
    display: flex;
    gap: 4px;
    margin: 0 0 20px;
}

.festival-admin__tabs a {
    color: #1c2228;
    font-weight: 800;
    padding: 12px 14px;
    text-decoration: none;
}

.festival-admin__tabs a.is-active {
    background: #171b1f;
    color: #fff;
}

.festival-admin__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
}

.festival-admin__stack {
    display: grid;
    gap: 12px;
}

.festival-admin__field span {
    color: #52606c;
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.festival-admin__inline-fields {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.festival-dropzone {
    align-items: center;
    background: #f6f7f8;
    border: 2px dashed #aeb8c2;
    display: grid;
    justify-items: center;
    min-height: 220px;
    padding: 24px;
    text-align: center;
}

.festival-dropzone.is-dragging {
    background: #fff5f5;
    border-color: #cb2c30;
}

.festival-dropzone input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.festival-dropzone span {
    color: #cb2c30;
    font-size: 1.8rem;
    font-weight: 900;
}

.festival-dropzone strong {
    color: #171b1f;
    display: block;
}

.festival-dropzone em {
    color: #68727d;
    font-style: normal;
    max-width: 520px;
}

.festival-band-list {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.festival-band-row {
    align-items: center;
    border: 1px solid #dde1e5;
    display: flex;
    justify-content: space-between;
    padding: 12px;
}

.festival-band-row span {
    color: #68727d;
    display: block;
    font-size: 0.85rem;
}

.festival-public-link {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.festival-queue-shell {
    max-width: 1320px;
}

.festival-queue-toolbar {
    align-items: end;
    background: #fff;
    border: 1px solid #dde1e5;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: 18px;
}

.festival-queue-toolbar__actions {
    align-items: end;
    display: flex;
    gap: 12px;
}

.festival-queue-toolbar span,
.festival-queue-filter label span {
    color: #52606c;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.festival-queue-toolbar h2 {
    margin: 4px 0 0;
}

.festival-order-card {
    background: #fff;
    border: 1px solid #dde1e5;
    margin-top: 14px;
}

.festival-order-card > header {
    align-items: center;
    background: #f6f7f8;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 10px 12px;
}

.festival-order-card > header span {
    color: #68727d;
    display: block;
    font-size: 0.86rem;
}

.festival-order-card__summary {
    display: grid;
    gap: 5px;
    min-width: 220px;
}

.festival-order-card__customer {
    color: #111318;
    font-weight: 800;
}

.festival-order-card__actions {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.festival-order-card__actions strong {
    color: #52606c;
    font-size: 0.88rem;
    white-space: nowrap;
}

.festival-order-card__view {
    background: #fff;
    border: 1px solid #cfd6dd;
    color: #171b1f;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    padding: 9px 12px;
    text-transform: uppercase;
}

.festival-order-items {
    display: grid;
    gap: 8px;
    padding: 10px 12px 12px;
}

.festival-order-item {
    align-items: center;
    border: 1px solid #eef0f2;
    display: grid;
    gap: 10px;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    padding: 8px;
}

.festival-order-item img {
    aspect-ratio: 1 / 1;
    background: #111;
    object-fit: cover;
    width: 58px;
}

.festival-order-item small {
    color: #68727d;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.festival-order-item__quantity {
    font-weight: 900;
}

.festival-order-item__quantity--multiple {
    color: #d62931;
    font-size: 1.08em;
}

.festival-order-item__actions {
    display: flex;
    gap: 8px;
}

.festival-order-item__actions a,
.festival-order-item__actions button {
    background: #171b1f;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 8px 10px;
    text-decoration: none;
}

.festival-order-item__actions .festival-order-item__instructions {
    background: #0b5cad;
}

.festival-order-card__view:hover,
.festival-order-card__view:focus-visible {
    background: #171b1f;
    color: #fff;
    outline: none;
}

.festival-order-status {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    padding: 0;
}

.festival-queue-list {
    display: grid;
    gap: 14px;
}

.festival-queue-filter {
    align-items: end;
    display: flex;
    gap: 10px;
}

.festival-queue-filter label {
    min-width: 180px;
}

.festival-queue-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
}

.festival-queue-tabs a {
    background: #ffffff;
    border: 1px solid #cfd6dd;
    color: #171b1f;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 900;
    justify-content: center;
    min-height: 44px;
    min-width: 140px;
    padding: 11px 16px;
    text-decoration: none;
    text-transform: uppercase;
}

.festival-queue-tabs a:hover,
.festival-queue-tabs a:focus-visible,
.festival-queue-tabs a.is-active {
    background: #cb2c30;
    border-color: #cb2c30;
    color: #ffffff;
    outline: none;
}

.festival-upload-dialog {
    border: 0;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    margin: auto;
    max-height: calc(100vh - 32px);
    max-width: min(720px, calc(100vw - 32px));
    overflow: auto;
    padding: 0;
    width: 100%;
}

.festival-order-dialog {
    border: 0;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    margin: auto;
    max-width: min(560px, calc(100vw - 32px));
    padding: 0;
    width: 100%;
}

.festival-order-dialog::backdrop {
    background: rgba(17, 24, 31, 0.58);
}

.festival-order-dialog__close-form {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
}

.festival-order-dialog__close-form button {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe1e7;
    border-radius: 50%;
    color: #111318;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.2rem;
    font-weight: 900;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.festival-order-dialog__header {
    border-bottom: 1px solid #dfe4ea;
    padding: 26px 72px 18px 24px;
}

.festival-order-dialog__header span {
    color: #52606c;
    display: block;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.festival-order-dialog__header h2 {
    margin: 6px 0 4px;
}

.festival-order-dialog__header p {
    color: #68727d;
    margin: 0;
}

.festival-order-dialog__body {
    display: grid;
    gap: 18px;
    padding: 20px 24px 24px;
}

.festival-order-dialog__body dl {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.festival-order-dialog__body dl div,
.festival-order-dialog__items div {
    background: #f6f7f8;
    border: 1px solid #e2e6ea;
    padding: 10px;
}

.festival-order-dialog__body dt {
    color: #52606c;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.festival-order-dialog__body dd {
    font-weight: 800;
    margin: 4px 0 0;
    overflow-wrap: anywhere;
}

.festival-order-dialog__items {
    display: grid;
    gap: 8px;
}

.festival-order-dialog__items small {
    color: #68727d;
    display: block;
    margin-top: 3px;
    overflow-wrap: anywhere;
}

.festival-instructions-dialog__note {
    background: #eef6ff;
    border: 1px solid #b8d8ff;
    color: #111318;
    font-weight: 800;
    line-height: 1.45;
    overflow-wrap: anywhere;
    padding: 14px;
}

.festival-upload-dialog::backdrop {
    background: rgba(17, 24, 31, 0.58);
}

.festival-upload-dialog__close-form {
    position: absolute;
    right: 14px;
    top: 14px;
}

.festival-upload-dialog__close-form button {
    align-items: center;
    background: #fff;
    border: 1px solid #d9dee4;
    border-radius: 999px;
    color: #171b1f;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.3rem;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    line-height: 1;
    width: 38px;
}

.festival-upload-dialog__header {
    background: #f6f7f8;
    border-bottom: 1px solid #dde1e5;
    padding: 24px 64px 20px 24px;
}

.festival-upload-dialog__header span {
    color: #52606c;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.festival-upload-dialog__header h2 {
    margin: 5px 0 6px;
}

.festival-upload-dialog__header p {
    color: #52606c;
    margin: 0;
}

.festival-upload-form--queue {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.festival-upload-status {
    background: #fff;
    border: 1px solid #d9dee4;
    display: grid;
    gap: 8px;
    padding: 12px;
}

.festival-upload-status[hidden] {
    display: none;
}

.festival-upload-status.is-complete {
    background: #f4fbf6;
    border-color: #9bd4aa;
}

.festival-upload-status.is-error {
    background: #fff6f6;
    border-color: #e2a3a6;
}

.festival-upload-status__meta {
    align-items: center;
    color: #171b1f;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.festival-upload-status__meta strong {
    font-size: 0.9rem;
}

.festival-upload-status__meta span,
.festival-upload-status small {
    color: #52606c;
    font-size: 0.78rem;
    font-weight: 800;
}

.festival-upload-status__track {
    background: #edf0f3;
    height: 12px;
    overflow: hidden;
}

.festival-upload-status__track span {
    background: #52606c;
    display: block;
    height: 100%;
    transition: width 160ms ease;
    width: 0;
}

.festival-upload-status.is-complete .festival-upload-status__track span {
    background: #198754;
}

.festival-upload-status.is-error .festival-upload-status__track span {
    background: #cb2c30;
}

.festival-upload-progress {
    background: #fff;
    border: 1px solid #d9dee4;
    display: grid;
    gap: 8px;
    padding: 12px;
}

.festival-upload-progress[hidden] {
    display: none;
}

.festival-upload-progress__meta {
    align-items: center;
    color: #171b1f;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.festival-upload-progress__meta strong {
    font-size: 0.9rem;
}

.festival-upload-progress__meta span,
.festival-upload-progress small {
    color: #52606c;
    font-size: 0.78rem;
    font-weight: 800;
}

.festival-upload-progress__track {
    background: #edf0f3;
    height: 12px;
    overflow: hidden;
}

.festival-upload-progress__track span {
    background: #cb2c30;
    display: block;
    height: 100%;
    transition: width 160ms ease;
    width: 0;
}

.festival-upload-dialog__actions {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.festival-upload-history {
    border-top: 1px solid #dde1e5;
    display: grid;
    gap: 12px;
    padding: 0 24px 24px;
}

.festival-upload-history > header,
.festival-upload-history__item {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.festival-upload-history > header span {
    color: #52606c;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.festival-upload-history > header strong {
    color: #171b1f;
    font-size: 0.82rem;
}

.festival-upload-history > p {
    color: #52606c;
    margin: 0;
}

.festival-upload-history__list {
    display: grid;
    gap: 10px;
}

.festival-upload-history__item {
    background: #f6f7f8;
    border: 1px solid #dde1e5;
    padding: 12px;
}

.festival-upload-history__item > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.festival-upload-history__item > div strong {
    color: #171b1f;
}

.festival-upload-history__item > div span,
.festival-upload-history__item > div small {
    color: #52606c;
    font-size: 0.78rem;
}

.festival-upload-history__item form {
    align-items: end;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.festival-upload-history__item label {
    display: grid;
    gap: 4px;
    margin: 0;
}

.festival-upload-history__item label span {
    color: #52606c;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.festival-upload-history__item select {
    border: 1px solid #cfd6dd;
    border-radius: 0;
    font: inherit;
    min-height: 40px;
    min-width: 180px;
    padding: 8px 10px;
}

.festival-print-dialog {
    border: 0;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    margin: auto;
    max-width: min(1120px, calc(100vw - 32px));
    padding: 0;
    width: 100%;
}

.festival-print-dialog::backdrop {
    background: rgba(17, 24, 31, 0.68);
}

.festival-print-dialog__close-form {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
}

.festival-print-dialog__close-form button {
    align-items: center;
    background: #fff;
    border: 1px solid #d9dee4;
    border-radius: 999px;
    color: #171b1f;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.3rem;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    line-height: 1;
    width: 38px;
}

.festival-print-dialog__header {
    background: #f6f7f8;
    border-bottom: 1px solid #dde1e5;
    padding: 24px 64px 20px 24px;
}

.festival-print-dialog__header span {
    color: #52606c;
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.festival-print-dialog__header h2 {
    margin: 5px 0 6px;
}

.festival-print-dialog__header p {
    color: #52606c;
    margin: 0;
}

.festival-print-dialog__body {
    background: #111;
    padding: 14px;
}

.festival-print-dialog__body img {
    background: #fff;
    display: block;
    max-height: min(72vh, 900px);
    object-fit: contain;
    width: 100%;
}

.festival-print-dialog__actions {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 16px 20px 20px;
}

.festival-print-dialog__actions a {
    background: #171b1f;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 900;
    padding: 10px 12px;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .festival-photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .festival-admin__grid,
    .festival-checkout,
    .festival-photo-cart-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .festival-photo-hero {
        align-items: start;
        display: grid;
        min-height: 220px;
        padding-top: 82px;
    }

    .festival-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .festival-admin__stats,
    .festival-admin__inline-fields {
        grid-template-columns: 1fr;
    }

    .festival-admin__header,
    .festival-queue-toolbar,
    .festival-order-card > header,
    .festival-order-status {
        align-items: stretch;
        display: grid;
        text-align: left;
    }

    .festival-order-card__actions {
        align-items: stretch;
        display: grid;
        justify-content: stretch;
    }

    .festival-order-card__actions strong {
        white-space: normal;
    }

    .festival-order-item {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .festival-photo-cart-item {
        align-items: start;
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .festival-photo-cart-item img {
        width: 58px;
    }

    .festival-photo-cart-item__controls {
        grid-column: 1 / -1;
    }

    .festival-photo-cart-dock {
        left: 12px;
        right: 12px;
        top: 76px;
        justify-content: space-between;
    }

    .festival-photo-cart-error {
        left: 12px;
        max-width: none;
        right: 12px;
        top: 146px;
    }

    .festival-order-item__actions {
        grid-column: 1 / -1;
    }

    .festival-admin__header-actions,
    .festival-queue-filter,
    .festival-queue-toolbar__actions {
        justify-content: stretch;
    }

    .festival-queue-filter,
    .festival-queue-toolbar__actions,
    .festival-print-dialog__actions,
    .festival-upload-dialog__actions {
        display: grid;
    }

    .festival-upload-history__item,
    .festival-upload-history__item form {
        align-items: stretch;
        display: grid;
    }

    .festival-upload-history__item select {
        min-width: 0;
        width: 100%;
    }

    .festival-order-dialog__body dl {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .festival-photo-grid {
        grid-template-columns: 1fr;
    }
}

.site-festival-hub-page.festival-photo-page {
    background: #07080b;
}

.site-festival-hub-page.festival-photo-page > main {
    background:
        linear-gradient(135deg, rgba(203, 44, 48, .28) 0 28%, transparent 28% 100%),
        linear-gradient(160deg, #090a0d 0%, #171a21 62%, #2b0f13 100%);
}

.festival-hub--buttons {
    width: min(1780px, calc(100vw - 28px));
    padding-bottom: 120px;
}

.site-festival-hub-page .festival-photo-workspace .festival-photo-subhead {
    padding: 12px 0 10px;
}

.site-festival-hub-page .festival-photo-workspace .festival-photo-subhead p {
    margin-bottom: 5px;
    font-size: 0.68rem;
}

.site-festival-hub-page .festival-photo-workspace .festival-photo-subhead h1 {
    max-width: none;
    font-size: clamp(1.45rem, 4vw, 2.35rem);
    line-height: 1.02;
}

.festival-photo-subhead__row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.festival-photo-subhead__row h1 {
    margin: 0;
}

.festival-photo-subhead__row > strong {
    flex: 0 0 auto;
    border-radius: 999px;
    background: #fff;
    color: #cb2c30;
    padding: 10px 14px;
    font-size: .88rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.site-festival-hub-page .festival-photo-shell {
    max-width: none;
    padding: 0 0 110px;
}

.site-festival-hub-page .festival-photo-bands {
    margin: 0 0 10px;
    padding-bottom: 12px;
}

.site-festival-hub-page .festival-photo-event-switch span {
    color: rgba(255, 255, 255, .68);
}

.site-festival-hub-page .festival-photo-event-switch select {
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.site-festival-hub-page .festival-photo-event-switch select:focus {
    border-color: rgba(255, 255, 255, .62);
    box-shadow: 0 0 0 3px rgba(203, 44, 48, .34);
    outline: none;
}

.site-festival-hub-page .festival-photo-bands a {
    border-color: rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
    color: rgba(255, 255, 255, .86);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .16);
    backdrop-filter: blur(16px);
}

.site-festival-hub-page .festival-photo-bands a.is-active {
    border-color: rgba(255, 255, 255, .28);
    background: #cb2c30;
    color: #fff;
}

.site-festival-hub-page .festival-photo-search {
    position: sticky;
    top: 0;
    z-index: 8;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin: 0 -14px 18px;
    padding: 12px 14px;
    background: rgba(7, 8, 11, .82);
    backdrop-filter: blur(18px);
}

.site-festival-hub-page .festival-photo-search input,
.site-festival-hub-page .festival-queue-filter select,
.site-festival-hub-page .festival-order-status select {
    min-height: 54px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    padding: 0 14px;
}

.site-festival-hub-page .festival-photo-search input::placeholder {
    color: rgba(255, 255, 255, .48);
}

.site-festival-hub-page .festival-photo-search input:focus,
.site-festival-hub-page .festival-queue-filter select:focus,
.site-festival-hub-page .festival-order-status select:focus {
    border-color: rgba(255, 255, 255, .62);
    box-shadow: 0 0 0 3px rgba(203, 44, 48, .34);
    outline: none;
}

.site-festival-hub-page .festival-photo-search button,
.site-festival-hub-page .festival-queue-toolbar .button,
.site-festival-hub-page .festival-order-status .button {
    min-height: 54px;
    border: 0;
    border-radius: 8px;
    background: #cb2c30;
    color: #fff;
    padding: 0 16px;
    font: inherit;
    font-weight: 900;
}

.site-festival-hub-page .festival-photo-search button:hover,
.site-festival-hub-page .festival-photo-search button:focus-visible,
.site-festival-hub-page .festival-queue-toolbar .button:hover,
.site-festival-hub-page .festival-queue-toolbar .button:focus-visible,
.site-festival-hub-page .festival-order-status .button:hover,
.site-festival-hub-page .festival-order-status .button:focus-visible {
    background: #a91f25;
    outline: none;
}

.site-festival-hub-page .festival-photo-tile {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .22);
}

.site-festival-hub-page .festival-photo-tile__preview {
    border-radius: 8px;
}

.site-festival-hub-page .festival-photo-empty,
.site-festival-hub-page .festival-queue-toolbar,
.site-festival-hub-page .festival-order-card {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    color: #111318;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .22);
}

.site-festival-hub-page .festival-photo-notice {
    border: 1px solid rgba(255, 255, 255, .18);
    border-left: 4px solid #f1c84b;
    border-radius: 8px;
}

.site-festival-hub-page .festival-queue-toolbar {
    align-items: center;
    margin-bottom: 14px;
}

.site-festival-hub-page .festival-queue-toolbar h2 {
    color: #111318;
    font-size: 1.2rem;
    line-height: 1.12;
}

.site-festival-hub-page .festival-queue-toolbar span,
.site-festival-hub-page .festival-queue-filter label span {
    color: #8a1d21;
    letter-spacing: .04em;
}

.site-festival-hub-page .festival-queue-filter select,
.site-festival-hub-page .festival-order-status select {
    background: #171b1f;
}

.site-festival-hub-page .festival-queue-tabs a {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #ffffff;
}

.site-festival-hub-page .festival-queue-tabs a:hover,
.site-festival-hub-page .festival-queue-tabs a:focus-visible,
.site-festival-hub-page .festival-queue-tabs a.is-active {
    background: #cb2c30;
    border-color: #cb2c30;
    color: #ffffff;
}

.site-festival-hub-page .festival-order-card {
    overflow: hidden;
    margin-top: 0;
}

.site-festival-hub-page .festival-order-card > header {
    background: #f6f7f8;
}

.site-festival-hub-page .festival-order-status select {
    background: #171b1f;
    min-height: 42px;
    width: min(240px, 100%);
}

.site-festival-hub-page .festival-order-card__customer {
    color: #111318;
}

.site-festival-hub-page .festival-order-card__view {
    border-radius: 8px;
}

.site-festival-hub-page .festival-order-card__view:hover,
.site-festival-hub-page .festival-order-card__view:focus-visible {
    background: #cb2c30;
    border-color: #cb2c30;
}

.site-festival-hub-page .festival-order-item {
    border-radius: 8px;
}

.site-festival-hub-page .festival-order-item__actions a,
.site-festival-hub-page .festival-order-item__actions button,
.site-festival-hub-page .festival-print-dialog__actions a {
    border-radius: 8px;
    background: #171b1f;
}

.site-festival-hub-page .festival-order-item__actions a:hover,
.site-festival-hub-page .festival-order-item__actions a:focus-visible,
.site-festival-hub-page .festival-order-item__actions button:hover,
.site-festival-hub-page .festival-order-item__actions button:focus-visible,
.site-festival-hub-page .festival-print-dialog__actions a:hover,
.site-festival-hub-page .festival-print-dialog__actions a:focus-visible {
    background: #cb2c30;
}

.site-festival-hub-page .festival-photo-cart-dock {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(23, 27, 31, .94);
    backdrop-filter: blur(18px);
}

.site-festival-hub-page .festival-photo-cart-dock a {
    border-radius: 8px;
}

@media (max-width: 760px) {
    .site-festival-hub-page .festival-photo-workspace .festival-photo-subhead {
        padding-top: 8px;
    }

    .festival-photo-subhead__row {
        display: grid;
        align-items: start;
        gap: 8px;
    }

    .festival-photo-subhead__row > strong {
        justify-self: start;
    }
}
