/* One Game Package — list + detail */
.ogp-page {
    --navy: #2f3759;
    --orange: #e8640a;
    --orange-light: #f57c2a;
    --white: #ffffff;
    --off-white: #f7f8fa;
    --gray: #8a8a9a;
    --light-gray: #e8e9ef;
    --text: #1a1a2e;
    --font-head: "Open Sans", "OpenSans", Arial, sans-serif;
    --font-body: "Open Sans", "OpenSans", Arial, sans-serif;

    font-family: var(--font-body);
    color: var(--text);
    background: var(--off-white);
    padding-bottom: 48px;
}

.ogp-list-title,
.ogp-hero-title,
.ogp-card-title,
.ogp-card-from,
.ogp-info-value,
.ogp-match-date,
.ogp-match-teams,
.ogp-itin-title,
.ogp-hotel-name,
.ogp-ticket-option-label,
.ogp-widget-total-price {
    font-family: var(--font-head);
}

.ogp-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Filter bar */
.ogp-filter-bar {
    background: linear-gradient(90deg, var(--navy) 0%, #252b45 100%);
    color: var(--white);
    padding: 0 0 22px;
}

/* Фон-картинка: класс ogp-filter-bar--bg на <section> (убрать класс или $ogpFilterBarBackground = false — выкл) */
.ogp-filter-bar.ogp-filter-bar--bg {
    position: relative;
    overflow: hidden;
    background: var(--navy);
}

.ogp-filter-bar.ogp-filter-bar--bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("/img-webp/2026-world-cup/usa.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ogp-filter-bar.ogp-filter-bar--bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(47, 55, 89, 0.5) 0%,
        rgba(37, 43, 69, 0.4) 55%,
        rgba(37, 43, 69, 0.5) 100%
    );
}

.ogp-filter-bar.ogp-filter-bar--bg .ogp-inner.ogp-filter-inner {
    position: relative;
    z-index: 2;
}

.ogp-filter-bar.ogp-filter-bar--bg .ogp-filter-tagline {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 0, 0, 0.35);
}

.ogp-filter-bar.ogp-filter-bar--bg .ogp-filter-group label {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}

.ogp-filter-bar.ogp-filter-bar--bg .ogp-filter-group select {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.85);
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.35);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1.5L5 5l4-3.5' fill='none' stroke='%232f3759' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ogp-filter-bar.ogp-filter-bar--bg .ogp-filter-group select:focus {
    border-color: var(--orange);
    background-color: var(--white);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.32),
        0 0 0 2px rgba(232, 100, 10, 0.35);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1.5L5 5l4-3.5' fill='none' stroke='%232f3759' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ogp-filter-bar.ogp-filter-bar--bg .ogp-filter-btn {
    box-shadow:
        0 3px 14px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

.ogp-filter-bar.ogp-filter-bar--bg .ogp-filter-btn:hover {
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.ogp-filter-bar .ogp-inner.ogp-filter-inner {
    max-width: 1180px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* Список: слоган + фильтры (перебивает .ogp-inner { padding: 0 20px }) */
.ogp-page .ogp-filter-bar:not(.ogp-filter-bar--compact) .ogp-inner.ogp-filter-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 32px;
    padding-bottom: 0;
}

.ogp-page .ogp-filter-bar:not(.ogp-filter-bar--compact) .ogp-filter-tagline {
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: left;
    font-family: var(--font-head);
    font-size: clamp(18px, 3.2vw, 26px);
    font-weight: 600;
    line-height: 1.25;
    color: var(--white);
    letter-spacing: 0.01em;
}

.ogp-page .ogp-filter-bar:not(.ogp-filter-bar--compact) .ogp-filter-form {
    margin: 0;
    padding: 30px 0 0;
    width: 100%;
}

.ogp-filter-bar--compact {
    padding: 6px 0 14px;
}

.ogp-filter-bar--compact .ogp-filter-inner {
    justify-content: center;
    align-items: center;
}

.ogp-filter-inner {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    box-sizing: border-box;
}

/* Grid: селекты + кнопка рядом (без колонки 1fr между ними и краем) */
.ogp-filter-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 192px)) auto;
    justify-content: start;
    gap: 8px;
    align-items: end;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.ogp-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 0 0 192px;
    width: 192px;
    max-width: 192px;
    min-width: 0;
}

.ogp-filter-group label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-head);
    white-space: nowrap;
}

/* Селекты на синем фоне полосы (как в макете) */
.ogp-filter-group select {
    height: 38px;
    border-radius: 4px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0 6px;
    font-size: 12px;
    line-height: 1.2;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    width: 100%;
    max-width: 100%;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    padding-right: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1.5L5 5l4-3.5' fill='none' stroke='%23ffffff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 7px center;
    background-size: 10px 6px;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.12);
}

.ogp-filter-group select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.65);
    background-color: rgba(255, 255, 255, 0.18);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1.5L5 5l4-3.5' fill='none' stroke='%23ffffff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 7px center;
    background-size: 10px 6px;
    background-repeat: no-repeat;
}

.ogp-filter-group select option {
    color: var(--text);
    background: var(--white);
}

.ogp-filter-btn {
    grid-column: 5;
    justify-self: start;
    width: 180px;
    max-width: 180px;
    min-width: 180px;
    height: 38px;
    padding: 0 12px;
    border: none;
    border-radius: 4px;
    background: var(--orange);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
}

.ogp-filter-btn:hover {
    background: var(--orange-light);
}

@media (max-width: 767px) {
    .ogp-filter-bar {
        padding-bottom: 16px;
    }

    .ogp-page .ogp-filter-bar:not(.ogp-filter-bar--compact) .ogp-inner.ogp-filter-inner {
        gap: 4px;
        padding-top: 24px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .ogp-filter-bar .ogp-inner.ogp-filter-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ogp-filter-inner {
        align-items: stretch;
        overflow: visible;
        padding-bottom: 0;
    }

    .ogp-filter-form {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .ogp-filter-group {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
    }

    .ogp-filter-btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: 0;
        grid-column: unset;
        justify-self: stretch;
    }
}

.ogp-filter-bar .ogp-back-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
}

.ogp-filter-bar .ogp-back-link:hover,
.ogp-filter-bar .ogp-back-link:focus,
.ogp-filter-bar .ogp-back-link:active,
.ogp-filter-bar .ogp-back-link:visited {
    color: var(--white);
    text-decoration: none;
}

/* List */
.ogp-list-section {
    padding: 32px 0 48px;
}

.ogp-list-title {
    font-size: 28px;
    margin: 0 0 8px;
    color: var(--navy);
}

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

.ogp-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ogp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.ogp-card--no-image .ogp-card-body {
    padding: 18px 20px 20px;
}

.ogp-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ogp-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    min-width: 0;
}

.ogp-card-match-badge {
    flex: 0 0 auto;
    font-family: var(--font-head);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gray);
}

.ogp-card-stage {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--gray);
}

.ogp-card-date {
    flex: 0 1 auto;
    margin-left: auto;
    text-align: right;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--gray);
}

.ogp-card-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: var(--light-gray);
}

.ogp-card-title {
    font-size: 18px;
    margin: 0 0 6px;
    color: var(--navy);
    line-height: 1.25;
}

.ogp-card-sub {
    margin: 0 0 6px;
    font-size: 13px;
    color: var(--gray);
}

.ogp-card-location {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--gray);
    flex: 1;
}

.ogp-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--light-gray);
    padding-top: 12px;
}

.ogp-card-from {
    font-weight: 800;
    font-size: 17px;
    color: var(--navy);
}

.ogp-card-cta {
    font-size: 13px;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
}

.ogp-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

/* Detail hero */
.ogp-page-detail .ogp-hero {
    background: linear-gradient(105deg, #3d4a73 0%, var(--navy) 45%, var(--orange) 160%);
    color: var(--white);
    padding: 36px 0 40px;
}

.ogp-sale-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ogp-hero-title {
    margin: 0 0 10px;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.15;
}

.ogp-hero-sub {
    font-size: 15px;
    opacity: 0.92;
}

/* Info strip */
.ogp-info-strip {
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    padding: 16px 0;
}

.ogp-info-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.ogp-info-item {
    min-width: 100px;
}

.ogp-info-item--wide {
    flex: 1 1 200px;
    min-width: 180px;
}

.ogp-info-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray);
    margin-bottom: 4px;
}

.ogp-info-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
}

.ogp-info-price {
    margin-left: auto;
    text-align: right;
}

.ogp-price-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--orange);
}

.ogp-price-pp {
    font-size: 13px;
    color: var(--gray);
}

/* Main layout */
.ogp-main-wrap {
    padding: 28px 0 48px;
}

.ogp-main-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

.ogp-content {
    background: var(--white);
    border-radius: 10px;
    padding: 28px 26px 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Деталь: без отдельной «рамки» у основной колонки — плоский фон как у страницы */
.ogp-page-detail .ogp-main-wrap {
    background: var(--white);
}

.ogp-page-detail .ogp-content {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

@media (min-width: 992px) {
    .ogp-page-detail .ogp-content {
        padding-left: 0;
    }
}

.ogp-section-header {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
    margin: 28px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
    text-transform: none;
    letter-spacing: normal;
}

.ogp-section-header:first-child {
    margin-top: 0;
}

.ogp-description {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
}

.ogp-about-text p {
    margin-top: 0;
}

.ogp-match-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    background: var(--off-white);
    border-radius: 8px;
    padding: 16px 18px;
    border: 1px solid var(--light-gray);
}

.ogp-match-date {
    font-weight: 800;
    font-size: 20px;
    color: var(--navy);
    min-width: 52px;
}

.ogp-match-teams {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}

.ogp-match-meta {
    flex: 1 1 200px;
    font-size: 14px;
    color: var(--gray);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
}

.ogp-itinerary {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ogp-itin-item {
    display: flex;
    gap: 0;
    align-items: flex-start;
}

.ogp-itin-body {
    flex: 1;
    min-width: 0;
}

.ogp-itin-date {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--orange);
    margin-bottom: 4px;
}

.ogp-itin-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.ogp-itin-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--gray);
}

.ogp-hotel-card {
    display: block;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 16px;
    background: var(--off-white);
}

.ogp-hotel-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.ogp-hotel-stars {
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.ogp-hotel-note {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray);
}

.ogp-inclusions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ogp-inclusions li {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    color: var(--text);
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 12px 14px;
    box-sizing: border-box;
}

/* Sidebar widget */
.ogp-sidebar {
    position: sticky;
    top: 16px;
}

.ogp-widget {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.ogp-widget-header {
    background: var(--navy);
    color: var(--white);
    padding: 14px 18px;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ogp-widget-body {
    padding: 18px;
}

.ogp-widget-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray);
    margin-bottom: 6px;
    margin-top: 12px;
}

.ogp-widget-body > .ogp-widget-label:first-child {
    margin-top: 0;
}

.ogp-widget-select {
    width: 100%;
    height: 40px;
    border-radius: 4px;
    border: 1px solid var(--light-gray);
    padding: 0 10px;
    font-size: 14px;
}

.ogp-widget-divider {
    height: 1px;
    background: var(--light-gray);
    margin: 16px 0;
}

.ogp-ticket-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ogp-ticket-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.ogp-ticket-option:hover {
    border-color: var(--orange);
}

.ogp-ticket-option.is-selected {
    border-color: var(--orange);
    background: #fff8f3;
}

.ogp-ticket-option-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ogp-ticket-option-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ogp-ticket-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--gray);
    flex-shrink: 0;
}

.ogp-ticket-option.is-selected .ogp-ticket-radio {
    border-color: var(--orange);
    box-shadow: inset 0 0 0 4px var(--orange);
}

.ogp-ticket-option-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.ogp-ticket-option-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--orange);
    white-space: nowrap;
}

.ogp-widget-total-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray);
    margin-bottom: 4px;
}

.ogp-widget-total-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}

.ogp-widget-inquire {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 4px;
    background: var(--orange);
    color: var(--white);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.ogp-widget-inquire:hover {
    background: var(--orange-light);
}

.ogp-widget-support {
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
}

.ogp-widget-support a {
    color: var(--navy);
    font-weight: 700;
}

@media (max-width: 991px) {
    .ogp-main-inner {
        grid-template-columns: 1fr;
    }

    .ogp-sidebar {
        position: static;
    }

    .ogp-info-price {
        width: 100%;
        text-align: left;
        margin-left: 0;
    }
}
