:root {
    --site-deep: #243e8b;
    --site-mid: #243e8b;
    --site-accent: #f0c745;
    --site-warm: #ec9a39;
    --site-soft: #f7f9ff;
    --site-text: #1a2233;
    --site-line: rgba(36, 62, 139, 0.12);
}

body {
    background:
        linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
        url('https://www.butterflyworld.tr/assets/bwaimg/slider/s2.jpg') center/cover fixed no-repeat;
    color: var(--site-text);
    display: flex;
    font-family: "Manrope", sans-serif;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1 0 auto;
}

.site-header {
    background: #ffffff;
    border-bottom: 4px solid #f0c745;
    box-shadow: 0 18px 42px rgba(36, 62, 139, 0.14);
}

.site-header__inner {
    align-items: center;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr auto 1fr;
    padding: 0.9rem 0;
}

.site-brand {
    display: inline-flex;
    justify-self: start;
}

.site-brand img {
    display: block;
    height: 90px;
    max-width: 100%;
    object-fit: contain;
}

.site-nav {
    align-items: center;
    display: flex;
    gap: 1.35rem;
    grid-column: 2;
    justify-content: center;
}

.site-nav a {
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
}

.header-preferences {
    justify-self: end;
}

.header-selects {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.header-select {
    appearance: auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    color: var(--site-deep);
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 4em;
    padding: 0.35rem 0.5rem;
}

.site-footer {
    background: #ffffff;
    border-top: 4px solid #ec9a39;
    color: #000000;
    margin-top: 3rem;
    margin-top: auto;
}

.site-footer__inner {
    align-items: flex-start;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1.4fr 1fr 0.8fr;
    padding: 1.4rem 0;
}

.site-footer__column {
    min-width: 0;
}

.site-footer__brand {
    color: #f0c745;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-footer__tagline {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0.45rem 0 0;
    max-width: 30rem;
}

.site-footer__heading {
    color: var(--site-deep);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
}

.site-footer__copy {
    color: rgba(0, 0, 0, 0.72);
    font-size: 0.92rem;
    line-height: 1.55;
}

.site-footer__contact-list {
    display: grid;
    gap: 0.45rem;
    font-size: 0.92rem;
    line-height: 1.55;
}

.site-footer__contact-list a {
    color: var(--site-deep);
    text-decoration: none;
}

.site-footer__contact-list a:hover {
    text-decoration: underline;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 0.65rem;
}

.site-footer__legal-link {
    background: transparent;
    border: 0;
    color: rgba(0, 0, 0, 0.76);
    font-size: 0.92rem;
    padding: 0;
    text-decoration: underline;
}

.site-footer__legal-link:hover {
    color: var(--site-deep);
}

.hero-section {
    padding: 4.5rem 0 3rem;
}

.hero-section--minimal {
    min-height: calc(100vh - 94px);
}

.eyebrow {
    color: var(--site-mid);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-title {
    font-family: "Fraunces", serif;
    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 0.96;
    margin: 0.9rem 0 1rem;
}

.hero-copy {
    color: #556173;
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 38rem;
}

.hero-copy--center {
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-sales-card,
.site-panel,
.summary-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--site-line);
    border-radius: 28px;
    box-shadow: 0 26px 90px rgba(36, 62, 139, 0.08);
}

.btn-bw-primary {
    background: linear-gradient(135deg, var(--site-accent), var(--site-warm));
    border: none;
    color: #fff;
}

.cart-back-btn {
    font-size: 1rem;
    font-weight: 700;
    padding: 0.8rem 1.25rem;
}

.btn-bw-outline {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(36, 62, 139, 0.16);
    color: var(--site-deep);
}

.ticket-card .ticket-image {
    aspect-ratio: 16 / 9;
    background-position: center;
    background-size: cover;
    border-radius: 20px;
}

.ticket-card__description {
    color: #556173;
    font-size: 0.95rem;
    line-height: 1.65;
}

.price-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, 1fr);
}

.price-grid--compact {
    grid-template-columns: repeat(2, 1fr);
}

.price-grid div {
    background: var(--site-soft);
    border-radius: 18px;
    padding: 0.9rem;
}

.price-grid span,
.summary-card span {
    color: #5f7278;
    display: block;
    font-size: 0.85rem;
}

.ticket-stepper-list {
    display: grid;
    gap: 0.85rem;
}

.ticket-stepper {
    align-items: center;
    background: var(--site-soft);
    border: 1px solid rgba(36, 62, 139, 0.08);
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    padding: 0.95rem 1rem;
}

.ticket-stepper__meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ticket-stepper__label {
    font-weight: 700;
}

.ticket-stepper__price {
    color: #5f7278;
    font-size: 0.92rem;
}

.ticket-stepper__controls {
    align-items: center;
    display: flex;
    gap: 0.6rem;
}

.ticket-stepper__btn {
    background: #fff;
    border: 1px solid rgba(36, 62, 139, 0.14);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 800;
    height: 2.5rem;
    line-height: 1;
    width: 2.5rem;
}

.ticket-stepper__input {
    background: transparent;
    border: 0;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    width: 2rem;
}

.ticket-summary {
    align-items: center;
    background: rgba(36, 62, 139, 0.06);
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.1rem;
}

.ticket-summary__label {
    color: #5f7278;
    display: block;
    font-size: 0.82rem;
    margin-bottom: 0.15rem;
}

.summary-card {
    padding: 1.25rem;
}

.summary-card strong {
    display: block;
    font-size: 1.2rem;
    margin-top: 0.35rem;
}

.qr-card__preview,
.qr-card__modal-preview {
    align-items: center;
    background: rgba(36, 62, 139, 0.04);
    border: 1px solid rgba(36, 62, 139, 0.08);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.qr-card__preview img {
    display: block;
    height: auto;
    max-width: 100%;
    width: 220px;
}

.qr-card__modal-preview img {
    display: block;
    height: auto;
    max-width: 100%;
    width: 320px;
}

.local-modal {
    display: none;
}

.local-modal.is-open {
    display: block;
}

.local-modal__backdrop {
    background: rgba(23, 35, 63, 0.54);
    inset: 0;
    position: fixed;
    z-index: 1040;
}

.local-modal__dialog {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(36, 62, 139, 0.2);
    left: 50%;
    max-width: 56rem;
    padding: 2rem;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 2rem);
    z-index: 1041;
}

.local-modal__close {
    background: transparent;
    border: 0;
    font-size: 2rem;
    line-height: 1;
    position: absolute;
    right: 1rem;
    top: 0.8rem;
}

.terms-modal__content {
    color: #222;
    font-size: 0.95rem;
    line-height: 1.65;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.35rem;
}

.terms-modal__content h3 {
    color: #1d4d3f;
    font-size: 1.05rem;
    margin: 1.35rem 0 0.7rem;
}

.terms-modal__content p {
    margin: 0 0 0.9rem;
}

.terms-modal__content ul {
    margin: 0 0 1rem;
    padding-left: 1.15rem;
}

.terms-modal__content li {
    margin-bottom: 0.45rem;
}

.terms-modal__content a {
    color: #1d6f55;
    text-decoration: none;
}

.terms-modal__content a:hover {
    text-decoration: underline;
}

.terms-modal__highlight {
    background: #f1f8f4;
    border-left: 4px solid #2d7a61;
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
}

.terms-modal__table-wrap {
    margin: 0.9rem 0 1.15rem;
    overflow-x: auto;
}

.terms-modal__table {
    border-collapse: collapse;
    width: 100%;
}

.terms-modal__table th,
.terms-modal__table td {
    border: 1px solid #dcdcdc;
    padding: 0.8rem;
    text-align: left;
    vertical-align: top;
}

.terms-modal__table th {
    background: #f3f6f4;
}

.legal-page {
    max-width: 72rem;
    margin: 0 auto;
}

.legal-page__intro {
    max-width: 56rem;
}

.legal-page__copy {
    max-height: none;
    padding-right: 0;
}

.legal-page__signature {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.legal-page__signature-box {
    flex: 1 1 0;
}

.legal-page__line {
    border-bottom: 1px solid rgba(0, 0, 0, 0.32);
    margin-top: 2rem;
}

.legal-form {
    display: grid;
    gap: 1rem;
}

.legal-form__field {
    display: grid;
    gap: 0.45rem;
}

.legal-form__field label {
    font-size: 0.92rem;
    font-weight: 700;
}

.legal-form__checks {
    display: grid;
    gap: 0.65rem;
}

.legal-form__checks label {
    display: flex;
    gap: 0.55rem;
    font-size: 0.94rem;
    line-height: 1.45;
}

.legal-form__checks--stacked {
    gap: 0.75rem;
}

.checkout-consent {
    display: grid;
    gap: 0.85rem;
}

.checkout-consent__item {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    font-size: 0.88rem;
    line-height: 1.45;
}

.checkout-consent__item input {
    flex: 0 0 auto;
    height: 1rem;
    margin-top: 0.14rem;
    width: 1rem;
}

.checkout-consent__link {
    background: transparent;
    border: 0;
    color: var(--site-text);
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-align: left;
    text-decoration: none;
}

.checkout-consent__link:hover {
    color: var(--site-deep);
}

.checkout-security-note {
    background: linear-gradient(135deg, rgba(36, 62, 139, 0.08), rgba(240, 199, 69, 0.14));
    border: 1px solid rgba(36, 62, 139, 0.12);
    border-radius: 20px;
    padding: 1rem 1.1rem;
}

.checkout-security-note__badge {
    color: var(--site-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.cookie-banner {
    background: transparent;
    bottom: 1.25rem;
    left: 1.25rem;
    max-width: 26rem;
    position: fixed;
    width: calc(100% - 2.5rem);
    z-index: 1055;
}

.cookie-banner__inner {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(36, 62, 139, 0.12);
    border-radius: 22px;
    box-shadow: 0 20px 48px rgba(36, 62, 139, 0.18);
    color: var(--site-text);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    justify-content: flex-start;
    padding: 1rem 1rem;
}

.cookie-banner__title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.cookie-banner__copy {
    color: #5f7278;
    font-size: 0.88rem;
    line-height: 1.45;
}

.discount-feedback {
    border: 1px solid transparent;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    padding: 0.9rem 1rem;
}

.discount-feedback--neutral {
    background: rgba(36, 62, 139, 0.08);
    border-color: rgba(36, 62, 139, 0.14);
    color: var(--site-deep);
}

.discount-feedback--success {
    background: rgba(22, 163, 74, 0.12);
    border-color: rgba(22, 163, 74, 0.24);
    color: #166534;
}

.discount-feedback--error {
    background: rgba(220, 38, 38, 0.12);
    border-color: rgba(220, 38, 38, 0.24);
    color: #991b1b;
}

@media (max-width: 991.98px) {
    .site-header__inner {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .site-nav {
        grid-column: auto;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .header-preferences {
        justify-self: stretch;
        width: 100%;
    }

    .header-selects {
        justify-content: flex-end;
    }
}

@media (max-width: 767.98px) {
    .site-brand img {
        height: 72px;
    }

    .site-header__inner {
        justify-items: center;
        text-align: center;
    }

    .header-preferences {
        justify-self: center;
    }

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

    .header-select {
        min-width: 4.2em;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-footer__legal {
        justify-content: center;
    }

    .legal-page__signature {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-section {
        padding: 3rem 0 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .price-grid,
    .price-grid--compact {
        grid-template-columns: 1fr;
    }

    .local-modal__dialog {
        padding: 1.4rem;
    }

    .cookie-banner__inner {
        padding: 0.9rem;
    }

    .ticket-stepper {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .ticket-stepper__controls,
    .ticket-summary {
        width: 100%;
    }
}
