.main-content.co-main {
    min-height: auto;
    background: var(--green-25);
    font-family: var(--font-body);
    color: var(--ink-900);
}

.co-shell {
    width: 100%;
    box-sizing: border-box;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 24px 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.co-head {
    display: grid;
    gap: 10px;
    max-width: 720px;
}

.co-head h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 32px;
    line-height: 1.15;
}

.co-head p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--slate-700);
}

.co-tabs {
    display: flex;
    gap: 4px;
    width: max-content;
    max-width: 100%;
    padding: 4px;
    border-radius: 14px;
    background: var(--green-150);
    overflow-x: auto;
}

.co-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 11px;
    font-weight: 700;
    font-size: 14px;
    color: var(--slate-700);
    text-decoration: none;
    white-space: nowrap;
}

.co-tab span {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--white);
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.co-tab.is-active {
    background: var(--white);
    color: var(--ink-900);
    box-shadow: 0 1px 2px rgba(19, 32, 51, 0.08);
}

.co-tab.is-active span {
    background: var(--green-100);
    color: var(--green-800);
}

.co-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.co-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--green-150);
    background: var(--white);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(19, 32, 51, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.co-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(19, 32, 51, 0.08);
}

.co-card-photo {
    position: relative;
    display: block;
    height: 180px;
    background: var(--green-100);
}

.co-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.co-card-photo .co-chip {
    position: absolute;
    top: 12px;
    left: 12px;
}

.co-card-body {
    display: grid;
    gap: 6px;
    align-content: start;
    padding: 16px 18px 18px;
}

.co-card-body strong {
    font-family: var(--font-heading);
    font-size: 18px;
}

.co-card-venue,
.co-card-meta {
    font-size: 14px;
    color: var(--slate-700);
}

.co-card-price {
    margin-top: 4px;
    font-weight: 800;
    color: var(--green-800);
}

.co-chip {
    display: inline-flex;
    align-items: center;
    width: max-content;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    background: #e7f1fa;
    color: var(--blue-600);
}

.co-chip.is-camp {
    background: #f1ebf9;
    color: #5f3a8f;
}

.co-gallery-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    padding: 16px;
    box-sizing: border-box;
    background: linear-gradient(135deg, var(--green-600), var(--green-800));
    color: var(--white);
}

.co-gallery-placeholder.is-camp {
    background: linear-gradient(135deg, #5f3a8f, #3e2463);
}

.co-gallery-placeholder span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.co-gallery-placeholder strong {
    font-family: var(--font-heading);
    font-size: 22px;
}

.co-empty {
    margin: 0;
    padding: 28px;
    border-radius: 18px;
    border: 1px dashed var(--green-350);
    background: var(--white);
    text-align: center;
    color: var(--slate-700);
}

.co-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: var(--slate-600);
}

.co-breadcrumbs a {
    color: var(--green-800);
    font-weight: 700;
    text-decoration: none;
}

.co-offer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    grid-template-areas:
        "cover aside"
        "head aside"
        "terms aside"
        "details aside"
        "photos aside";
    gap: 0 32px;
    align-items: start;
}

.co-offer-layout > * {
    margin-bottom: 24px;
}

.co-offer-cover {
    grid-area: cover;
}

.co-cover-button {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    background: var(--green-100);
    cursor: zoom-in;
}

.co-cover-button img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

.co-offer-cover > .co-gallery-placeholder {
    aspect-ratio: 3 / 1;
    height: auto;
    padding: 24px;
    border-radius: 20px;
}

.co-offer-cover > .co-gallery-placeholder strong {
    font-size: 28px;
    line-height: 1.2;
}

.co-cover-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(19, 32, 51, 0.72);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
}

.co-cover-button:hover .co-cover-badge,
.co-cover-button:focus-visible .co-cover-badge {
    background: var(--green-800);
}

.co-offer-head {
    grid-area: head;
    display: grid;
    gap: 12px;
}

.co-offer-head h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 34px;
    line-height: 1.15;
}

.co-organizer-line {
    margin: 0;
    font-size: 16px;
    color: var(--slate-700);
}

.co-organizer-line a {
    font-weight: 800;
    color: var(--green-800);
    text-decoration: none;
}

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

.co-facts div {
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--green-150);
}

.co-facts dt {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--slate-600);
}

.co-facts dd {
    margin: 4px 0 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--ink-900);
}

.co-offer-aside {
    grid-area: aside;
    position: sticky;
    top: 20px;
    display: grid;
    gap: 16px;
}

.co-booking-card,
.co-organizer-card,
.co-panel {
    padding: 22px 24px;
    border-radius: 22px;
    border: 1px solid var(--green-150);
    background: var(--white);
}

.co-booking-card,
.co-organizer-card {
    box-shadow: 0 12px 32px rgba(19, 32, 51, 0.06);
}

.co-booking-card {
    display: grid;
    gap: 12px;
}

.co-booking-price {
    display: grid;
    gap: 2px;
}

.co-booking-price strong {
    font-family: var(--font-heading);
    font-size: 30px;
    color: var(--green-800);
}

.co-booking-price span {
    font-size: 14px;
    color: var(--slate-600);
}

.co-panel h2 {
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 20px;
}

.co-count {
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--green-100);
    color: var(--green-800);
    font-family: var(--font-body);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.co-terms {
    display: grid;
    gap: 10px;
}

.co-term {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "info price"
        "button button";
    align-items: center;
    gap: 10px 12px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--green-150);
    background: var(--green-25);
}

.co-term.has-registrations {
    grid-template-areas:
        "info price"
        "registration registration"
        "button button";
}

.co-term-registration {
    grid-area: registration;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--green-100);
    color: var(--green-800);
    font-size: 14px;
}

.co-term-registration strong {
    color: var(--green-900);
}

.co-term-info {
    grid-area: info;
    display: grid;
    gap: 4px;
}

.co-term-info strong {
    font-size: 16px;
}

.co-term-price {
    grid-area: price;
    align-self: start;
    font-weight: 800;
}

.co-term-meta {
    font-size: 13px;
    color: var(--slate-700);
}

.co-term-seats {
    font-weight: 700;
    color: var(--green-800);
}

.co-term-seats.is-tight {
    color: var(--amber-800);
}

.co-term .co-btn {
    grid-area: button;
}

.co-all-terms .co-term {
    grid-template-columns: minmax(0, 1fr) auto 140px;
    grid-template-areas: "info price button";
}

.co-all-terms .co-term.has-registrations {
    grid-template-areas:
        "info price button"
        "registration registration registration";
}

.co-all-terms .co-term-price {
    align-self: center;
}

.co-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 12px;
    background: var(--green-600);
    color: var(--white);
    font-weight: 800;
    text-decoration: none;
}

.co-btn:hover {
    background: var(--green-800);
    color: var(--white);
}

.co-btn.is-disabled {
    background: var(--slate-100);
    color: var(--slate-600);
}

.co-more-link {
    justify-self: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--green-800);
    text-decoration: none;
}

.co-note {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--slate-600);
}

.co-organizer-card {
    display: grid;
    gap: 4px;
    font-size: 14px;
    color: var(--slate-700);
}

.co-organizer-card strong {
    font-size: 16px;
    color: var(--ink-900);
}

.co-organizer-card a {
    margin-top: 6px;
    font-weight: 800;
    color: var(--green-800);
    text-decoration: none;
}

.co-eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-600);
}

.co-all-terms {
    grid-area: terms;
    scroll-margin-top: 24px;
}

.co-offer-details {
    grid-area: details;
    padding-top: 4px;
    padding-bottom: 4px;
}

.co-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--green-150);
}

.co-section:last-child {
    border-bottom: 0;
}

.co-section h2 {
    margin: 0 0 12px;
}

.co-section p {
    margin: 0;
    line-height: 1.65;
    color: var(--ink-700);
}

.co-section .co-lead {
    font-size: 17px;
}

.co-list,
.co-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.co-list li,
.co-checklist li {
    position: relative;
    padding-left: 26px;
    line-height: 1.55;
    color: var(--ink-700);
}

.co-list li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-600);
}

.co-checklist {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.co-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-800);
    font-size: 12px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
}

.co-section.co-section-note {
    margin: 12px 0 20px;
    padding: 16px 18px;
    border: 1px solid #f0c36b;
    border-radius: 14px;
    background: #fff8eb;
}

.co-section-note h2 {
    font-size: 16px;
}

.co-photos {
    grid-area: photos;
}

.co-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.co-photo {
    padding: 0;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--green-100);
    cursor: zoom-in;
}

.co-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.co-photo:hover img,
.co-photo:focus-visible img {
    transform: scale(1.04);
}

@media (max-width: 900px) {
    .co-offer-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "cover"
            "head"
            "aside"
            "terms"
            "details"
            "photos";
    }

    .co-offer-layout > * {
        margin-bottom: 20px;
    }

    .co-offer-aside {
        position: static;
    }
}

@media (max-width: 640px) {
    .co-shell {
        padding: 20px 16px 40px;
    }

    .co-head h1,
    .co-offer-head h1 {
        font-size: 26px;
    }

    .co-booking-card,
    .co-organizer-card,
    .co-panel {
        padding-left: 18px;
        padding-right: 18px;
    }

    .co-all-terms .co-term {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "info price"
            "button button";
    }

    .co-all-terms .co-term.has-registrations {
        grid-template-areas:
            "info price"
            "registration registration"
            "button button";
    }

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

.co-venue-card h2 {
    margin: 0 0 14px;
    font-family: var(--font-heading);
    font-size: 20px;
}

.co-venue-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.co-venue-offer {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--green-150);
    background: var(--green-25);
    color: inherit;
    text-decoration: none;
}

.co-venue-offer:hover {
    border-color: var(--green-400);
}

.co-venue-offer > img,
.co-venue-offer > .co-gallery-placeholder {
    width: 96px;
    height: 96px;
    min-height: 0;
    padding: 8px;
    border-radius: 12px;
    object-fit: cover;
}

.co-venue-offer-body {
    display: grid;
    gap: 4px;
    min-width: 0;
    font-size: 13px;
    color: var(--slate-700);
}

.co-venue-offer-body strong {
    font-size: 15px;
    color: var(--ink-900);
}

.co-modal-scope {
    display: contents;
}

.co-booking-card .booking-status {
    margin: 0;
}
