:root {
    --bb-bg: #f6f0e7;
    --bb-ink: #322313;
    --bb-muted: #74695d;
    --bb-line: #e4d7c4;
    --bb-red: #8B151E;
    --bb-green: #16351E;
    --bb-gold: #B38D45;
    --bb-card: #fffdfa;
    --bb-shadow: 0 18px 45px rgba(50, 35, 19, .12)
}

body {
    background: radial-gradient(circle at top left, rgba(179, 141, 69, .18), transparent 34rem), var(--bb-bg);
    color: var(--bb-ink)
}

a {
    text-decoration: none
}

.wrap {
    width: min(1180px, 92vw);
    margin: auto
}

.topbar {
    background: rgba(255, 253, 250, .94);
    border-bottom: 3px solid var(--bb-gold);
    box-shadow: 0 10px 30px rgba(50, 35, 19, .09);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    min-width: 210px
}

.brand img {
    height: 66px;
    width: auto;
    object-fit: contain
}

.navlinks {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    font-weight: 700;
    color: var(--bb-green)
}

.navlinks>a:not(.btn) {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--bb-green)
}

.navlinks>a:not(.btn):hover {
    background: #f2e7d6;
    color: var(--bb-red)
}

.btn,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    padding: 10px 15px;
    background: var(--bb-red);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(139, 21, 30, .22)
}

.btn:hover,
button:hover {
    background: #721019;
    color: #fff
}

.btn.secondary {
    background: #efe3d1;
    color: var(--bb-ink);
    box-shadow: none
}

.btn.secondary:hover {
    background: #e4d2b6;
    color: var(--bb-red)
}

.btn.danger {
    background: var(--bb-red)
}

.btn.small {
    padding: 8px 12px;
    font-size: .92rem
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 36px;
    background: linear-gradient(135deg, #fffdfa 0%, #f6ead6 58%, #ead7b4 100%);
    border-bottom: 1px solid var(--bb-line)
}

.hero:before {
    content: "";
    position: absolute;
    inset: auto -8% -54% auto;
    width: 560px;
    height: 560px;
    border: 72px solid rgba(139, 21, 30, .12);
    border-radius: 50%
}

.hero:after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: 22px;
    width: 220px;
    height: 10px;
    background: var(--bb-gold);
    border-radius: 999px;
    transform: rotate(-5deg);
    opacity: .85
}

.hero .wrap {
    position: relative
}

.hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 4.45rem);
    line-height: 1.02;
    margin: 0 0 14px;
    max-width: 860px;
    color: var(--bb-red);
    letter-spacing: 0;
    font-weight: 900
}

.hero p {
    font-size: 1.15rem;
    color: var(--bb-muted);
    max-width: 700px;
    margin: 0
}

.filters {
    padding: 16px;
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 160px 1fr auto;
    gap: 12px;
    background: rgba(255, 253, 250, .92);
    border: 1px solid var(--bb-line);
    border-top: 5px solid var(--bb-gold);
    border-radius: 8px;
    box-shadow: var(--bb-shadow)
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    color: var(--bb-ink)
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(179, 141, 69, .26);
    border-color: var(--bb-gold)
}

label {
    font-weight: 800;
    color: var(--bb-green)
}

textarea {
    min-height: 130px;
    resize: vertical
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 28px 0
}

.card,
.panel,
.tablebox,
.stat {
    background: var(--bb-card);
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    box-shadow: var(--bb-shadow)
}

.card {
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 54px rgba(50, 35, 19, .16)
}

.card-body {
    padding: 18px
}

.card h3 {
    color: var(--bb-green);
    font-size: 1.2rem;
    margin: .65rem 0 .45rem
}

.event-img {
    height: 190px;
    background: #eadfcf;
    object-fit: cover;
    width: 100%
}

.muted {
    color: var(--bb-muted)
}

.price {
    font-weight: 900;
    color: var(--bb-red)
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin-top: 34px
}

.section-title h2 {
    margin: 0;
    color: var(--bb-green);
    font-weight: 900
}

.panel {
    padding: 22px;
    margin: 28px 0;
    border-top: 5px solid var(--bb-gold)
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px
}

.alerts {
    margin: 18px auto
}

.alert {
    padding: 13px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #fff8e8;
    border: 1px solid #ead19d
}

.alert.error {
    background: #fff1f1;
    border-color: #e8b4b8;
    color: #681017
}

.alert.ok {
    background: #eef8ef;
    border-color: #b9dfc3;
    color: var(--bb-green)
}

.dash {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    margin-top: 26px
}

.side {
    background: linear-gradient(180deg, var(--bb-green), #0e2514);
    color: #fff;
    border-radius: 8px;
    padding: 18px;
    height: max-content;
    border-top: 5px solid var(--bb-gold);
    box-shadow: var(--bb-shadow)
}

.side strong {
    display: block;
    margin-bottom: 10px
}

.side a {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 7px;
    color: #f8f5ef
}

.side a:hover {
    background: rgba(179, 141, 69, .22);
    color: #fff
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.stat {
    padding: 18px;
    border-top: 5px solid var(--bb-gold)
}

.stat strong {
    font-size: 1.7rem;
    color: var(--bb-red)
}

.tablebox {
    overflow: auto
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fffdfa
}

.table th,
.table td {
    padding: 13px;
    border-bottom: 1px solid var(--bb-line);
    text-align: left;
    vertical-align: top
}

.table th {
    color: var(--bb-green);
    font-weight: 900
}

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    background: #efe3d1;
    color: var(--bb-ink);
    font-size: .82rem;
    font-weight: 800
}

.badge.ok {
    background: #dff0e2;
    color: var(--bb-green)
}

.badge.warn {
    background: #f6e8c7;
    color: #6d4614
}

.ticket {
    border: 2px dashed var(--bb-gold);
    border-radius: 8px;
    padding: 18px;
    background: #fffdfa;
    box-shadow: var(--bb-shadow)
}

.qr {
    width: 150px;
    height: 150px;
    border: 1px solid var(--bb-line);
    background: #fff
}

.footer {
    padding: 34px 0;
    color: var(--bb-muted);
    border-top: 1px solid var(--bb-line);
    background: #fffdfa;
    margin-top: 34px
}

@media (max-width:900px) {

    .filters,
    .form-grid,
    .dash,
    .stats {
        grid-template-columns: 1fr
    }

    .grid {
        grid-template-columns: 1fr 1fr
    }

    .nav {
        min-height: auto;
        padding: 12px 0;
        align-items: flex-start
    }

    .brand img {
        height: 56px
    }

    .navlinks {
        justify-content: flex-end
    }

    .side {
        position: static
    }
}

@media (max-width:580px) {
    .grid {
        grid-template-columns: 1fr
    }

    .hero {
        padding: 34px 0
    }

    .btn,
    button {
        width: 100%;
        text-align: center
    }

    .nav {
        flex-direction: column;
        align-items: stretch
    }

    .brand {
        justify-content: center
    }

    .brand img {
        height: 60px
    }

    .navlinks {
        width: 100%;
        justify-content: center
    }

    .navlinks a {
        flex: 1;
        text-align: center
    }

    .event-img {
        height: 160px
    }

    .filters {
        padding: 12px
    }
}

.inline-form {
    margin-top: 8px
}

.partner-fields {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 16px;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    background: #fff8ed
}

.subscription-options {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.subscription-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
    cursor: pointer
}

.subscription-option input {
    width: auto;
    margin-top: 4px
}

.subscription-option strong {
    display: block;
    color: var(--bb-red)
}

.subscription-option small {
    display: block;
    color: var(--bb-muted);
    font-weight: 700
}

.pix-copy {
    margin-top: 8px;
    max-width: 360px
}

.pix-copy small {
    display: block;
    color: var(--bb-muted);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .72rem
}

.pix-copy code {
    display: block;
    white-space: normal;
    word-break: break-word;
    background: #fff8ed;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    padding: 8px;
    color: var(--bb-ink)
}

.admin-tools-grid {
    grid-template-columns: repeat(2, 1fr)
}

.admin-tools-grid .panel {
    margin: 0
}

.panel code,
.table code {
    background: #fff8ed;
    border: 1px solid var(--bb-line);
    border-radius: 6px;
    padding: 2px 6px;
    color: var(--bb-ink);
    white-space: normal
}

.admin-user-filters {
    grid-template-columns: 180px minmax(240px, 1fr) auto auto
}

.password-form {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto;
    gap: 8px;
    align-items: center
}

.password-form input {
    padding: 9px
}

.password-form .btn {
    white-space: nowrap
}

.admin-users-box {
    overflow-x: auto
}

.admin-users-table {
    min-width: 980px
}

.admin-users-table th,
.admin-users-table td {
    vertical-align: middle
}

.admin-users-table td {
    padding-top: 12px;
    padding-bottom: 12px
}

.admin-compact-note {
    margin-top: 4px;
    font-size: .82rem
}

.admin-row-action {
    margin-top: 6px;
    white-space: nowrap
}

.bb-admin-modal {
    position: fixed;
    inset: 0;
    z-index: 5200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(2, 38, 14, .58)
}

.bb-admin-modal[hidden] {
    display: none
}

.bb-admin-modal-card {
    position: relative;
    width: min(100%, 520px);
    max-height: calc(100vh - 36px);
    overflow: auto;
    background: #fffdfa;
    border: 1px solid var(--bb-line);
    border-top: 4px solid var(--bb-gold);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(50, 35, 19, .32);
    padding: 24px
}

.bb-admin-modal-card h2 {
    margin: 0 0 8px;
    color: var(--bb-green)
}

.bb-admin-modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    color: var(--bb-muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer
}

.admin-modal-form {
    display: grid;
    gap: 12px;
    margin-top: 16px
}

.admin-modal-form label {
    display: grid;
    gap: 6px;
    color: var(--bb-green);
    font-weight: 900
}

.admin-modal-form input,
.admin-modal-form select {
    width: 100%
}

.admin-subscription-summary {
    display: grid;
    gap: 7px;
    margin-top: 14px;
    padding: 12px;
    background: #fff8ed;
    border: 1px solid var(--bb-line);
    border-radius: 8px
}

.auth-page {
    min-height: calc(100vh - 230px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px
}

.auth-card {
    width: min(520px, 100%);
    margin: 0 auto
}

.auth-card-wide {
    width: min(780px, 100%)
}

.auth-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px
}

.auth-heading img {
    width: 86px;
    height: auto
}

.auth-heading h1 {
    margin: 0;
    color: var(--bb-red);
    font-weight: 900
}

.auth-heading p {
    margin: 4px 0 0
}

.auth-form {
    display: grid;
    gap: 15px
}

.auth-form button {
    width: 100%
}

@media (max-width:760px) {

    .partner-fields,
    .subscription-options {
        grid-template-columns: 1fr
    }
}

@media (max-width:760px) {

    .admin-user-filters,
    .password-form {
        grid-template-columns: 1fr
    }
}

@media (max-width:580px) {
    .auth-page {
        padding: 28px 14px;
        align-items: flex-start
    }

    .auth-heading {
        display: block;
        text-align: center
    }

    .auth-heading img {
        margin: 0 auto 12px
    }
}

@media (max-width:760px) {
    .admin-tools-grid {
        grid-template-columns: 1fr
    }
}

.ticket-list {
    display: grid;
    gap: 20px;
    margin-top: 22px
}

.digital-ticket {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    overflow: hidden;
    background: linear-gradient(135deg, #fffdfa 0%, #fbf2e3 100%);
    border: 1px solid var(--bb-line);
    border-radius: 10px;
    box-shadow: var(--bb-shadow)
}

.digital-ticket:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 9px;
    background: linear-gradient(180deg, var(--bb-red), var(--bb-gold), var(--bb-green))
}

.ticket-main {
    padding: 24px 28px 24px 34px
}

.ticket-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px
}

.ticket-brand img {
    height: 50px;
    width: auto
}

.ticket-brand span {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .78rem;
    font-weight: 900;
    color: var(--bb-gold)
}

.ticket-event {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 20px
}

.ticket-event h2 {
    margin: 0;
    color: var(--bb-red);
    font-size: clamp(1.45rem, 3vw, 2.35rem);
    line-height: 1.05;
    font-weight: 900
}

.ticket-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0
}

.ticket-info-grid div,
.ticket-code {
    background: rgba(255, 255, 255, .68);
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    padding: 12px
}

.ticket-info-grid small,
.ticket-code small,
.ticket-qr-panel small {
    display: block;
    color: var(--bb-muted);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 800
}

.ticket-info-grid strong,
.ticket-code strong {
    display: block;
    color: var(--bb-green);
    font-size: 1rem;
    word-break: break-word
}

.ticket-code strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--bb-ink)
}

.ticket-qr-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    background: linear-gradient(180deg, var(--bb-green), #0f2515);
    color: #fff;
    border-left: 2px dashed rgba(179, 141, 69, .72)
}

.ticket-qr-panel p {
    margin: 0;
    text-align: center;
    font-weight: 900;
    color: #fff
}

.ticket-qr-panel .qr {
    width: 156px;
    height: 156px;
    padding: 8px;
    border: 4px solid var(--bb-gold);
    border-radius: 8px;
    background: #fff
}

.ticket-qr-panel small {
    color: #ead8b5
}

.ticket-cut {
    position: absolute;
    left: -16px;
    width: 32px;
    height: 32px;
    background: var(--bb-bg);
    border-radius: 50%;
    border: 1px solid var(--bb-line)
}

.ticket-cut.top {
    top: -16px
}

.ticket-cut.bottom {
    bottom: -16px
}

@media (max-width:760px) {
    .digital-ticket {
        grid-template-columns: 1fr
    }

    .ticket-main {
        padding: 22px
    }

    .ticket-brand {
        justify-content: space-between
    }

    .ticket-info-grid {
        grid-template-columns: 1fr 1fr
    }

    .ticket-qr-panel {
        border-left: 0;
        border-top: 2px dashed rgba(179, 141, 69, .72)
    }

    .ticket-cut {
        display: none
    }
}

@media (max-width:460px) {
    .ticket-info-grid {
        grid-template-columns: 1fr
    }

    .ticket-event {
        display: block
    }

    .ticket-event .badge {
        margin-bottom: 10px
    }

    .ticket-brand {
        display: block
    }

    .ticket-brand img {
        height: 48px;
        margin-bottom: 8px
    }
}

.market-hero {
    padding: 54px 0 34px;
    background: linear-gradient(135deg, #fffdfa 0%, #f3e4ca 100%);
    border-bottom: 1px solid var(--bb-line)
}

.market-hero-content {
    max-width: 780px;
    margin-bottom: 24px
}

.market-hero h1 {
    font-size: clamp(2.1rem, 4.4vw, 4.2rem);
    line-height: 1.02;
    color: var(--bb-red);
    font-weight: 900;
    margin: 10px 0
}

.market-hero p {
    font-size: 1.12rem;
    color: var(--bb-muted);
    margin: 0
}

.market-search {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 170px 220px auto;
    gap: 12px;
    align-items: end;
    background: #fffdfa;
    border: 1px solid var(--bb-line);
    border-top: 5px solid var(--bb-gold);
    box-shadow: var(--bb-shadow);
    border-radius: 10px;
    padding: 16px
}

.market-section {
    padding-top: 8px
}

.event-market-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 26px 0
}

.event-market-card {
    background: #fffdfa;
    border: 1px solid var(--bb-line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--bb-shadow);
    transition: .18s ease
}

.event-market-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 54px rgba(50, 35, 19, .16)
}

.event-market-img {
    height: 190px;
    width: 100%;
    object-fit: cover;
    background: #eadfcf
}

.event-market-body {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 14px;
    padding: 16px
}

.event-date-box {
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
    height: max-content;
    background: #fff
}

.event-date-box strong {
    display: block;
    background: var(--bb-red);
    color: #fff;
    font-size: .78rem;
    padding: 5px
}

.event-date-box span {
    display: block;
    color: var(--bb-green);
    font-size: 1.55rem;
    font-weight: 900;
    padding: 7px 0
}

.event-market-info h3 {
    font-size: 1.13rem;
    line-height: 1.2;
    margin: 8px 0;
    color: var(--bb-green)
}

.event-market-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px
}

.event-detail-hero {
    padding: 34px 0;
    background: linear-gradient(135deg, #fffdfa, #f1e3cc)
}

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

.event-detail-media img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--bb-shadow)
}

.event-buy-box {
    background: #fffdfa;
    border: 1px solid var(--bb-line);
    border-top: 5px solid var(--bb-gold);
    border-radius: 10px;
    padding: 22px;
    box-shadow: var(--bb-shadow);
    position: sticky;
    top: 110px
}

.event-buy-box h1 {
    color: var(--bb-red);
    font-weight: 900;
    line-height: 1.05;
    margin: 12px 0
}

.ticket-options {
    display: grid;
    gap: 10px;
    margin: 18px 0
}

.ticket-option {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    padding: 12px;
    background: #fff8ed
}

.ticket-option strong {
    display: block;
    color: var(--bb-green)
}

.ticket-option small {
    display: block;
    color: var(--bb-muted)
}

.ticket-option span {
    font-weight: 900;
    color: var(--bb-red)
}

.event-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px
}

.ticket-builder,
.ticket-summary {
    grid-column: 1/-1;
    border: 1px solid var(--bb-line);
    border-radius: 10px;
    background: #fff8ed;
    padding: 16px
}

.ticket-builder-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px
}

.ticket-builder h2,
.ticket-summary h2 {
    margin: 0;
    color: var(--bb-green);
    font-weight: 900
}

.ticket-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 150px 140px auto;
    gap: 12px;
    align-items: end;
    margin-top: 10px
}

.ticket-row .remove-ticket-row {
    height: 43px
}

.ticket-type-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px
}

.ticket-type-pill {
    background: #fff;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    padding: 12px
}

.ticket-type-pill strong,
.ticket-type-pill span,
.ticket-type-pill small {
    display: block
}

.ticket-type-pill strong {
    color: var(--bb-green)
}

.ticket-type-pill span {
    font-weight: 900;
    color: var(--bb-red)
}

.ticket-type-pill small {
    color: var(--bb-muted)
}

@media (max-width:980px) {

    .market-search,
    .event-detail-grid,
    .event-content-grid {
        grid-template-columns: 1fr
    }

    .event-buy-box {
        position: static
    }

    .event-market-grid {
        grid-template-columns: 1fr 1fr
    }

    .ticket-row,
    .ticket-type-list {
        grid-template-columns: 1fr 1fr
    }

    .ticket-row .remove-ticket-row {
        height: auto
    }
}

@media (max-width:620px) {

    .event-market-grid,
    .ticket-row,
    .ticket-type-list {
        grid-template-columns: 1fr
    }

    .event-market-body {
        grid-template-columns: 48px 1fr
    }

    .event-detail-media img {
        height: 260px
    }

    .ticket-builder-head {
        display: block
    }

    .ticket-builder-head .btn {
        margin-top: 12px
    }
}

.manage-ticket-types {
    align-items: start
}

.ticket-edit-grid {
    display: grid;
    grid-template-columns: 1fr 110px 110px;
    gap: 8px;
    margin: 12px 0
}

.ticket-edit-grid label {
    font-size: .82rem
}

.ticket-edit-grid input {
    margin-top: 4px;
    padding: 9px
}

.ticket-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px
}

.cancel-request-form,
.cancel-admin-form {
    display: grid;
    gap: 8px;
    min-width: 220px
}

.cancel-request-form input,
.cancel-admin-form input {
    padding: 9px
}

.cancel-admin-form .ticket-actions {
    margin-top: 0
}

@media (max-width:620px) {
    .ticket-edit-grid {
        grid-template-columns: 1fr
    }

    .ticket-actions {
        display: grid
    }

    .cancel-request-form,
    .cancel-admin-form {
        min-width: 0
    }
}

.inline-subscription-form {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto;
    gap: 8px;
    margin-top: 10px
}

.inline-subscription-form select {
    padding: 9px
}

.inline-subscription-form .btn {
    white-space: nowrap
}

@media (min-width:780px) {
    .subscription-options {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width:620px) {
    .inline-subscription-form {
        grid-template-columns: 1fr
    }
}

.client-ticket-panel {
    max-width: 920px
}

.client-ticket-panel .ticket-list {
    gap: 14px
}

.client-ticket-panel .digital-ticket {
    grid-template-columns: minmax(0, 1fr) 176px
}

.client-ticket-panel .ticket-main {
    padding: 18px 20px 18px 28px
}

.client-ticket-panel .ticket-brand {
    margin-bottom: 12px
}

.client-ticket-panel .ticket-brand img {
    height: 38px
}

.client-ticket-panel .ticket-event {
    margin-bottom: 12px
}

.client-ticket-panel .ticket-event h2 {
    font-size: 1.45rem
}

.client-ticket-panel .ticket-info-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 12px 0
}

.client-ticket-panel .ticket-info-grid div,
.client-ticket-panel .ticket-code {
    padding: 9px
}

.client-ticket-panel .ticket-code strong {
    font-size: 1.1rem;
    letter-spacing: .04em
}

.client-ticket-panel .ticket-qr-panel {
    padding: 16px;
    gap: 8px
}

.client-ticket-panel .ticket-qr-panel .qr {
    width: 118px;
    height: 118px;
    border-width: 3px;
    padding: 6px
}

.ticket-actions-row {
    margin-top: 12px
}

.ticket-actions-row .btn {
    box-shadow: none
}

@media (max-width:760px) {
    .client-ticket-panel .digital-ticket {
        grid-template-columns: 1fr
    }

    .client-ticket-panel .ticket-info-grid {
        grid-template-columns: 1fr 1fr
    }

    .client-ticket-panel .ticket-qr-panel .qr {
        width: 140px;
        height: 140px
    }
}

@media (max-width:460px) {
    .client-ticket-panel .ticket-info-grid {
        grid-template-columns: 1fr
    }

    .client-ticket-panel .ticket-event {
        display: block
    }

    .ticket-actions-row .btn {
        width: 100%
    }
}

.test-ticket-filter {
    grid-template-columns: minmax(180px, 260px) auto;
    margin: 12px 0
}

.test-ticket-status-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center
}

.test-ticket-status-form select {
    min-width: 130px;
    padding: 8px
}

.test-ticket-status-form .btn {
    box-shadow: none;
    white-space: nowrap
}

.ticket-qr-panel .qr {
    image-rendering: pixelated;
    display: block
}

.client-ticket-panel .ticket-qr-panel .qr {
    width: 156px;
    height: 156px;
    padding: 8px
}

@media (max-width:760px) {
    .client-ticket-panel .ticket-qr-panel .qr {
        width: 220px;
        height: 220px;
        max-width: 72vw
    }

    .ticket-qr-panel p {
        font-size: 1.05rem
    }
}

.scanner-box {
    display: grid;
    gap: 12px;
    margin: 18px 0;
    padding: 14px;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    background: #fff8ed
}

.scanner-box video,
.scanner-box #qr-live-reader {
    width: 100%;
    max-width: 520px;
    min-height: 220px;
    border-radius: 8px;
    background: #111;
    object-fit: cover;
    overflow: hidden
}

.scanner-box #qr-live-reader video {
    max-width: 100%;
    min-height: 220px
}

.scanner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.scanner-status.ok {
    color: var(--bb-green);
    font-weight: 800
}

.scanner-status.error {
    color: var(--bb-red);
    font-weight: 800
}

@media (max-width:580px) {
    .scanner-actions {
        display: grid
    }

    .scanner-box video,
    .scanner-box #qr-live-reader,
    .scanner-box #qr-live-reader video {
        max-width: 100%;
        min-height: 260px
    }
}

.participant-section {
    grid-column: 1/-1;
    border: 1px solid var(--bb-line);
    border-radius: 10px;
    background: #fff8ed;
    padding: 16px
}

.participant-row {
    display: grid;
    grid-template-columns: 120px minmax(220px, 1fr) 180px minmax(180px, 1fr);
    gap: 12px;
    align-items: end;
    border-top: 1px solid var(--bb-line);
    padding-top: 12px;
    margin-top: 12px
}

.participant-row strong {
    color: var(--bb-red)
}

@media (max-width:900px) {
    .participant-row {
        grid-template-columns: 1fr 1fr
    }

    .participant-row strong {
        grid-column: 1/-1
    }
}

@media (max-width:580px) {
    .participant-row {
        grid-template-columns: 1fr
    }
}

.ticket-row {
    grid-template-columns: minmax(180px, 1fr) 130px 120px 150px auto
}

@media (max-width:980px) {
    .ticket-row {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:620px) {
    .ticket-row {
        grid-template-columns: 1fr
    }
}

.client-ticket-panel {
    width: min(760px, 92vw);
    max-width: 760px;
    margin: 34px auto;
    padding: 18px 20px
}

.client-ticket-panel .section-title {
    margin-top: 0;
    align-items: center
}

.client-ticket-panel .ticket-list {
    justify-items: center;
    gap: 12px
}

.client-ticket-panel .digital-ticket {
    width: 100%;
    max-width: 700px;
    grid-template-columns: minmax(0, 1fr) 136px;
    border-radius: 8px
}

.client-ticket-panel .ticket-main {
    padding: 14px 16px 14px 24px
}

.client-ticket-panel .ticket-brand {
    margin-bottom: 8px;
    gap: 10px
}

.client-ticket-panel .ticket-brand img {
    height: 28px
}

.client-ticket-panel .ticket-brand span {
    font-size: .68rem
}

.client-ticket-panel .ticket-event {
    display: block;
    margin-bottom: 8px
}

.client-ticket-panel .ticket-event .badge {
    font-size: .75rem;
    padding: 3px 9px;
    margin-bottom: 6px
}

.client-ticket-panel .ticket-event h2 {
    font-size: 1.18rem;
    line-height: 1.12;
    margin-top: 6px
}

.client-ticket-panel .ticket-info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 8px 0
}

.client-ticket-panel .ticket-info-grid div,
.client-ticket-panel .ticket-code {
    padding: 7px;
    border-radius: 7px
}

.client-ticket-panel .ticket-info-grid small,
.client-ticket-panel .ticket-code small,
.client-ticket-panel .ticket-qr-panel small {
    font-size: .62rem
}

.client-ticket-panel .ticket-info-grid strong,
.client-ticket-panel .ticket-code strong {
    font-size: .86rem
}

.client-ticket-panel .ticket-code strong {
    font-size: 1rem;
    letter-spacing: .03em
}

.client-ticket-panel .ticket-actions-row {
    margin-top: 8px
}

.client-ticket-panel .ticket-actions-row .btn {
    padding: 7px 10px;
    font-size: .86rem;
    width: auto
}

.client-ticket-panel .ticket-qr-panel {
    padding: 10px;
    gap: 6px
}

.client-ticket-panel .ticket-qr-panel p {
    font-size: .82rem;
    line-height: 1.15
}

.client-ticket-panel .ticket-qr-panel .qr {
    width: 96px;
    height: 96px;
    padding: 4px;
    border-width: 3px
}

.client-ticket-panel .ticket-cut {
    width: 26px;
    height: 26px;
    left: -13px
}

.client-ticket-panel .ticket-cut.top {
    top: -13px
}

.client-ticket-panel .ticket-cut.bottom {
    bottom: -13px
}

@media (max-width:760px) {
    .client-ticket-panel {
        width: min(520px, 94vw);
        padding: 16px
    }

    .client-ticket-panel .digital-ticket {
        grid-template-columns: 1fr;
        max-width: 460px
    }

    .client-ticket-panel .ticket-info-grid {
        grid-template-columns: 1fr 1fr
    }

    .client-ticket-panel .ticket-qr-panel .qr {
        width: 132px;
        height: 132px;
        max-width: 60vw
    }

    .client-ticket-panel .ticket-qr-panel {
        padding: 14px
    }

    .client-ticket-panel .ticket-cut {
        display: none
    }
}

@media (max-width:460px) {
    .client-ticket-panel .section-title {
        display: block
    }

    .client-ticket-panel .ticket-info-grid {
        grid-template-columns: 1fr
    }

    .client-ticket-panel .ticket-actions-row .btn {
        width: 100%
    }
}

.client-ticket-panel .digital-ticket {
    grid-template-columns: minmax(0, 1fr) 158px
}

.client-ticket-panel .ticket-main {
    padding: 12px 14px 12px 24px
}

.client-ticket-panel .ticket-brand {
    margin-bottom: 6px
}

.client-ticket-panel .ticket-brand img {
    height: 24px
}

.client-ticket-panel .ticket-event {
    margin-bottom: 6px
}

.client-ticket-panel .ticket-event h2 {
    font-size: 1.08rem;
    margin-top: 5px
}

.client-ticket-panel .ticket-info-grid {
    gap: 5px;
    margin: 6px 0
}

.client-ticket-panel .ticket-info-grid div,
.client-ticket-panel .ticket-code {
    padding: 6px
}

.client-ticket-panel .ticket-info-grid small,
.client-ticket-panel .ticket-code small,
.client-ticket-panel .ticket-qr-panel small {
    font-size: .58rem
}

.client-ticket-panel .ticket-info-grid strong,
.client-ticket-panel .ticket-code strong {
    font-size: .82rem
}

.client-ticket-panel .ticket-actions-row {
    margin-top: 7px
}

.client-ticket-panel .ticket-actions-row .btn {
    padding: 6px 9px
}

.client-ticket-panel .ticket-qr-panel {
    padding: 9px;
    gap: 5px
}

.client-ticket-panel .ticket-qr-panel .qr {
    width: 122px;
    height: 122px;
    padding: 5px
}

.client-ticket-panel .ticket-qr-panel p {
    font-size: .8rem
}

@media (max-width:760px) {
    .client-ticket-panel .digital-ticket {
        grid-template-columns: 1fr
    }

    .client-ticket-panel .ticket-qr-panel .qr {
        width: 154px;
        height: 154px;
        max-width: 62vw
    }
}

.subscription-panel {
    margin: 18px 0;
    padding: 18px
}

.subscription-panel .section-title {
    margin-top: 0;
    align-items: center
}

.compact-grid {
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: end;
    margin-top: 12px
}

@media (max-width:760px) {
    .compact-grid {
        grid-template-columns: 1fr
    }
}

.member-panel {
    display: grid;
    gap: 16px
}

.member-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px
}

.member-summary div,
.checkout-box {
    background: #fff8ed;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    padding: 12px
}

.member-summary small {
    display: block;
    color: var(--bb-muted);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .68rem
}

.member-summary strong {
    display: block;
    color: var(--bb-green);
    font-size: 1.02rem;
    margin-top: 4px
}

.member-checkout {
    border-top: 1px solid var(--bb-line);
    padding-top: 14px
}

.member-checkout-form {
    display: grid;
    gap: 12px
}

.checkout-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.checkout-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    padding: 14px;
    cursor: pointer
}

.checkout-option input {
    width: auto;
    margin-top: 4px
}

.checkout-option strong {
    display: block;
    color: var(--bb-red)
}

.checkout-option small {
    display: block;
    color: var(--bb-muted);
    font-weight: 700
}

.checkout-box strong {
    color: var(--bb-green)
}

.checkout-box p {
    margin: 6px 0 0
}

@media (max-width:900px) {
    .member-summary {
        grid-template-columns: 1fr 1fr
    }

    .checkout-options {
        grid-template-columns: 1fr
    }
}

@media (max-width:580px) {
    .member-summary {
        grid-template-columns: 1fr
    }
}

.checkout-summary {
    display: grid;
    gap: 8px;
    background: #fff8ed;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    padding: 14px
}

.checkout-summary div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.checkout-summary span {
    color: var(--bb-muted);
    font-weight: 800
}

.checkout-summary strong {
    color: var(--bb-green)
}

.checkout-summary div:nth-of-type(3) {
    border-top: 1px solid var(--bb-line);
    padding-top: 10px
}

.checkout-summary div:nth-of-type(3) strong {
    color: var(--bb-red);
    font-size: 1.18rem
}

.checkout-summary p {
    margin: 2px 0 0;
    color: var(--bb-muted);
    font-size: .88rem;
    line-height: 1.35
}

.finance-panel .section-title {
    margin-top: 0
}

.finance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 14px 0
}

.finance-grid div {
    background: #fff8ed;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    padding: 12px
}

.finance-grid small {
    display: block;
    color: var(--bb-muted);
    font-weight: 900;
    text-transform: uppercase;
    font-size: .66rem
}

.finance-grid strong {
    display: block;
    color: var(--bb-red);
    font-size: 1.25rem;
    margin: 5px 0
}

.finance-grid span {
    display: block;
    color: var(--bb-muted);
    font-size: .86rem;
    line-height: 1.25
}

.btn[disabled],
button[disabled] {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none
}

.btn[disabled]:hover,
button[disabled]:hover {
    background: var(--bb-red);
    color: #fff
}

@media (max-width:980px) {
    .finance-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:580px) {
    .finance-grid {
        grid-template-columns: 1fr
    }

    .checkout-summary div {
        display: block
    }

    .checkout-summary strong {
        display: block;
        margin-top: 3px
    }
}

.client-cancel-box {
    margin-top: 18px;
    border-top: 1px solid var(--bb-line);
    padding-top: 16px
}

.client-cancel-panel {
    margin-top: 12px;
    background: #fff8ed;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    padding: 16px
}

.client-cancel-panel h2 {
    margin: 0 0 6px;
    color: var(--bb-green)
}

.client-cancel-list {
    display: grid;
    gap: 10px
}

.client-cancel-option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    padding: 10px
}

.client-cancel-option input {
    width: auto;
    margin-top: 4px
}

.client-cancel-option strong,
.client-cancel-option small {
    display: block
}

.client-cancel-option strong {
    color: var(--bb-red)
}

.client-cancel-option small {
    color: var(--bb-muted);
    font-weight: 700
}

.client-cancel-panel textarea {
    min-height: 90px
}

.ticket-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 20px 0 8px
}

.ticket-section-head h2 {
    margin: 0;
    color: var(--bb-green);
    font-size: 1.15rem;
    font-weight: 900
}

.empty-ticket-box {
    background: #fff8ed;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    padding: 16px;
    margin-top: 10px
}

.empty-ticket-box h2 {
    margin: 0 0 6px;
    color: var(--bb-red)
}

.ticket-archive {
    margin-top: 18px;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    background: #fffdfa;
    box-shadow: var(--bb-shadow);
    overflow: hidden
}

.ticket-archive summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 15px;
    cursor: pointer;
    font-weight: 900;
    color: var(--bb-green);
    list-style: none
}

.ticket-archive summary::-webkit-details-marker {
    display: none
}

.ticket-archive summary span {
    display: flex;
    align-items: center;
    gap: 8px
}

.ticket-archive summary i {
    transition: transform .18s ease
}

.ticket-archive[open] summary i {
    transform: rotate(180deg)
}

.ticket-archive .ticket-list {
    padding: 0 14px 14px;
    margin-top: 0
}

.digital-ticket.is-cancelled,
.digital-ticket.is-inactive,
.digital-ticket.is-used {
    filter: grayscale(1);
    opacity: .68;
    background: linear-gradient(135deg, #f1f1f1 0%, #dedede 100%);
    border-color: #b9b9b9
}

.digital-ticket.is-cancelled .ticket-qr-panel,
.digital-ticket.is-inactive .ticket-qr-panel,
.digital-ticket.is-used .ticket-qr-panel {
    background: linear-gradient(180deg, #555, #333);
    border-left-color: #a8a8a8
}

.digital-ticket.is-cancelled .ticket-info-grid div,
.digital-ticket.is-cancelled .ticket-code,
.digital-ticket.is-inactive .ticket-info-grid div,
.digital-ticket.is-inactive .ticket-code,
.digital-ticket.is-used .ticket-info-grid div,
.digital-ticket.is-used .ticket-code {
    background: rgba(255, 255, 255, .55);
    border-color: #c8c8c8
}

.ticket-status-ribbon {
    position: absolute;
    top: 22px;
    left: -42px;
    width: 170px;
    text-align: center;
    transform: rotate(-35deg);
    z-index: 4;
    background: #555;
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .1em;
    font-size: .78rem;
    padding: 7px 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18)
}

.digital-ticket.is-inactive .ticket-status-ribbon {
    background: var(--bb-gold)
}

.digital-ticket.is-used .ticket-status-ribbon {
    background: var(--bb-green)
}

.event-image-field small {
    display: block;
    margin-top: 5px;
    line-height: 1.35
}

.event-image-preview {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 16/9;
    object-fit: cover;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    background: #fff8ed;
    margin-bottom: 8px
}

.event-image-field input[type=file] {
    padding: 10px;
    background: #fff
}

.section-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap
}

.section-actions .muted {
    max-width: 520px
}

@media (max-width:760px) {
    .section-actions {
        justify-content: flex-start
    }

    .section-actions .btn {
        width: 100%
    }
}

.courtesy-box {
    background: #fffdfa
}

.courtesy-form {
    display: grid;
    grid-template-columns: minmax(160px, 220px) auto;
    gap: 12px;
    align-items: end;
    margin: 14px 0
}

.courtesy-history {
    margin-top: 12px
}

.courtesy-history .btn {
    box-shadow: none
}

@media (max-width:620px) {
    .courtesy-form {
        grid-template-columns: 1fr
    }
}

.performance-panel .section-title {
    margin-top: 0
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 14px 0
}

.performance-grid div,
.performance-highlight div {
    background: #fff8ed;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    padding: 12px
}

.performance-grid small,
.performance-highlight small {
    display: block;
    color: var(--bb-muted);
    font-weight: 900;
    text-transform: uppercase;
    font-size: .66rem
}

.performance-grid strong,
.performance-highlight strong {
    display: block;
    color: var(--bb-red);
    font-size: 1.28rem;
    margin: 5px 0
}

.performance-grid span {
    display: block;
    color: var(--bb-muted);
    font-size: .86rem;
    line-height: 1.25
}

.performance-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.performance-highlight strong {
    color: var(--bb-green);
    font-size: 1.02rem
}

.performance-table strong {
    color: var(--bb-green)
}

.mini-progress {
    height: 8px;
    border-radius: 999px;
    background: #efe3d1;
    overflow: hidden;
    margin-top: 7px;
    min-width: 120px
}

.mini-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--bb-red), var(--bb-gold));
    border-radius: 999px
}

@media (max-width:980px) {
    .performance-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:620px) {

    .performance-grid,
    .performance-highlight {
        grid-template-columns: 1fr
    }

    .mini-progress {
        min-width: 0
    }
}

.partner-event-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 16px 0
}

.partner-event-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    background: #fffdfa;
    border: 1px solid var(--bb-line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--bb-shadow)
}

.partner-event-image {
    display: block;
    background: #eadfcf;
    min-height: 168px
}

.partner-event-image img {
    width: 100%;
    height: 100%;
    min-height: 168px;
    object-fit: cover;
    display: block
}

.partner-event-card-body {
    display: grid;
    gap: 9px;
    padding: 14px
}

.partner-event-card-head,
.partner-event-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px
}

.partner-event-card-head small {
    color: var(--bb-red);
    font-weight: 900
}

.partner-event-card h3 {
    margin: 0;
    color: var(--bb-green);
    font-size: 1.08rem;
    line-height: 1.15
}

.partner-event-card p {
    margin: 0
}

.partner-event-meta {
    display: grid;
    gap: 4px;
    color: var(--bb-muted);
    font-weight: 700;
    font-size: .86rem
}

.partner-event-meta span {
    display: flex;
    align-items: center;
    gap: 6px
}

.partner-event-actions {
    justify-content: flex-start;
    flex-wrap: wrap
}

.partner-event-actions .btn {
    box-shadow: none
}

.partner-event-list {
    margin: 14px 0 26px;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    background: #fffdfa;
    box-shadow: var(--bb-shadow);
    overflow: hidden
}

.partner-event-list summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 13px 15px;
    color: var(--bb-green);
    font-weight: 900;
    list-style: none
}

.partner-event-list summary::-webkit-details-marker {
    display: none
}

.partner-event-list summary span {
    display: flex;
    align-items: center;
    gap: 8px
}

.partner-event-list .tablebox {
    border: 0;
    border-top: 1px solid var(--bb-line);
    box-shadow: none;
    border-radius: 0
}

@media (max-width:1040px) {
    .partner-event-card {
        grid-template-columns: 1fr
    }

    .partner-event-image,
    .partner-event-image img {
        min-height: 170px
    }
}

@media (max-width:760px) {
    .partner-event-cards {
        grid-template-columns: 1fr
    }

    .partner-event-list summary {
        display: block
    }

    .partner-event-list summary strong {
        display: block;
        margin-top: 4px
    }

    .partner-event-actions .btn {
        width: auto
    }
}

@media (max-width:460px) {
    .partner-event-actions .btn {
        width: 100%
    }
}

.share-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.share-actions .btn {
    box-shadow: none;
    white-space: nowrap
}

@media (max-width:620px) {
    .share-actions .btn {
        width: 100%
    }
}

.legal-hero {
    padding: 48px 0 28px;
    background: linear-gradient(135deg, #fffdfa 0%, #f3e4ca 100%);
    border-bottom: 1px solid var(--bb-line)
}

.legal-hero h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.05;
    margin: 12px 0;
    color: var(--bb-red);
    font-weight: 900
}

.legal-hero p {
    max-width: 860px;
    color: var(--bb-muted);
    font-size: 1.08rem
}

.legal-hero small {
    color: var(--bb-green);
    font-weight: 800
}

.legal-page {
    margin-top: 28px
}

.legal-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px
}

.legal-summary div {
    background: #fffdfa;
    border: 1px solid var(--bb-line);
    border-top: 5px solid var(--bb-gold);
    border-radius: 8px;
    padding: 16px;
    box-shadow: var(--bb-shadow)
}

.legal-summary small {
    display: block;
    color: var(--bb-muted);
    font-weight: 900;
    text-transform: uppercase;
    font-size: .68rem
}

.legal-summary strong {
    display: block;
    color: var(--bb-green);
    font-size: 1.08rem;
    margin: 5px 0
}

.legal-summary span {
    display: block;
    color: var(--bb-muted);
    line-height: 1.35
}

.legal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.legal-card {
    margin: 0
}

.legal-card h2 {
    margin: 0 0 12px;
    color: var(--bb-green);
    font-weight: 900
}

.legal-card p {
    color: var(--bb-muted);
    line-height: 1.62
}

.legal-fees {
    margin: 18px 0
}

.legal-fees .tablebox {
    box-shadow: none;
    margin: 14px 0
}

.footer-links {
    display: inline-flex;
    margin-left: 10px;
    gap: 10px
}

.footer-links a {
    color: var(--bb-green);
    font-weight: 800
}

@media (max-width:900px) {

    .legal-summary,
    .legal-grid {
        grid-template-columns: 1fr
    }

    .footer-links {
        display: flex;
        margin: 8px 0 0
    }
}

.terms-accept {
    display: grid;
    gap: 10px;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    background: #fff8ed;
    padding: 14px
}

.terms-accept-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.terms-accept-head strong {
    color: var(--bb-green)
}

.terms-accept-head a {
    font-weight: 800;
    color: var(--bb-red)
}

.terms-scroll {
    height: 190px;
    overflow: auto;
    background: #fffdfa;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    padding: 12px
}

.terms-scroll p {
    margin: 0 0 12px;
    color: var(--bb-muted);
    line-height: 1.48
}

.terms-check,
.checkout-terms {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    padding: 12px;
    color: var(--bb-green);
    font-weight: 800
}

.terms-check input,
.checkout-terms input {
    width: auto;
    margin-top: 4px
}

.terms-check.is-disabled {
    opacity: .62
}

.checkout-terms {
    grid-column: 1/-1
}

.checkout-terms a {
    color: var(--bb-red)
}

@media (max-width:580px) {
    .terms-accept-head {
        display: block
    }

    .terms-accept-head a {
        display: inline-block;
        margin-top: 5px
    }

    .terms-scroll {
        height: 220px
    }
}

.admin-sales-filters {
    grid-template-columns: 170px minmax(260px, 1fr) auto auto
}

.ticket-code-list {
    display: grid;
    gap: 5px;
    margin-top: 8px
}

.ticket-code-list code {
    display: block;
    width: max-content;
    max-width: 100%;
    white-space: normal;
    background: #fff8ed;
    border: 1px solid var(--bb-line);
    border-radius: 6px;
    padding: 4px 7px;
    color: var(--bb-ink)
}

@media (max-width:760px) {
    .admin-sales-filters {
        grid-template-columns: 1fr
    }

    .ticket-sales-table {
        min-width: 920px
    }
}

.pwa-validator-body {
    background: #f4eadc
}

.pwa-validator-body .page-wrapper {
    min-height: 100vh
}

.pwa-validator-body .alerts {
    width: min(520px, 94vw);
    margin: 10px auto
}

.validator-app {
    min-height: 100vh;
    padding: 18px 0 30px;
    background: linear-gradient(180deg, #fffdfa, #f4eadc)
}

.validator-shell {
    width: min(520px, 94vw);
    margin: auto
}

.validator-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 8px 0 16px
}

.validator-head img {
    height: 58px;
    width: auto
}

.validator-head span {
    display: block;
    color: var(--bb-gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .75rem
}

.validator-head h1 {
    margin: 0;
    color: var(--bb-red);
    font-weight: 900
}

.validator-install {
    width: 100%;
    margin: 0 0 12px;
    box-shadow: none
}

.validator-result {
    border-radius: 10px;
    padding: 16px;
    margin: 12px 0;
    color: #fff;
    box-shadow: var(--bb-shadow)
}

.validator-result.ok {
    background: var(--bb-green)
}

.validator-result.error {
    background: var(--bb-red)
}

.validator-result strong {
    display: block;
    font-size: 1.25rem
}

.validator-result p {
    margin: 5px 0 0
}

.validator-scanner {
    margin: 12px 0;
    background: #fffdfa
}

.validator-scanner video {
    max-width: 100%;
    min-height: 300px
}

.validator-form {
    display: grid;
    gap: 10px;
    background: #fffdfa;
    border: 1px solid var(--bb-line);
    border-top: 5px solid var(--bb-gold);
    border-radius: 10px;
    padding: 16px;
    box-shadow: var(--bb-shadow)
}

.validator-form input {
    font-size: 1.35rem;
    text-align: center;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase
}

.validator-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px
}

.validator-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #efe3d1;
    color: var(--bb-ink);
    border-radius: 8px;
    padding: 11px;
    font-weight: 900
}

@media (max-width:580px) {
    .validator-app {
        padding-top: 8px
    }

    .validator-head {
        justify-content: center
    }

    .validator-scanner video {
        min-height: 340px
    }

    .validator-nav {
        grid-template-columns: 1fr
    }
}

.topbar {
    background: #fffdfa;
    border-bottom: 0;
    box-shadow: 0 12px 34px rgba(50, 35, 19, .08)
}

.nav {
    min-height: 118px
}

.brand {
    min-width: 260px
}

.brand img {
    height: 118px
}

.navlinks {
    gap: 20px;
    color: #1b1b1b
}

.navlinks>a:not(.btn) {
    color: #1b1b1b;
    padding: 8px 0;
    border-radius: 0
}

.navlinks>a:not(.btn):hover {
    background: transparent;
    color: var(--bb-red)
}

.navlinks>a:first-child {
    color: var(--bb-red);
    border-bottom: 2px solid var(--bb-red)
}

.navlinks .btn {
    border-radius: 10px;
    padding: 14px 20px
}

.nav-favorite {
    margin-left: 18px
}

.bb-home-hero {
    background: #fffdfa;
    overflow: hidden
}

.bb-home-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, .84fr) minmax(420px, 1fr);
    min-height: 450px;
    align-items: center
}

.bb-home-copy {
    position: relative;
    z-index: 2;
    padding: 42px 0 120px
}

.bb-kicker {
    text-transform: uppercase;
    color: var(--bb-green);
    font-weight: 900;
    font-size: .78rem;
    letter-spacing: .08em
}

.bb-home-copy h1 {
    margin: 10px 0 14px;
    color: var(--bb-green);
    font-size: clamp(2.25rem, 4.5vw, 4.85rem);
    line-height: 1.02;
    font-weight: 900;
    max-width: 610px
}

.bb-home-copy h1 strong {
    display: block;
    color: var(--bb-red);
    font-size: 1.22em;
    text-transform: uppercase
}

.bb-home-copy p {
    max-width: 500px;
    color: #2d2b28;
    font-size: 1.08rem;
    line-height: 1.45
}

.bb-home-visual {
    position: absolute;
    inset: 0 0 0 38%;
    background: linear-gradient(90deg, #fffdfa 0%, rgba(255, 253, 250, .72) 18%, rgba(255, 253, 250, .08) 42%), url('../img/home-hero-busca-baile.png') center right/cover no-repeat
}

.bb-home-search {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr 190px 1fr 170px;
    gap: 0;
    align-items: stretch;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(50, 35, 19, .18);
    overflow: hidden;
    border: 1px solid #eadfcf;
    max-width: 980px
}

.bb-home-search label {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0 10px;
    align-items: center;
    padding: 18px 20px;
    border-right: 1px solid var(--bb-line);
    color: #1f170e
}

.bb-home-search label i {
    grid-row: 1/3;
    font-size: 1.7rem;
    color: #322313
}

.bb-home-search span {
    font-size: .92rem;
    font-weight: 800
}

.bb-home-search input,
.bb-home-search select {
    border: 0;
    padding: 4px 0;
    background: transparent;
    color: var(--bb-muted)
}

.bb-home-search input:focus,
.bb-home-search select:focus {
    outline: 0
}

.bb-home-search button {
    height: 100%;
    border-radius: 0;
    box-shadow: none
}

.bb-home-section {
    padding: 28px 0 0
}

.bb-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 0 0 20px
}

.bb-section-head h2 {
    margin: 0;
    text-align: center;
    color: #1f170e;
    font-size: 1.65rem;
    font-weight: 900
}

.bb-section-head div {
    display: grid;
    justify-items: center;
    gap: 7px
}

.bb-section-head div span {
    display: block;
    width: 150px;
    height: 1px;
    background: var(--bb-gold);
    position: relative
}

.bb-section-head div span:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    border: 2px solid var(--bb-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #fffdfa
}

.bb-section-head a {
    color: var(--bb-red);
    font-weight: 800
}

.bb-category-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 28px;
    border-bottom: 1px solid var(--bb-line);
    padding-bottom: 24px
}

.bb-category-card {
    height: 104px;
    border: 1px solid var(--bb-line);
    border-radius: 12px;
    background: #fffdfa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #241811;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(50, 35, 19, .05)
}

.bb-category-card i {
    font-size: 1.8rem
}

.bb-category-card.active {
    background: var(--bb-red);
    color: #fff;
    border-color: var(--bb-red)
}

.bb-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px
}

.bb-event-card {
    border: 1px solid var(--bb-line);
    border-radius: 10px;
    overflow: hidden;
    background: #fffdfa;
    box-shadow: 0 12px 28px rgba(50, 35, 19, .08)
}

.bb-event-image {
    position: relative;
    display: block;
    height: 210px;
    background: #eadfcf
}

.bb-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.bb-event-date {
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--bb-green);
    color: #fff;
    border-radius: 0 10px 0 0;
    padding: 10px 15px;
    text-align: center
}

.bb-event-date strong,
.bb-event-date small {
    display: block
}

.bb-event-date strong {
    font-size: 1.5rem
}

.bb-event-body {
    padding: 18px
}

.bb-event-body h3 {
    font-size: 1.35rem;
    line-height: 1.15;
    margin: 0 0 12px;
    color: var(--bb-green)
}

.bb-event-body h3 a {
    color: inherit
}

.bb-event-body p {
    color: #322313;
    margin: 0 0 18px
}

.bb-event-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.bb-event-foot span {
    background: #f5e9d4;
    border-radius: 999px;
    padding: 5px 10px;
    color: #8b5d18;
    font-size: .82rem;
    font-weight: 800
}

.bb-event-foot a {
    font-size: 1.4rem;
    color: #1f170e
}

.bb-ad-banner {
    margin-top: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(90deg, #8B151E 0%, #9f1d25 58%, #6e1118 100%);
    color: #fff;
    padding: 30px 46px;
    min-height: 230px;
    position: relative
}

.bb-ad-banner h2 {
    font-size: 2.1rem;
    line-height: 1.06;
    margin: 0 0 12px;
    color: #fff
}

.bb-ad-banner p {
    max-width: 480px
}

.bb-ad-banner .btn.secondary {
    border: 2px solid var(--bb-gold);
    background: transparent;
    color: #fff
}

.bb-ad-art {
    height: 210px;
    background: url('../img/busca-baile-logo.png') center/contain no-repeat;
    filter: brightness(0) invert(1);
    opacity: .18
}

.bb-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 24px;
    background: #fff8ed;
    border: 1px solid var(--bb-line);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(50, 35, 19, .06);
    overflow: hidden
}

.bb-benefits div {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 4px 14px;
    padding: 24px;
    border-right: 1px solid var(--bb-line)
}

.bb-benefits div:last-child {
    border-right: 0
}

.bb-benefits i {
    grid-row: 1/3;
    color: var(--bb-gold);
    font-size: 2rem
}

.bb-benefits strong {
    color: #1f170e
}

.bb-benefits span {
    color: var(--bb-muted);
    font-size: .92rem
}

.bb-footer {
    background: linear-gradient(135deg, #0f321b, #032012);
    color: #fff;
    border-top: 0;
    margin-top: 40px;
    padding: 36px 0 18px
}

.bb-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 42px
}

.bb-footer a {
    display: block;
    color: #fff;
    margin: 7px 0
}

.bb-footer strong {
    display: block;
    color: #fff;
    margin-bottom: 12px
}

.bb-footer-brand img {
    width: 230px;
    max-width: 100%;
    filter: brightness(0) invert(1)
}

.bb-socials {
    display: flex;
    gap: 10px;
    margin-top: 14px
}

.bb-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--bb-gold);
    border-radius: 50%;
    color: var(--bb-gold);
    margin: 0
}

.bb-newsletter p {
    color: #e8dcc9
}

.bb-newsletter form {
    display: grid;
    grid-template-columns: 1fr auto;
    background: #fff;
    border: 1px solid var(--bb-gold);
    border-radius: 10px;
    overflow: hidden
}

.bb-newsletter input {
    border: 0;
    border-radius: 0
}

.bb-newsletter button {
    border-radius: 0;
    box-shadow: none
}

.bb-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    margin-top: 28px;
    padding-top: 16px;
    color: #ead8b5;
    font-size: .9rem
}

@media (max-width:1080px) {
    .bb-featured-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .bb-category-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .bb-home-search {
        grid-template-columns: 1fr 1fr
    }

    .bb-home-search button {
        min-height: 62px
    }

    .bb-footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .bb-ad-banner {
        grid-template-columns: 1fr
    }
}

@media (max-width:760px) {
    .nav {
        min-height: auto
    }

    .brand {
        min-width: 0
    }

    .brand img {
        height: 86px
    }

    .bb-home-hero-grid {
        display: block;
        min-height: 0
    }

    .bb-home-copy {
        padding: 30px 0
    }

    .bb-home-visual {
        position: relative;
        inset: auto;
        height: 260px;
        margin: 0 -4vw;
        background-position: center;
        background-size: cover
    }

    .bb-home-search {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        grid-template-columns: 1fr;
        margin-top: 18px
    }

    .bb-home-search label {
        border-right: 0;
        border-bottom: 1px solid var(--bb-line)
    }

    .bb-category-grid,
    .bb-featured-grid,
    .bb-benefits,
    .bb-footer-grid {
        grid-template-columns: 1fr
    }

    .bb-benefits div {
        border-right: 0;
        border-bottom: 1px solid var(--bb-line)
    }

    .bb-ad-banner {
        padding: 26px
    }

    .bb-footer-bottom {
        display: block
    }

    .bb-section-head {
        display: block
    }

    .bb-section-head a {
        display: inline-flex;
        margin-top: 10px
    }
}

@media (max-width:480px) {
    .bb-category-grid {
        gap: 12px
    }

    .bb-home-copy h1 {
        font-size: 2.25rem
    }

    .bb-event-image {
        height: 180px
    }

    .bb-newsletter form {
        grid-template-columns: 1fr
    }

    .bb-newsletter button {
        width: 100%
    }
}

.bb-ad-banner {
    grid-template-columns: 1fr;
    margin-top: 34px;
    min-height: 330px;
    padding: 56px 48px;
    border-radius: 24px;
    background: linear-gradient(90deg, rgba(91, 7, 12, .42), rgba(139, 21, 30, .15) 42%, rgba(91, 7, 12, .06)), url('../img/background-anunciante.png') center/cover no-repeat;
    box-shadow: 0 18px 42px rgba(50, 35, 19, .15)
}

.bb-ad-banner>div {
    max-width: 610px
}

.bb-ad-ornament {
    display: block;
    width: 330px;
    height: 36px;
    margin-bottom: 18px;
    background: linear-gradient(90deg, var(--bb-gold), var(--bb-gold)) left 50%/130px 1px no-repeat, linear-gradient(90deg, var(--bb-gold), var(--bb-gold)) right 50%/130px 1px no-repeat;
    position: relative
}

.bb-ad-ornament:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 4px solid var(--bb-gold);
    border-left: 0;
    border-top: 0;
    border-radius: 0 0 12px 0;
    opacity: .95
}

.bb-ad-banner h2 {
    max-width: 690px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.2rem, 4.7vw, 4.9rem);
    line-height: .98;
    font-weight: 900;
    letter-spacing: 0;
    color: #fff;
    margin: 0 0 22px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, .26)
}

.bb-ad-banner p {
    max-width: 650px;
    color: #fff;
    font-size: clamp(1.05rem, 2vw, 1.75rem);
    line-height: 1.42;
    margin: 0 0 34px
}

.bb-ad-banner .btn.secondary {
    border: 3px solid #e4bc64;
    background: rgba(98, 16, 18, .32);
    color: #f2cf75;
    border-radius: 14px;
    padding: 20px 36px;
    font-size: clamp(1.05rem, 1.8vw, 1.55rem);
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
    text-transform: capitalize
}

.bb-ad-banner .btn.secondary:hover {
    background: rgba(255, 255, 255, .08);
    color: #ffe09a
}

.bb-ad-banner .btn i {
    font-size: 1.35em
}

@media (max-width:760px) {
    .bb-ad-banner {
        min-height: 430px;
        padding: 34px 24px;
        background-position: center right
    }

    .bb-ad-ornament {
        width: 220px;
        background-size: 82px 1px
    }

    .bb-ad-banner h2 {
        font-size: 2.35rem
    }

    .bb-ad-banner p {
        font-size: 1.06rem
    }

    .bb-ad-banner .btn.secondary {
        width: 100%;
        padding: 16px 18px
    }
}

@media (max-width:480px) {
    .bb-ad-banner {
        border-radius: 16px;
        background-position: 58% center
    }

    .bb-ad-ornament {
        margin-bottom: 12px
    }
}

.bb-home-hero {
    background: #fffdfa url('../img/banner-home.png') center top/cover no-repeat;
    min-height: 450px;
    position: relative;
    margin-bottom: 8px
}

.bb-home-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 253, 250, .96) 0%, rgba(255, 253, 250, .82) 25%, rgba(255, 253, 250, .18) 52%, rgba(255, 253, 250, 0) 100%);
    pointer-events: none
}

.bb-home-hero-grid {
    min-height: 450px;
    grid-template-columns: minmax(360px, .74fr) minmax(420px, 1fr)
}

.bb-home-copy {
    padding: 70px 0 138px
}

.bb-home-copy .bb-kicker {
    display: none
}

.bb-home-copy h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.45rem, 5vw, 5.25rem);
    line-height: .94;
    letter-spacing: 0;
    max-width: 610px
}

.bb-home-copy h1 strong {
    font-size: 1.36em;
    line-height: .86
}

.bb-home-copy p {
    font-size: 1.08rem;
    color: #241811;
    max-width: 470px
}

.bb-home-visual {
    display: none
}

.bb-home-search {
    left: 0;
    right: auto;
    bottom: 38px;
    max-width: 1010px;
    grid-template-columns: 1.15fr 220px 240px 180px;
    border-radius: 15px
}

.bb-home-search label {
    background: #fff;
    padding: 18px 22px
}

.bb-home-search span {
    color: #665f57
}

.bb-home-search button {
    background: var(--bb-red);
    min-height: 68px
}

.bb-home-search button i {
    display: none
}

@media (max-width:1080px) {
    .bb-home-search {
        right: 0;
        grid-template-columns: 1fr 1fr
    }

    .bb-home-hero {
        min-height: auto
    }

    .bb-home-hero-grid {
        min-height: 500px
    }
}

@media (max-width:760px) {
    .bb-home-hero {
        background-position: 64% top;
        min-height: auto
    }

    .bb-home-hero:before {
        background: linear-gradient(180deg, rgba(255, 253, 250, .98) 0%, rgba(255, 253, 250, .82) 48%, rgba(255, 253, 250, .18) 100%)
    }

    .bb-home-hero-grid {
        min-height: 0
    }

    .bb-home-copy {
        padding: 34px 0 18px
    }

    .bb-home-search {
        margin-top: 10px;
        box-shadow: 0 14px 34px rgba(50, 35, 19, .16)
    }

    .bb-home-search button {
        min-height: 58px
    }

    .bb-home-copy h1 {
        font-size: 2.55rem
    }

    .bb-home-copy p {
        font-size: 1rem
    }

    .bb-home-visual {
        display: none
    }
}

@media (max-width:480px) {
    .bb-home-copy h1 {
        font-size: 2.25rem
    }

    .bb-home-search label {
        padding: 15px 18px
    }

    .bb-home-search label i {
        font-size: 1.45rem
    }
}

.icon {
    width: 1.25em;
    height: 1.25em;
    display: inline-block;
    vertical-align: -.22em;
    object-fit: contain;
    flex: 0 0 auto
}

.nav-icon {
    width: 21px;
    height: 21px;
    vertical-align: -.3em
}

.btn .icon,
.bb-home-search button .icon,
.bb-newsletter button .icon {
    filter: brightness(0) invert(1);
    margin-right: 6px
}

.bb-home-search label {
    grid-template-columns: 34px 1fr
}

.bb-home-search .bb-field-icon {
    grid-row: 1/3;
    width: 28px;
    height: 28px;
    align-self: center
}

.category-icon {
    width: 38px;
    height: 38px;
    object-fit: contain
}

.bb-category-card.active .category-icon,
.bb-category-card:hover .category-icon {
    filter: brightness(0) invert(1)
}

.card-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: -.25em;
    flex: 0 0 auto
}

.bb-event-date .card-icon {
    display: block;
    margin: 0 auto 3px;
    width: 17px;
    height: 17px;
    filter: brightness(0) invert(1)
}

.bb-event-body p {
    display: flex;
    align-items: flex-start;
    gap: 7px
}

.bb-event-foot span {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.bb-event-foot a .icon {
    width: 25px;
    height: 25px
}

.bb-ad-icon {
    width: 48px;
    height: 48px;
    margin: 0 0 12px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .18))
}

.bb-ad-banner .btn.secondary .icon {
    filter: none;
    width: 26px;
    height: 26px;
    margin-left: 8px;
    margin-right: 0
}

.benefit-icon {
    grid-row: 1/3;
    width: 38px;
    height: 38px;
    object-fit: contain
}

.bb-benefits i {
    display: none
}

.social-icon {
    width: 19px;
    height: 19px;
    filter: brightness(0) saturate(100%) invert(70%) sepia(49%) saturate(484%) hue-rotate(4deg) brightness(91%) contrast(89%)
}

.bb-socials a:hover .social-icon {
    filter: brightness(0) invert(1)
}

@media (max-width:760px) {
    .nav-icon {
        width: 19px;
        height: 19px
    }

    .category-icon {
        width: 34px;
        height: 34px
    }

    .bb-home-search .bb-field-icon {
        width: 25px;
        height: 25px
    }

    .benefit-icon {
        width: 34px;
        height: 34px
    }

    .bb-ad-icon {
        width: 42px;
        height: 42px
    }
}

.bb-ad-banner {
    min-height: 224px;
    max-height: 224px;
    margin-top: 30px;
    padding: 28px 32px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(89, 8, 12, .54), rgba(139, 21, 30, .18) 48%, rgba(89, 8, 12, .06)), url('../img/background-anunciante.png') center/cover no-repeat;
    box-shadow: 0 16px 34px rgba(50, 35, 19, .12)
}

.bb-ad-banner>div {
    max-width: 430px
}

.bb-ad-ornament {
    width: 188px;
    height: 20px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--bb-gold), var(--bb-gold)) left 50%/75px 1px no-repeat, linear-gradient(90deg, var(--bb-gold), var(--bb-gold)) right 50%/75px 1px no-repeat
}

.bb-ad-ornament:after {
    width: 16px;
    height: 16px;
    border-width: 3px;
    border-radius: 0 0 6px 0
}

.bb-ad-icon {
    width: 28px;
    height: 28px;
    margin: 0 0 6px
}

.bb-ad-banner h2 {
    max-width: 420px;
    font-size: clamp(1.65rem, 2.4vw, 2.45rem);
    line-height: 1.02;
    margin: 0 0 10px
}

.bb-ad-banner p {
    max-width: 390px;
    font-size: .98rem;
    line-height: 1.45;
    margin: 0 0 18px
}

.bb-ad-banner .btn.secondary {
    padding: 11px 20px;
    border-width: 2px;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: none
}

.bb-ad-banner .btn.secondary .icon {
    width: 19px;
    height: 19px
}

@media (max-width:760px) {
    .bb-ad-banner {
        min-height: 260px;
        max-height: none;
        padding: 24px 22px;
        background-position: center right
    }

    .bb-ad-banner>div {
        max-width: 340px
    }

    .bb-ad-banner h2 {
        font-size: 2rem
    }

    .bb-ad-banner p {
        font-size: .95rem
    }

    .bb-ad-banner .btn.secondary {
        width: auto;
        padding: 11px 16px
    }
}

@media (max-width:480px) {
    .bb-ad-banner {
        min-height: 310px;
        border-radius: 10px;
        background-position: 58% center
    }

    .bb-ad-banner h2 {
        font-size: 1.85rem
    }

    .bb-ad-banner p {
        max-width: 280px
    }
}

.bb-ad-banner {
    display: flex;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
    height: 224px;
    min-height: 224px;
    max-height: 224px;
    background-image: linear-gradient(90deg, rgba(95, 8, 12, .68) 0%, rgba(139, 21, 30, .28) 42%, rgba(95, 8, 12, .08) 100%), url('../img/background-anunciante.png');
    background-size: auto;
    background-position: 50% 15%;
    background-repeat: no-repeat
}

.bb-ad-banner>div {
    position: relative;
    z-index: 1;
    width: min(100%, 390px);
    max-width: 390px;
    display: block
}

.bb-ad-banner h2 {
    font-size: clamp(1.45rem, 2.05vw, 2rem);
    line-height: 1.04;
    margin-bottom: 8px;
    max-width: 360px
}

.bb-ad-banner p {
    font-size: .86rem;
    line-height: 1.36;
    max-width: 350px;
    margin-bottom: 14px
}

.bb-ad-ornament {
    width: 150px;
    height: 16px;
    margin-bottom: 8px;
    background-size: 58px 1px
}

.bb-ad-ornament:after {
    width: 13px;
    height: 13px;
    border-width: 2px
}

.bb-ad-icon {
    display: none
}

.bb-ad-banner .btn.secondary {
    padding: 9px 17px;
    font-size: .9rem;
    min-height: 0
}

@media (max-width:760px) {
    .bb-ad-banner {
        height: auto;
        min-height: 238px;
        max-height: none;
        align-items: flex-start;
        padding: 22px;
        background-position: 58% center
    }

    .bb-ad-banner>div {
        max-width: 310px
    }

    .bb-ad-banner h2 {
        font-size: 1.72rem;
        max-width: 300px
    }

    .bb-ad-banner p {
        font-size: .86rem;
        max-width: 285px
    }
}

@media (max-width:480px) {
    .bb-ad-banner {
        min-height: 284px;
        background-position: 62% center
    }

    .bb-ad-banner>div {
        max-width: 260px
    }

    .bb-ad-banner h2 {
        font-size: 1.55rem
    }

    .bb-ad-banner p {
        max-width: 240px
    }
}

.bb-home-hero {
    min-height: 370px;
    margin-bottom: 0;
    background-position: center center
}

.bb-home-hero-grid {
    min-height: 370px
}

.bb-home-copy {
    padding: 42px 0 105px
}

.bb-home-copy h1 {
    font-size: clamp(2.15rem, 4.25vw, 4.4rem);
    max-width: 540px
}

.bb-home-copy p {
    font-size: 1rem;
    max-width: 430px
}

.bb-home-search {
    bottom: 24px;
    max-width: 930px;
    grid-template-columns: 1.1fr 200px 220px 165px
}

.bb-home-search label {
    padding: 15px 18px
}

.bb-home-search button {
    min-height: 62px
}

@media (max-width:1080px) {
    .bb-home-hero-grid {
        min-height: 430px
    }

    .bb-home-copy {
        padding-bottom: 132px
    }
}

@media (max-width:760px) {
    .bb-home-hero {
        background-position: 62% top
    }

    .bb-home-copy {
        padding: 28px 0 12px
    }

    .bb-home-copy h1 {
        font-size: 2.22rem
    }

    .bb-home-search {
        bottom: auto;
        max-width: none
    }

    .bb-home-hero-grid {
        min-height: 0
    }
}

.bb-home-search {
    grid-template-columns: 1fr 310px 220px 165px;
    max-width: 1040px
}

.bb-date-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    grid-column: 2
}

.bb-home-search .bb-date-range input {
    min-width: 0;
    width: 100%;
    font-size: .82rem;
    color: #322313;
    background: #fff8ed;
    border: 1px solid #eadfcf;
    border-radius: 7px;
    padding: 5px 6px
}

.bb-date-range input:focus {
    border-color: var(--bb-gold);
    box-shadow: 0 0 0 2px rgba(179, 141, 69, .14)
}

@media (max-width:1080px) {
    .bb-home-search {
        grid-template-columns: 1fr 1fr;
        max-width: 930px
    }

    .bb-date-range {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:760px) {
    .bb-home-search {
        grid-template-columns: 1fr
    }

    .bb-date-range {
        grid-column: 2;
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:420px) {
    .bb-date-range {
        grid-template-columns: 1fr
    }

    .bb-home-search .bb-date-range input {
        font-size: .9rem
    }
}

.bb-home-search .bb-search-field {
    position: relative;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0 10px;
    align-items: center;
    padding: 15px 18px;
    border-right: 1px solid var(--bb-line);
    background: #fff;
    color: #1f170e
}

.bb-home-search .bb-search-field .bb-field-icon {
    grid-row: 1/3;
    width: 28px;
    height: 28px;
    align-self: center
}

.bb-date-trigger {
    grid-column: 2;
    border: 0;
    background: transparent;
    color: var(--bb-muted);
    padding: 4px 0;
    text-align: left;
    font-weight: 700;
    box-shadow: none;
    min-height: 0
}

.bb-date-trigger:hover {
    background: transparent;
    color: var(--bb-red)
}

.bb-range-calendar {
    position: absolute;
    left: 12px;
    top: calc(100% + 10px);
    z-index: 20;
    width: 304px;
    background: #fffdfa;
    border: 1px solid var(--bb-line);
    border-radius: 10px;
    box-shadow: 0 18px 42px rgba(50, 35, 19, .22);
    padding: 12px
}

.bb-range-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--bb-green)
}

.bb-range-head button,
.bb-range-actions button {
    border: 1px solid var(--bb-line);
    background: #fff8ed;
    color: #322313;
    border-radius: 7px;
    padding: 6px 10px;
    box-shadow: none
}

.bb-range-week,
.bb-range-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px
}

.bb-range-week span {
    text-align: center;
    color: var(--bb-muted);
    font-size: .72rem;
    font-weight: 900
}

.bb-range-days button {
    aspect-ratio: 1;
    border: 0;
    border-radius: 7px;
    background: #fff;
    color: #322313;
    font-weight: 800;
    box-shadow: none;
    padding: 0
}

.bb-range-days button:hover,
.bb-range-days button.is-edge {
    background: var(--bb-red);
    color: #fff
}

.bb-range-days button.is-between {
    background: #f2dfc0;
    color: #322313
}

.bb-range-days button.is-muted {
    opacity: .35
}

.bb-range-actions {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 11px
}

.bb-range-actions button:last-child {
    background: var(--bb-red);
    color: #fff;
    border-color: var(--bb-red)
}

@media (max-width:1080px) {
    .bb-home-search .bb-search-field {
        border-right: 0;
        border-bottom: 1px solid var(--bb-line)
    }

    .bb-range-calendar {
        left: 10px;
        right: 10px;
        width: auto
    }
}

@media (max-width:760px) {
    .bb-home-search .bb-search-field {
        border-right: 0;
        border-bottom: 1px solid var(--bb-line)
    }

    .bb-range-calendar {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        grid-column: 1/3;
        width: 100%;
        margin-top: 10px;
        box-shadow: 0 12px 28px rgba(50, 35, 19, .14)
    }
}

.bb-home-hero {
    background-position: center top
}

.bb-home-copy h1 {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: .96;
    color: var(--bb-green);
    font-weight: 900;
    letter-spacing: 0
}

.bb-home-copy h1 span,
.bb-home-copy h1 em {
    display: block;
    font-style: normal;
    color: var(--bb-green);
    font-size: .52em;
    line-height: 1.05
}

.bb-home-copy h1 strong {
    display: block;
    color: var(--bb-red);
    font-size: 1.08em;
    line-height: .82;
    text-transform: uppercase
}

.bb-home-copy p {
    max-width: 455px;
    color: #241811;
    line-height: 1.38
}

.bb-home-search {
    overflow: visible
}

.bb-home-search label,
.bb-home-search .bb-search-field {
    min-width: 0
}

.bb-home-search datalist {
    display: none
}

.bb-home-search input[name="q"] {
    font-weight: 700;
    color: #322313
}

.bb-home-search input[name="q"]::placeholder {
    color: #8b8177
}

@media (max-width:760px) {

    .bb-home-copy h1 span,
    .bb-home-copy h1 em {
        font-size: .58em
    }

    .bb-home-copy h1 strong {
        font-size: 1.02em
    }
}

.page-wrapper {
    position: relative
}

.bb-home-hero {
    overflow: visible;
    z-index: 5;
    min-height: 430px;
    background-size: cover;
    background-position: center center
}

.bb-home-hero:before {
    z-index: 0
}

.bb-home-hero-grid {
    min-height: 430px;
    z-index: 2
}

.bb-home-copy {
    padding: 52px 0 128px
}

.bb-home-copy h1 {
    font-size: clamp(2.35rem, 4.6vw, 4.85rem);
    max-width: 590px
}

.bb-home-copy p {
    font-size: 1.05rem;
    max-width: 510px;
    white-space: normal
}

.bb-home-search {
    z-index: 30;
    max-width: 1120px;
    grid-template-columns: 250px 300px minmax(300px, 1fr) 165px;
    box-shadow: 0 22px 50px rgba(50, 35, 19, .2)
}

.bb-home-search input[name="q"] {
    display: block;
    min-width: 0;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.bb-date-trigger {
    background: transparent !important;
    color: var(--bb-muted) !important;
    box-shadow: none !important;
    width: 100%;
    justify-content: flex-start;
    padding: 4px 0 !important
}

.bb-date-trigger:hover {
    background: transparent !important;
    color: var(--bb-red) !important
}

.bb-range-calendar {
    z-index: 2000
}

.bb-home-section:first-of-type {
    position: relative;
    z-index: 1;
    padding-top: 38px
}

@media (max-width:1080px) {
    .bb-home-hero {
        min-height: 520px
    }

    .bb-home-hero-grid {
        min-height: 520px
    }

    .bb-home-search {
        grid-template-columns: 1fr 1fr;
        max-width: 930px
    }

    .bb-home-copy {
        padding-bottom: 155px
    }
}

@media (max-width:760px) {
    .bb-home-hero {
        min-height: auto;
        background-position: 62% top
    }

    .bb-home-copy {
        padding: 28px 0 12px
    }

    .bb-home-search {
        grid-template-columns: 1fr;
        position: relative;
        margin-top: 10px
    }

    .bb-home-search label,
    .bb-home-search .bb-search-field {
        border-right: 0;
        border-bottom: 1px solid var(--bb-line)
    }

    .bb-home-section:first-of-type {
        padding-top: 28px
    }
}

.bb-range-calendar {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 302px;
    max-width: calc(100vw - 28px);
    background: #fffdfa !important;
    border: 1px solid #e4d2b6;
    border-radius: 10px;
    box-shadow: 0 24px 54px rgba(50, 35, 19, .28);
    padding: 12px;
    overflow: hidden
}

.bb-range-head {
    margin-bottom: 9px
}

.bb-range-head strong {
    font-size: .95rem;
    text-transform: lowercase
}

.bb-range-week,
.bb-range-days {
    gap: 3px
}

.bb-range-week span {
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center
}

.bb-range-days button {
    width: 36px;
    height: 36px;
    aspect-ratio: auto;
    border-radius: 6px;
    background: #fffdfa !important;
    color: #1f170e !important
}

.bb-range-days button:hover,
.bb-range-days button.is-edge {
    background: var(--bb-red) !important;
    color: #fff !important
}

.bb-range-days button.is-between {
    background: #f1dfc2 !important;
    color: #322313 !important
}

.bb-range-actions button {
    height: 42px;
    padding: 8px 11px
}

.bb-range-actions button:first-child {
    background: #fff8ed !important;
    color: #322313 !important
}

.bb-range-actions button:last-child {
    background: var(--bb-red) !important;
    color: #fff !important
}

.bb-home-section {
    position: relative;
    z-index: 0
}

@media (max-width:760px) {
    .bb-range-calendar {
        position: absolute;
        grid-column: auto;
        top: calc(100% + 8px);
        left: 50%;
        width: 302px;
        margin-top: 0;
        transform: translateX(-50%)
    }

    .bb-date-field {
        position: relative
    }
}

@media (max-width:360px) {
    .bb-range-calendar {
        width: 284px
    }

    .bb-range-days button {
        width: 33px;
        height: 33px
    }
}

.bb-home-search {
    min-height: 78px;
    align-items: stretch
}

.bb-home-search label,
.bb-home-search .bb-search-field {
    padding: 12px 18px;
    grid-template-rows: auto auto;
    align-content: center
}

.bb-home-search span {
    font-size: .86rem;
    line-height: 1.1;
    margin-bottom: 3px
}

.bb-home-search input,
.bb-home-search select,
.bb-date-trigger {
    font-size: .86rem;
    line-height: 1.2
}

.bb-home-search .bb-field-icon,
.bb-home-search .bb-search-field .bb-field-icon {
    width: 24px;
    height: 24px
}

.bb-home-search button {
    min-height: 78px;
    padding: 10px 16px;
    line-height: 1.15
}

.bb-date-trigger span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

@media (max-width:760px) {
    .bb-home-search {
        min-height: 0
    }

    .bb-home-search button {
        min-height: 52px
    }

    .bb-home-search label,
    .bb-home-search .bb-search-field {
        padding: 12px 16px
    }
}

.bb-home-search {
    min-height: 80px;
    height: 80px;
    grid-template-columns: 250px 300px minmax(300px, 1fr) 150px;
    border-radius: 12px;
    overflow: visible
}

.bb-home-search label,
.bb-home-search .bb-search-field {
    min-height: 80px;
    padding: 10px 18px
}

.bb-home-search button[type="submit"],
.bb-home-search>button {
    height: 80px;
    min-height: 80px;
    border-radius: 0 12px 12px 0;
    margin: 0;
    align-self: stretch;
    width: 100%;
    box-shadow: none
}

.bb-range-calendar {
    width: 332px;
    padding: 10px;
    border-radius: 9px
}

.bb-range-head {
    margin-bottom: 6px
}

.bb-range-head strong {
    font-size: .88rem
}

.bb-range-head button {
    height: 32px;
    width: 32px;
    padding: 0;
    border-radius: 7px
}

.bb-range-week,
.bb-range-days {
    gap: 2px
}

.bb-range-week span {
    height: 18px;
    font-size: .68rem
}

.bb-range-days button {
    width: 42px;
    height: 32px;
    border-radius: 5px;
    font-size: .84rem
}

.bb-range-actions {
    margin-top: 8px
}

.bb-range-actions button {
    height: 34px;
    padding: 6px 10px;
    font-size: .82rem;
    border-radius: 7px
}

.bb-range-actions button:first-child {
    background: transparent !important;
    border-color: #eadfcf !important
}

.bb-range-actions button:last-child {
    min-height: 34px;
    box-shadow: none
}

@media (max-width:1080px) {
    .bb-home-search {
        height: auto;
        grid-template-columns: 1fr 1fr
    }

    .bb-home-search label,
    .bb-home-search .bb-search-field {
        min-height: 72px
    }

    .bb-home-search>button {
        height: 58px;
        min-height: 58px;
        border-radius: 0 0 12px 12px;
        grid-column: 1/-1
    }

    .bb-range-calendar {
        width: 332px
    }
}

@media (max-width:760px) {
    .bb-home-search {
        height: auto
    }

    .bb-home-search label,
    .bb-home-search .bb-search-field {
        min-height: 66px
    }

    .bb-home-search>button {
        height: 54px;
        min-height: 54px;
        border-radius: 0 0 12px 12px
    }

    .bb-range-calendar {
        width: min(332px, calc(100vw - 28px))
    }
}

@media (max-width:360px) {
    .bb-range-calendar {
        width: 302px
    }

    .bb-range-days button {
        width: 38px;
        height: 31px
    }
}

.bb-home-search {
    height: 80px !important;
    min-height: 80px !important;
    align-items: stretch !important;
    padding: 0 !important;
    overflow: visible !important
}

.bb-home-search label,
.bb-home-search .bb-search-field {
    height: 80px !important;
    min-height: 80px !important;
    box-sizing: border-box;
    background: #fff !important
}

.bb-date-field {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    grid-template-areas: "icon title""icon value" !important;
    align-content: center !important;
    align-items: center !important
}

.bb-date-field>.bb-field-icon {
    grid-area: icon !important;
    align-self: center !important
}

.bb-date-field>span {
    grid-area: title !important;
    text-align: left !important;
    margin: 0 0 4px !important
}

.bb-date-trigger {
    grid-area: value !important;
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    text-align: left !important;
    padding: 0 !important;
    line-height: 1.2 !important
}

.bb-date-trigger span {
    display: block !important;
    text-align: left !important
}

.bb-home-search>button {
    height: 80px !important;
    min-height: 80px !important;
    border-radius: 0 12px 12px 0 !important;
    margin: 0 !important;
    padding: 0 18px !important;
    align-self: stretch !important;
    box-shadow: none !important;
    border: 0 !important
}

.bb-range-calendar {
    width: 340px !important;
    padding: 8px !important;
    border-radius: 8px !important
}

.bb-range-head {
    margin-bottom: 4px !important
}

.bb-range-head strong {
    font-size: .84rem !important
}

.bb-range-head button {
    width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
    border-radius: 6px !important;
    font-size: .9rem !important
}

.bb-range-week,
.bb-range-days {
    gap: 1px !important
}

.bb-range-week span {
    height: 16px !important;
    font-size: .64rem !important
}

.bb-range-days button {
    width: 44px !important;
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 !important;
    border-radius: 4px !important;
    font-size: .78rem !important;
    box-shadow: none !important
}

.bb-range-actions {
    margin-top: 6px !important
}

.bb-range-actions button {
    height: 30px !important;
    min-height: 30px !important;
    padding: 4px 9px !important;
    font-size: .76rem !important;
    border-radius: 6px !important;
    box-shadow: none !important
}

.bb-range-actions button:last-child {
    background: var(--bb-red) !important;
    color: #fff !important
}

@media (max-width:1080px) {
    .bb-home-search {
        height: auto !important
    }

    .bb-home-search label,
    .bb-home-search .bb-search-field {
        height: 72px !important;
        min-height: 72px !important
    }

    .bb-home-search>button {
        height: 56px !important;
        min-height: 56px !important;
        border-radius: 0 0 12px 12px !important;
        grid-column: 1/-1 !important
    }

    .bb-range-calendar {
        width: 340px !important
    }
}

@media (max-width:760px) {

    .bb-home-search label,
    .bb-home-search .bb-search-field {
        height: 66px !important;
        min-height: 66px !important
    }

    .bb-home-search>button {
        height: 52px !important;
        min-height: 52px !important
    }

    .bb-range-calendar {
        width: min(340px, calc(100vw - 28px)) !important
    }

    .bb-range-days button {
        width: calc((min(340px, calc(100vw - 28px)) - 24px)/7) !important
    }
}

.bb-home-hero-grid {
    min-height: 600px
}

.bb-home-search {
    bottom: 120px !important
}

.bb-autocomplete {
    position: relative;
    grid-column: 2;
    min-width: 0
}

.bb-autocomplete input {
    width: 100%;
    min-width: 0
}

.bb-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 2200;
    background: #fffdfa;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(50, 35, 19, .2);
    padding: 6px;
    max-height: 250px;
    overflow: auto
}

.bb-suggestions button {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 9px 10px;
    border-radius: 6px;
    background: transparent !important;
    color: #322313 !important;
    box-shadow: none;
    text-align: left;
    font-size: .86rem;
    font-weight: 800
}

.bb-suggestion-heading {
    padding: 9px 10px 5px;
    color: var(--bb-red);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-top: 1px solid #efe0ca
}

.bb-suggestion-heading:first-child {
    border-top: 0
}

.bb-suggestions button:hover {
    background: #f4e7d1 !important;
    color: var(--bb-red) !important
}

@media (max-width:1080px) {
    .bb-home-search {
        bottom: 90px !important
    }

    .bb-autocomplete {
        grid-column: 2
    }

    .bb-suggestions {
        top: calc(100% + 8px)
    }
}

@media (max-width:760px) {
    .bb-home-search {
        bottom: auto !important
    }

    .bb-autocomplete {
        grid-column: 2
    }

    .bb-suggestions {
        position: absolute
    }
}

.bb-home-search label .bb-autocomplete {
    grid-column: 2
}

.bb-home-search label .bb-autocomplete input {
    border: 0;
    background: transparent;
    padding: 4px 0;
    color: #322313;
    font-weight: 700
}

.bb-home-search label .bb-autocomplete input:focus {
    outline: 0;
    box-shadow: none
}

.bb-home-search label .bb-autocomplete input::placeholder {
    color: #8b8177
}

.bb-category-card:hover {
    background: #fffdfa !important;
    color: var(--bb-red) !important;
    border-color: var(--bb-red) !important
}

.bb-category-card:hover .category-icon {
    filter: none !important
}

.bb-category-card.active,
.bb-category-card.active:hover {
    background: var(--bb-red) !important;
    color: #fff !important;
    border-color: var(--bb-red) !important
}

.bb-category-card.active .category-icon,
.bb-category-card.active:hover .category-icon {
    filter: brightness(0) invert(1) !important
}

.bb-ad-banner .btn.secondary .icon {
    filter: brightness(0) saturate(100%) invert(74%) sepia(55%) saturate(483%) hue-rotate(3deg) brightness(94%) contrast(88%) !important;
    animation: bbArrowSlide 1.35s ease-in-out infinite
}

.bb-ad-banner .btn.secondary:hover .icon {
    animation-play-state: paused
}

@keyframes bbArrowSlide {

    0%,
    100% {
        transform: translateX(0)
    }

    50% {
        transform: translateX(8px)
    }
}

.navlinks>a:first-child:not(.active) {
    color: #1b1b1b !important;
    border-bottom: 0 !important
}

.navlinks>a.active:not(.btn) {
    color: var(--bb-red) !important;
    border-bottom: 2px solid var(--bb-red) !important;
    background: transparent !important
}

.bb-events-hero {
    position: relative;
    min-height: 315px;
    background: linear-gradient(180deg, rgba(16, 10, 5, .58), rgba(16, 10, 5, .72)), url('../img/background-eventos.png') center/cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden
}

.bb-events-hero:before {
    content: "";
    position: absolute;
    left: -6%;
    right: -6%;
    bottom: -54px;
    height: 110px;
    background: #fffdfa;
    border-radius: 0 0 50% 50%;
    transform: rotate(2deg);
    opacity: .98
}

.bb-events-hero:after {
    content: "";
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: 8px;
    height: 48px;
    background: linear-gradient(7deg, var(--bb-red) 0 44%, var(--bb-green) 45% 100%);
    transform: rotate(4deg);
    transform-origin: left center
}

.bb-events-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 58px 0 86px
}

.bb-events-hero h1 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 1;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .32)
}

.bb-events-hero p {
    max-width: 650px;
    margin: 18px auto 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    line-height: 1.25
}

.bb-events-ornament {
    display: block;
    width: 250px;
    height: 26px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, var(--bb-gold), var(--bb-gold)) left 50%/105px 1px no-repeat, linear-gradient(90deg, var(--bb-gold), var(--bb-gold)) right 50%/105px 1px no-repeat;
    position: relative
}

.bb-events-ornament:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 19px;
    height: 19px;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 3px solid var(--bb-gold);
    border-left: 0;
    border-top: 0;
    border-radius: 0 0 7px 0
}

.announce-event-btn {
    position: relative;
    overflow: hidden;
    gap: 8px;
    background: linear-gradient(135deg, #8B151E, #721018) !important;
    color: #fff !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 10px 24px rgba(139, 21, 30, .22) !important
}

.announce-event-btn:before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .18) 42%, rgba(255, 224, 154, .42) 50%, rgba(255, 255, 255, .12) 58%, transparent 100%);
    transform: translateX(-120%);
    animation: bbAnnounceGlow 3.2s ease-in-out infinite
}

.announce-event-btn:hover:before {
    animation-play-state: paused
}

.announce-event-btn>* {
    position: relative;
    z-index: 1
}

.announce-dance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 999px;
    background: #fff8ed;
    animation: bbDanceStep 1.45s ease-in-out infinite;
    transform-origin: center bottom
}

.announce-dance-icon img {
    width: 20px;
    height: 20px;
    display: block;
    filter: brightness(0) saturate(100%) invert(16%) sepia(60%) saturate(2314%) hue-rotate(337deg) brightness(90%) contrast(95%)
}

.announce-event-btn:hover .announce-dance-icon {
    animation-play-state: paused
}

.bb-footer {
    background: #0B2C18 !important
}

.bb-footer .bb-footer-brand .footer-logo {
    width: 230px;
    max-width: 100%;
    filter: none !important;
    background: transparent !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important
}

.bb-footer .bb-footer-brand .footer-logo:hover {
    filter: none !important
}

@keyframes bbAnnounceGlow {

    0%,
    45% {
        transform: translateX(-120%)
    }

    70%,
    100% {
        transform: translateX(120%)
    }
}

@keyframes bbDanceStep {

    0%,
    100% {
        transform: rotate(-4deg) translateY(0)
    }

    35% {
        transform: rotate(5deg) translateY(-2px)
    }

    65% {
        transform: rotate(-2deg) translateY(1px)
    }
}

@media (max-width:760px) {
    .announce-event-btn {
        padding: 11px 14px !important
    }

    .announce-dance-icon {
        width: 24px;
        height: 24px
    }

    .announce-dance-icon img {
        width: 18px;
        height: 18px
    }

    .bb-footer .bb-footer-brand .footer-logo {
        width: 230px
    }
}

.bb-events-search-wrap {
    position: relative;
    z-index: 6;
    margin-top: -38px
}

.bb-events-search {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 250px 230px 160px;
    gap: 10px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--bb-line);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 18px 42px rgba(50, 35, 19, .16);
    overflow: visible
}

.bb-events-search label,
.bb-events-date {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    height: 54px;
    border: 1px solid #eadfcf;
    border-radius: 8px;
    background: #fffdfa;
    padding: 0 14px
}

.bb-events-search .bb-field-icon {
    width: 22px;
    height: 22px
}

.bb-events-search input {
    border: 0;
    background: transparent;
    padding: 0;
    color: #322313;
    font-weight: 700;
    width: 100%;
    min-width: 0
}

.bb-events-search input:focus {
    outline: 0;
    box-shadow: none
}

.bb-events-search input::placeholder {
    color: #8b8177
}

.bb-events-search .bb-date-trigger {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    color: #6f6256 !important;
    text-align: left !important;
    box-shadow: none !important
}

.bb-events-search>button {
    height: 54px;
    border-radius: 8px;
    background: var(--bb-red);
    box-shadow: none
}

.bb-events-search .bb-range-calendar {
    top: calc(100% + 9px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important
}

.bb-events-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    margin-bottom: 24px
}

.bb-events-tabs {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap
}

.bb-events-tabs a {
    position: relative;
    color: #322313;
    font-weight: 800;
    padding: 8px 2px
}

.bb-events-tabs a:first-child:before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 7px;
    vertical-align: -4px;
    background: url('../icons/busca_baile_icones/svg/14_seta_direita.svg') center/contain no-repeat;
    filter: brightness(0) saturate(100%) invert(56%) sepia(25%) saturate(855%) hue-rotate(3deg) brightness(94%) contrast(86%);
    transform: rotate(180deg)
}

.bb-events-tabs a.active {
    color: var(--bb-red)
}

.bb-events-tabs a.active:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--bb-red)
}

.bb-events-sort select {
    height: 42px;
    border: 0;
    background: transparent;
    color: #322313;
    font-weight: 800;
    min-width: 178px
}

.bb-events-count {
    color: var(--bb-muted);
    font-weight: 800;
    margin-bottom: 14px
}

.bb-events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px
}

.bb-events-card {
    position: relative;
    background: #fffdfa;
    border: 1px solid var(--bb-line);
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(50, 35, 19, .08)
}

.bb-events-card-image {
    position: relative;
    display: block;
    height: 190px;
    background: #eadfcf
}

.bb-events-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.bb-events-card-image span {
    position: absolute;
    left: 14px;
    top: 12px;
    background: var(--bb-green);
    color: #fff;
    border-radius: 5px;
    padding: 5px 9px;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase
}

.bb-events-card-body {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    padding: 15px 16px 8px
}

.bb-events-card-date {
    text-align: center;
    color: var(--bb-green);
    border-right: 1px solid var(--bb-line);
    padding-right: 12px
}

.bb-events-card-date strong {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    line-height: .95
}

.bb-events-card-date small {
    display: block;
    font-weight: 900
}

.bb-events-card h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.18rem;
    line-height: 1.15;
    margin: 0 0 7px;
    color: #1f170e
}

.bb-events-card h2 a {
    color: inherit
}

.bb-events-card p {
    margin: 0;
    color: #6d6258;
    font-size: .9rem;
    line-height: 1.35
}

.bb-events-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 16px 14px;
    color: #6d6258;
    border-top: 1px solid #f0e2cb
}

.bb-events-card-foot span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .86rem
}

.bb-events-card-foot a .icon {
    width: 22px;
    height: 22px
}

.bb-events-price {
    position: absolute;
    right: 12px;
    top: 166px;
    background: #f5e9d4;
    color: #805a17;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: .78rem;
    font-weight: 900;
    box-shadow: 0 6px 14px rgba(50, 35, 19, .12)
}

.bb-events-empty {
    margin: 0 0 34px
}

.bb-events-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 34px 0
}

.bb-events-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    background: #fffdfa;
    color: #322313;
    font-weight: 800
}

.bb-events-pagination a.active {
    background: var(--bb-red);
    color: #fff;
    border-color: var(--bb-red)
}

.bb-events-newsletter {
    margin-top: 46px;
    background: linear-gradient(100deg, #7d1016, #a81720 62%, #b38d45);
    color: #fff
}

.bb-events-newsletter .wrap {
    display: grid;
    grid-template-columns: 1fr minmax(320px, 520px);
    align-items: center;
    gap: 34px;
    padding: 40px 0
}

.bb-events-newsletter h2 {
    margin: 0 0 10px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem
}

.bb-events-newsletter p {
    margin: 0;
    color: #fff4e6
}

.bb-events-newsletter form {
    display: grid;
    grid-template-columns: 1fr 130px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--bb-gold)
}

.bb-events-newsletter input {
    border: 0;
    border-radius: 0;
    padding: 0 18px
}

.bb-events-newsletter button {
    border-radius: 0;
    background: var(--bb-gold);
    color: #fff;
    box-shadow: none
}

@media (max-width:1120px) {
    .bb-events-search {
        grid-template-columns: 1fr 1fr
    }

    .bb-events-search>button {
        grid-column: 1/-1
    }

    .bb-events-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width:860px) {
    .bb-events-hero {
        min-height: 280px
    }

    .bb-events-search {
        grid-template-columns: 1fr
    }

    .bb-events-search>button {
        grid-column: auto
    }

    .bb-events-tools {
        display: block
    }

    .bb-events-tabs {
        gap: 12px;
        margin-bottom: 12px
    }

    .bb-events-sort select {
        width: 100%;
        border: 1px solid var(--bb-line);
        background: #fffdfa;
        border-radius: 8px;
        padding: 0 12px
    }

    .bb-events-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .bb-events-newsletter .wrap {
        grid-template-columns: 1fr
    }
}

@media (max-width:560px) {
    .bb-events-hero-inner {
        padding: 42px 0 72px
    }

    .bb-events-hero h1 {
        font-size: 3rem
    }

    .bb-events-search-wrap {
        margin-top: -28px
    }

    .bb-events-grid {
        grid-template-columns: 1fr
    }

    .bb-events-newsletter form {
        grid-template-columns: 1fr
    }

    .bb-events-newsletter button {
        height: 46px
    }

    .bb-events-card-image {
        height: 180px
    }
}

.bb-footer {
    background: #0B2C18 !important;
    color: #fff;
    border-top: 0;
    margin-top: 40px;
    padding: 36px 0 18px
}

.bb-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 42px
}

.bb-footer a {
    display: block;
    color: #fff;
    margin: 7px 0
}

.bb-footer strong {
    display: block;
    color: #fff;
    margin-bottom: 12px
}

.bb-footer-brand .footer-logo {
    width: 230px !important;
    max-width: 100%;
    height: auto !important;
    display: block;
    filter: none !important;
    background: transparent !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important
}

.bb-socials {
    display: flex;
    gap: 10px;
    margin-top: 14px
}

.bb-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--bb-gold);
    border-radius: 50%;
    color: var(--bb-gold);
    margin: 0
}

.bb-newsletter p {
    color: #e8dcc9
}

.bb-newsletter form {
    display: grid;
    grid-template-columns: 1fr auto;
    background: #fff;
    border: 1px solid var(--bb-gold);
    border-radius: 10px;
    overflow: hidden
}

.bb-newsletter input {
    border: 0;
    border-radius: 0
}

.bb-newsletter button {
    border-radius: 0;
    box-shadow: none
}

.bb-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    margin-top: 28px;
    padding-top: 16px;
    color: #ead8b5;
    font-size: .9rem
}

@media (max-width:1080px) {
    .bb-footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:760px) {
    .bb-footer-grid {
        grid-template-columns: 1fr
    }

    .bb-footer-bottom {
        display: block
    }

    .bb-newsletter form {
        grid-template-columns: 1fr
    }

    .bb-newsletter button {
        width: 100%
    }
}

.bb-site-footer {
    position: relative;
    margin-top: 54px;
    background: #0B2C18;
    color: #fff;
    overflow: hidden
}

.bb-site-footer:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 10%, rgba(179, 141, 69, .18), transparent 34%), linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 42%);
    pointer-events: none
}

.bb-site-footer-top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 1.28fr) .72fr .72fr minmax(280px, 1.08fr);
    gap: 42px;
    align-items: start;
    padding: 46px 0 34px
}

.bb-site-footer-brand img {
    display: block;
    width: min(100%, 360px);
    height: auto;
    filter: none !important;
    background: transparent !important;
    mix-blend-mode: normal !important
}

.bb-site-footer-brand p {
    max-width: 390px;
    margin: 18px 0 0;
    color: #e9ddc7;
    line-height: 1.55
}

.bb-site-socials {
    display: flex;
    gap: 10px;
    margin-top: 18px
}

.bb-site-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(179, 141, 69, .72);
    border-radius: 50%;
    background: rgba(255, 255, 255, .035);
    transition: transform .18s ease, border-color .18s ease, background .18s ease
}

.bb-site-socials a:hover {
    transform: translateY(-2px);
    border-color: #e4bc64;
    background: rgba(179, 141, 69, .16)
}

.bb-site-footer-links strong,
.bb-site-newsletter span {
    display: block;
    margin: 0 0 14px;
    color: #e4bc64;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em
}

.bb-site-footer-links a {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 9px 0;
    color: #fff4e6;
    font-weight: 700;
    transition: color .18s ease, transform .18s ease
}

.bb-site-footer-links a:hover {
    color: #e4bc64;
    transform: translateX(3px)
}

.bb-site-newsletter {
    border: 1px solid rgba(179, 141, 69, .35);
    border-radius: 12px;
    background: rgba(255, 255, 255, .055);
    padding: 22px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .14)
}

.bb-site-newsletter strong {
    display: block;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.45rem;
    line-height: 1.12;
    margin: 0 0 9px
}

.bb-site-newsletter p {
    margin: 0 0 18px;
    color: #e9ddc7;
    line-height: 1.45
}

.bb-site-newsletter form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0;
    background: #fff;
    border: 1px solid #e4bc64;
    border-radius: 9px;
    overflow: hidden
}

.bb-site-newsletter input {
    min-width: 0;
    height: 48px;
    border: 0;
    border-radius: 0;
    padding: 0 15px;
    color: #322313;
    background: #fff
}

.bb-site-newsletter input:focus {
    outline: 0;
    box-shadow: inset 0 0 0 2px rgba(179, 141, 69, .24)
}

.bb-site-newsletter button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 48px;
    border: 0;
    border-radius: 0;
    background: #8B151E;
    color: #fff;
    font-weight: 900;
    padding: 0 18px;
    box-shadow: none;
    white-space: nowrap
}

.bb-site-newsletter button:hover {
    background: #a01924
}

.bb-site-newsletter button .icon {
    filter: brightness(0) invert(1);
    margin: 0;
    width: 18px;
    height: 18px
}

.bb-site-footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    padding: 18px 0;
    color: #ead8b5;
    font-size: .9rem
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important
}

@media (max-width:1080px) {
    .bb-site-footer-top {
        grid-template-columns: 1.2fr 1fr;
        gap: 34px
    }

    .bb-site-newsletter {
        grid-column: 1/-1
    }
}

@media (max-width:720px) {
    .bb-site-footer {
        margin-top: 40px
    }

    .bb-site-footer-top {
        grid-template-columns: 1fr;
        padding: 36px 0 28px
    }

    .bb-site-footer-brand img {
        width: min(100%, 300px)
    }

    .bb-site-newsletter form {
        grid-template-columns: 1fr
    }

    .bb-site-newsletter button {
        width: 100%
    }

    .bb-site-footer-bottom {
        display: block
    }

    .bb-site-footer-bottom span {
        display: block;
        margin: 5px 0
    }
}

.bb-site-footer {
    background: #02260E !important
}

.bb-site-footer-brand p {
    display: none !important
}

.bb-site-newsletter form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    background: #fff !important;
    border: 1px solid #e4bc64 !important;
    border-radius: 9px !important;
    overflow: hidden !important
}

.bb-site-newsletter input[type="email"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 50px !important;
    min-width: 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    background: #fff !important;
    color: #322313 !important;
    border-radius: 0 !important
}

.bb-site-newsletter input[type="email"]::placeholder {
    color: #83766a !important
}

.bb-site-newsletter button {
    height: 50px !important
}

.bb-site-newsletter .bb-site-socials {
    margin-top: 16px
}

.bb-site-socials .social-icon {
    filter: brightness(0) invert(1) !important
}

.bb-site-socials a {
    border-color: rgba(255, 255, 255, .55) !important;
    background: rgba(255, 255, 255, .08) !important
}

.bb-site-socials a:hover {
    border-color: #fff !important;
    background: rgba(255, 255, 255, .16) !important
}

@media (max-width:720px) {
    .bb-site-newsletter form {
        grid-template-columns: 1fr !important
    }

    .bb-site-newsletter button {
        width: 100% !important
    }
}

.favorite-event-link {
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.favorite-event-link.is-favorite .icon {
    filter: brightness(0) saturate(100%) invert(16%) sepia(60%) saturate(2314%) hue-rotate(337deg) brightness(90%) contrast(95%)
}

.favorite-login-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 16, 10, .58);
    padding: 18px
}

.favorite-login-modal[hidden] {
    display: none
}

.favorite-login-dialog {
    position: relative;
    width: min(100%, 420px);
    background: #fffdfa;
    border: 1px solid var(--bb-line);
    border-top: 5px solid var(--bb-gold);
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
    padding: 26px;
    color: #322313
}

.favorite-login-dialog strong {
    display: block;
    color: var(--bb-red);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.55rem;
    margin-bottom: 8px
}

.favorite-login-dialog p {
    color: var(--bb-muted);
    line-height: 1.45;
    margin: 0 0 18px
}

.favorite-login-dialog div {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.favorite-login-action {
    box-shadow: none
}

.favorite-login-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    color: #322313;
    font-size: 1.55rem;
    box-shadow: none;
    padding: 3px 8px
}

@media (max-width:460px) {
    .favorite-login-dialog div .btn {
        width: 100%
    }
}

.bb-ad-banner {
    background-position: 50% 15% !important;
    background-size: auto !important;
}

.bb-events-date {
    grid-template-columns: 28px minmax(0, 1fr) !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    align-content: center !important;
}

.bb-events-date .bb-field-icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: center !important;
    margin: 0 !important;
}

.bb-events-date .bb-date-trigger {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bb-events-date .bb-date-trigger span {
    display: block !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.favorite-event-link {
    position: relative;
    width: 30px;
    height: 30px;
    color: var(--bb-red);
}

.favorite-event-link .icon {
    position: relative;
    z-index: 2;
    width: 26px !important;
    height: 26px !important;
    filter: brightness(0) saturate(100%) invert(16%) sepia(60%) saturate(2314%) hue-rotate(337deg) brightness(90%) contrast(95%) !important;
}

.favorite-event-link.is-favorite::before {
    content: "♥";
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bb-red);
    font-size: 25px;
    line-height: 1;
    transform: translateY(1px);
}

.favorite-event-link.is-favorite::before {
    content: "\2665";
}

.favorite-event-link.is-favorite .icon {
    opacity: 0;
}

.event-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.event-title-row h1 {
    margin-bottom: 0;
}

.event-title-row .favorite-event-link {
    flex: 0 0 auto;
    margin-top: 5px;
}

.client-favorites-section {
    margin: 18px 0 26px;
}

.client-favorites-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.client-favorite-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    overflow: hidden;
    background: #fffdfa;
    border: 1px solid var(--bb-line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(50, 35, 19, .08);
}

.client-favorite-image {
    display: block;
    min-height: 150px;
    background: #eadfcf;
}

.client-favorite-image img {
    width: 100%;
    height: 100%;
    min-height: 150px;
    object-fit: cover;
    display: block;
}

.client-favorite-body {
    display: grid;
    align-content: start;
    gap: 7px;
    padding: 13px;
}

.client-favorite-body small {
    color: var(--bb-red);
    font-weight: 900;
}

.client-favorite-body h3 {
    margin: 0;
    color: var(--bb-green);
    font-size: 1.05rem;
    line-height: 1.15;
}

.client-favorite-body h3 a {
    color: inherit;
}

.client-favorite-body p {
    margin: 0;
    color: var(--bb-muted);
    font-size: .88rem;
    line-height: 1.35;
}

.client-favorite-body div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 3px;
}

.client-favorite-body span {
    color: #8b5d18;
    background: #f5e9d4;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: .78rem;
    font-weight: 900;
}

@media (max-width:760px) {
    .client-favorites-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:520px) {
    .client-favorite-card {
        grid-template-columns: 1fr;
    }
}
