:root {
    --odyseja-green: #189A02;
    --odyseja-green-dark: #147d03;
    --odyseja-green-rgb: 24, 154, 2;

    --odyseja-red: #E4011F;
    --odyseja-red-dark: #c9001b;
    --odyseja-red-rgb: 228, 1, 31;

    --odyseja-dark: #182014;
    --odyseja-heading: #111111;
    --odyseja-text: #333333;
    --odyseja-muted: #6f756b;
    --odyseja-help: #777777;
    --odyseja-sidebar-heading: #2f3b4a;

    --odyseja-bg: #ffffff;
    --odyseja-white: #ffffff;
    --odyseja-white-rgb: 255, 255, 255;
    --odyseja-black-rgb: 0, 0, 0;

    --odyseja-border: #e6e6df;
    --odyseja-border-light: #eeeeee;
    --odyseja-border-soft: #f0f0f0;
    --odyseja-input-border: #dddddd;

    --odyseja-surface-soft: #f7f7f4;
    --odyseja-surface-hover: #eef8eb;
    --odyseja-green-tint: #f5faf3;
    --odyseja-green-soft: #f7fff5;
    --odyseja-error-bg: #fff4f4;
    --odyseja-error-border: #ffd1d1;
    --odyseja-media-placeholder: #eeeeee;
}

/* ============================= */
/* Base / zabezpieczenia layoutu */
/* ============================= */

html,
body {
    max-width: 100%;
}

.tour-single,
.tour-single *,
.tour-single *::before,
.tour-single *::after {
    box-sizing: border-box;
}

.tour-single {
    width: 100%;
    background: var(--odyseja-bg);
    color: var(--odyseja-text);
    overflow: visible;
}

/* Dziedziczenie typografii z Kadence */

.tour-single,
.tour-single h1,
.tour-single h2,
.tour-single h3,
.tour-single h4,
.tour-single h5,
.tour-single h6,
.tour-single p,
.tour-single li,
.tour-single a,
.tour-single span {
    font-family: inherit;
}

/* ============================= */
/* Global single product layout */
/* ============================= */

.single-product .content-container,
.single-product .entry-content-wrap,
.single-product .woocommerce,
.single-product .content-area,
.single-product .site-main {
    max-width: none !important;
    width: 100% !important;
}

/* ============================= */
/* Hero */
/* ============================= */

.tour-hero {
    position: relative;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.tour-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(var(--odyseja-black-rgb), 0.62),
        rgba(var(--odyseja-black-rgb), 0.22)
    );
}

.tour-hero__inner {
    position: relative;
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 0 64px;
}

.tour-hero__content {
    max-width: 860px;
    color: var(--odyseja-white);
}

.tour-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--odyseja-red);
    color: var(--odyseja-white);
    font-weight: 800;
    font-size: 13px;
    line-height: 1;
    margin-bottom: 16px;
}

.tour-hero h1 {
    color: var(--odyseja-white);
    line-height: 1.02;
    margin: 0 0 16px;
    letter-spacing: -0.04em;
}

.tour-hero p {
    line-height: 1.5;
    max-width: 760px;
    margin: 0;
}

/* ============================= */
/* Tagi w hero */
/* ============================= */

.tour-hero__meta,
.tour-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.tour-hero__meta span,
.tour-hero__meta a {
    display: inline-flex;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(var(--odyseja-white-rgb), 0.14);
    border: 1px solid rgba(var(--odyseja-white-rgb), 0.24);
    backdrop-filter: blur(6px);
    color: var(--odyseja-white);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.tour-hero__meta a:hover {
    background: rgba(var(--odyseja-white-rgb), 0.24);
    color: var(--odyseja-white);
}

.tour-hero__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--odyseja-green);
    border: 1px solid var(--odyseja-green);
    color: var(--odyseja-white);
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(var(--odyseja-green-rgb), 0.22);
}

.tour-hero__tag:hover {
    background: var(--odyseja-green-dark);
    border-color: var(--odyseja-green-dark);
    color: var(--odyseja-white);
}

/* ============================= */
/* Main layout */
/* ============================= */

.tour-single__container {
    width: 90%;
    max-width: 1600px;
    margin: -44px auto 0;
    padding-bottom: 80px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.tour-single__main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background: var(--odyseja-white);
    border-radius: 22px;
    padding: 48px;
    box-shadow: 0 18px 55px rgba(var(--odyseja-black-rgb), 0.08);
}

.tour-single__sidebar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: sticky;
    top: 100px;
    align-self: start;
}

/* ============================= */
/* Sekcje treści */
/* ============================= */

.tour-section + .tour-section {
    margin-top: 46px;
    padding-top: 42px;
    border-top: 1px solid var(--odyseja-border);
}

.tour-section h2 {
    position: relative;
    line-height: 1.15;
    color: var(--odyseja-dark);
    margin: 0 0 22px;
    letter-spacing: -0.03em;
}

.tour-section h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: var(--odyseja-red);
    margin-top: 12px;
}

.tour-section__lead {
    line-height: 1.75;
    color: var(--odyseja-dark);
}

.tour-section__content,
.tour-section__content p,
.tour-section__content li {
    line-height: 1.75;
    overflow-wrap: break-word;
}

.tour-section__content p:last-child {
    margin-bottom: 0;
}

/* ============================= */
/* Galeria */
/* ============================= */

.tour-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.tour-gallery__item {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: var(--odyseja-media-placeholder);
}

.tour-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.tour-gallery__item:hover img {
    transform: scale(1.04);
}

/* ============================= */
/* Video */
/* ============================= */

.tour-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 16px;
}

/* ============================= */
/* Program accordion */
/* ============================= */

.tour-program {
    margin-top: 10px;
}

.tour-program h2 {
    margin-bottom: 5px;
}

.tour-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tour-accordion__item {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    box-shadow: none !important;
    transition: none !important;
}

.tour-accordion__item:hover {
    border: 0 !important;
    box-shadow: none !important;
}

.tour-accordion__button {
    width: 100%;
    min-height: 58px;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: transparent !important;
    padding: 16px 18px 16px 26px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-weight: 800;
    color: var(--odyseja-dark) !important;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tour-accordion__button:hover,
.tour-accordion__button:focus {
    background: transparent !important;
    border-color: rgba(var(--odyseja-green-rgb), 0.35) !important;
    color: var(--odyseja-green) !important;
    outline: none !important;
}

.tour-accordion__button[aria-expanded="true"],
.tour-accordion__item.is-open .tour-accordion__button {
    background: transparent !important;
    border-color: rgba(var(--odyseja-green-rgb), 0.45) !important;
    color: var(--odyseja-green) !important;
}

.tour-accordion__button[aria-expanded="true"]:hover,
.tour-accordion__item.is-open .tour-accordion__button:hover {
    background: transparent !important;
    border-color: rgba(var(--odyseja-green-rgb), 0.55) !important;
    color: var(--odyseja-green) !important;
}

.tour-accordion__icon {
    position: relative;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--odyseja-green);
    color: var(--odyseja-white) !important;
    flex: 0 0 auto;
    font-size: 0 !important;
    line-height: 1 !important;
    font-weight: 900;
}

.tour-accordion__icon::before,
.tour-accordion__icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 3px;
    border-radius: 999px;
    background: var(--odyseja-white);
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.tour-accordion__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.tour-accordion__button[aria-expanded="true"] .tour-accordion__icon,
.tour-accordion__item.is-open .tour-accordion__icon {
    background: var(--odyseja-green);
    color: var(--odyseja-white) !important;
}

.tour-accordion__button[aria-expanded="true"] .tour-accordion__icon::after,
.tour-accordion__item.is-open .tour-accordion__icon::after {
    opacity: 0;
}

.tour-accordion__panel,
.tour-accordion__content {
    padding: 14px 26px 10px !important;
    color: var(--odyseja-text);
    line-height: 1.7;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.tour-accordion__panel p:last-child,
.tour-accordion__content p:last-child {
    margin-bottom: 0;
}

.tour-accordion__panel {
    display: none;
}

.tour-accordion__item.is-open .tour-accordion__panel {
    display: block;
}

.tour-accordion__content[hidden] {
    display: none !important;
}

/* ============================= */
/* Cennik / TablePress */
/* ============================= */

.tour-pricing-subtitle {
    text-align: left;
    line-height: 1.4;
    margin: 10px 0 24px;
    color: var(--odyseja-heading);
}

.tour-pricing-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.tour-pricing-table .tablepress {
    width: 100% !important;
    border-collapse: collapse !important;
    border: 0 !important;
}

.tour-pricing-table .tablepress th,
.tour-pricing-table .tablepress td {
    padding: 10px 14px !important;
    vertical-align: middle !important;
    line-height: 1.35 !important;
}

.tour-pricing-table .tablepress thead th,
.tour-pricing-table .tablepress thead td {
    background: transparent !important;
    color: inherit !important;
    border-bottom: 1px solid var(--odyseja-border) !important;
    font-weight: 700 !important;
}

.tour-pricing-table .tablepress tbody td,
.tour-pricing-table .tablepress tbody th,
.tour-pricing-table .tablepress tbody tr:nth-child(even) td,
.tour-pricing-table .tablepress tbody tr:nth-child(odd) td {
    background: transparent !important;
    color: inherit !important;
    border-bottom: 1px solid var(--odyseja-border-light) !important;
}

.tour-pricing-table .tablepress th:first-child,
.tour-pricing-table .tablepress td:first-child {
    font-weight: 700 !important;
    white-space: nowrap;
}

.tour-pricing-table .tablepress-edit-link,
.tour-pricing-table .tablepress + .tablepress-edit-link {
    display: none !important;
}

.tour-pricing-note {
    margin-top: 22px;
    line-height: 1.65;
}

.tour-pricing-note p {
    margin: 0 0 8px;
    font-weight: inherit;
}

.tour-pricing-note strong,
.tour-pricing-note b {
    font-weight: 700;
}

.tour-pricing-note p:last-child {
    margin-bottom: 0;
}

/* ============================= */
/* Nasza opinia */
/* ============================= */

.tour-opinion-box {
    background: var(--odyseja-green-tint);
    border-left: 5px solid var(--odyseja-green);
    border-radius: 16px;
    padding: 24px;
    line-height: 1.75;
}

.tour-opinion-box p:last-child {
    margin-bottom: 0;
}

/* ============================= */
/* Sidebar */
/* ============================= */

.tour-sidebar-box {
    max-width: 100%;
    background: var(--odyseja-white);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 40px rgba(var(--odyseja-black-rgb), 0.08);
    border-top: 4px solid var(--odyseja-green);
}

.tour-sidebar-box__header {
    margin-bottom: 16px;
}

.tour-sidebar-box__tour-heading {
    margin: 0 0 8px !important;
    line-height: 1.2 !important;
    color: var(--odyseja-heading) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
}


.tour-sidebar-box__subheading {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
}

.tour-sidebar-box__label {
    display: inline-block !important;
    margin: 0 !important;
    color: var(--odyseja-text) !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

.tour-sidebar-box__badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px 10px !important;
    border-radius: 999px !important;
    background: var(--odyseja-green) !important;
    color: var(--odyseja-white) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-transform: lowercase !important;
}

/* ============================= */
/* Sidebar - informacje */
/* ============================= */

.tour-sidebar-pdf-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--odyseja-green);
    color: var(--odyseja-white) !important;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    text-decoration: none !important;
}

.tour-sidebar-pdf-button:hover {
    background: var(--odyseja-green-dark);
    color: var(--odyseja-white) !important;
}

.tour-sidebar-summary {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--odyseja-border-light);
}

.tour-sidebar-summary h4 {
    margin: 0 0 14px;
    color: var(--odyseja-sidebar-heading);
    font-weight: 800;
}

.tour-sidebar-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--odyseja-border-soft);
}

.tour-sidebar-summary__row strong {
    color: var(--odyseja-text);
}

.tour-sidebar-summary__row span {
    color: var(--odyseja-text);
    font-weight: 800;
    text-align: right;
}

.tour-sidebar-note {
    margin-top: 10px;
    padding: 10px;
    border-left: 4px solid var(--odyseja-green);
    background: var(--odyseja-green-soft);
    border-radius: 10px;
    line-height: 1.6;
}

.tour-sidebar-note p:last-child {
    margin-bottom: 0;
}

.tour-sidebar-contact {
    margin-top: 18px;
    line-height: 1.5;
}

.tour-sidebar-contact p {
    margin: 0 0 8px;
}

.tour-sidebar-box__error {
    padding: 12px;
    background: var(--odyseja-error-bg);
    border: 1px solid var(--odyseja-error-border);
    color: var(--odyseja-red);
    border-radius: 8px;
    font-weight: 700;
}

/* ============================= */
/* Responsive - tablet */
/* ============================= */

@media (max-width: 1100px) {
    .tour-single__container {
        width: calc(100% - 32px);
        grid-template-columns: 1fr;
        margin-top: -28px;
        gap: 28px;
        padding-bottom: 60px;
    }

    .tour-single__main {
        padding: 28px;
    }

    .tour-single__sidebar {
        position: static;
        top: auto;
        margin-top: 25px !important;
        margin-bottom: 30px;
    }

    .tour-sidebar-box {
        margin-top: 0 !important;
    }
}

@media (max-width: 900px) {
    .tour-pricing-subtitle {
        margin-bottom: 20px;
    }

    .tour-pricing-table {
        overflow-x: auto;
    }

    .tour-pricing-table .tablepress {
        min-width: 720px;
    }

    .tour-pricing-table .tablepress th,
    .tour-pricing-table .tablepress td {
        padding: 8px 12px !important;
    }
}

/* ============================= */
/* Responsive - mobile */
/* ============================= */

@media (max-width: 700px) {
    .tour-hero {
        min-height: 330px;
    }

    .tour-hero__inner {
        width: 100%;
        max-width: 100%;
        padding: 56px 18px 46px;
    }

    .tour-hero h1 {
        line-height: 1.05;
        letter-spacing: -0.04em;
    }

    .tour-hero__tags,
    .tour-hero__meta {
        margin-top: 14px;
        gap: 8px;
    }

    .tour-hero__tag {
        padding: 8px 13px;
        font-size: 13px;
    }

    .tour-single__container {
        width: 100%;
        max-width: 100%;
        margin: -28px 0 0;
        padding: 0 12px 60px;
        display: block;
    }

    .tour-single__main {
        width: 100%;
        max-width: 100%;
        padding: 24px 18px;
        border-radius: 18px;
    }

    .tour-sidebar-box {
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
        margin-bottom: 10px;
    }

    .tour-section h2 {
        line-height: 1.15;
    }

    .tour-section__content,
    .tour-section__content p,
    .tour-section__content li,
    .tour-section__lead {
        line-height: 1.65;
        overflow-wrap: anywhere;
    }

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

    .tour-accordion__button {
        padding: 14px 16px 14px 22px;
    }

    .tour-accordion__panel,
    .tour-accordion__content {
        padding: 14px 22px 10px !important;
    }
}

/* ============================= */
/* Responsive - small mobile */
/* ============================= */

@media (max-width: 480px) {
    .tour-single__container {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 60px;
    }

    .tour-single__main {
        padding: 22px 16px;
    }

    .tour-sidebar-box {
        padding: 22px;
    }

    .tour-hero__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .tour-gallery {
        grid-template-columns: 1fr;
    }
}

/* ============================= */
/* Ptaszki w listach sekcji produktu */
/* ============================= */

.tour-section__content ul {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.tour-section__content ul li {
    position: relative !important;
    margin: 0 0 8px !important;
    padding-left: 36px !important;
    color: var(--odyseja-heading) !important;
}

.tour-section__content ul li::marker {
    content: '' !important;
}

.tour-section__content ul li::before {
    content: '\2713' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0.02em !important;
    color: var(--odyseja-green) !important;
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

/* ============================= */
/* Podobne wycieczki - karuzela */
/* ============================= */

.tour-related {
    overflow: hidden;
}

.tour-related__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.tour-related__header h2 {
    margin-bottom: 0;
}

.tour-related__arrows {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.tour-related__arrow {
    position: relative !important;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border: 0;
    border-radius: 999px;
    background: var(--odyseja-green);
    color: var(--odyseja-white) !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tour-related__arrow:hover {
    background: var(--odyseja-green-dark);
    color: var(--odyseja-white) !important;
}

.tour-related__arrow::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 3px solid var(--odyseja-white);
    border-right: 3px solid var(--odyseja-white);
}

.tour-related__arrow:first-child::before {
    transform: translate(-38%, -50%) rotate(-135deg);
}

.tour-related__arrow:last-child::before {
    transform: translate(-62%, -50%) rotate(45deg);
}

.tour-related-carousel {
    width: 100%;
    max-width: 100%;
}

.tour-related-carousel__viewport {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.tour-related-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.tour-related-carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 36px) / 3);
    gap: 18px;
}

.tour-related-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    background: var(--odyseja-white);
    border: 1px solid var(--odyseja-border);
    color: var(--odyseja-text);
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tour-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(var(--odyseja-black-rgb), 0.08);
    color: var(--odyseja-text);
}

.tour-related-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--odyseja-media-placeholder);
    overflow: hidden;
}

.tour-related-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tour-related-card__content {
    padding: 16px;
}

.tour-related-card__content h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.2;
    color: var(--odyseja-dark);
    font-weight: 800;
}

.tour-related-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--odyseja-green);
    color: var(--odyseja-white) !important;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
}

.tour-related-card__badge .woocommerce-Price-amount,
.tour-related-card__badge .woocommerce-Price-currencySymbol {
    color: var(--odyseja-white) !important;
}

/* Tablet */
@media (max-width: 900px) {
    .tour-related-carousel__track {
        grid-auto-columns: calc((100% - 18px) / 2);
    }
}

/* Mobile */
@media (max-width: 520px) {
    .tour-related__header {
        align-items: flex-start;
    }

    .tour-related-carousel__track {
        grid-auto-columns: 100%;
    }

    .tour-related__arrow {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .tour-related__arrow::before {
        width: 8px;
        height: 8px;
        border-top-width: 3px;
        border-right-width: 3px;
    }
}

/* ============================= */
/* Baner formalności */
/* ============================= */

.tour-formalities-banner__box {
    background: var(--odyseja-white);
    border-left: 5px solid var(--odyseja-green);
    border-right: 5px solid var(--odyseja-green);
    border-radius: 16px;
    padding: 28px 34px;
    line-height: 1.75;
    color: var(--odyseja-text);
    box-shadow: 0 12px 32px rgba(var(--odyseja-black-rgb), 0.04);
}

.tour-formalities-banner__box p {
    margin: 0 0 12px;
}

.tour-formalities-banner__box p:last-child {
    margin-bottom: 0;
}

.tour-formalities-banner__box strong,
.tour-formalities-banner__box b {
    color: var(--odyseja-green);
    font-weight: 800;
}

/* ============================= */
/* Pływający przycisk mobile */
/* ============================= */

.tour-floating-mobile-button {
    display: none;
}

@media (max-width: 1100px) {
    .tour-floating-mobile-button {
        position: fixed;
        right: 16px;
        bottom: 16px;
        z-index: 9999;

        display: flex;
        align-items: center;
        justify-content: center;

        width: 74px;
        height: 74px;
        padding: 0;

        border-radius: 999px;
        background: var(--odyseja-green);
        color: var(--odyseja-white) !important;

        font-size: 11px;
        line-height: 1.1;
        font-weight: 800;
        text-align: center;
        text-decoration: none !important;

        box-shadow: 0 10px 26px rgba(var(--odyseja-black-rgb), 0.25);
    }

    .tour-floating-mobile-button:hover {
        background: var(--odyseja-green-dark);
        color: var(--odyseja-white) !important;
    }

    body.single-product {
        padding-bottom: 90px;
    }
}

/* ============================= */
/* Cennik wycieczki - własna tabela */
/* ============================= */

.tour-pricing--custom {
    text-align: left;
}

.tour-pricing--custom .tour-pricing__header {
    margin-bottom: 28px;
}

.tour-pricing--custom .tour-pricing__header h2 {
    margin-bottom: 12px;
}

.tour-pricing-subtitle {
    margin: 0;
    color: var(--odyseja-text, #333333);
    font-size: inherit;
    line-height: 1.55;
}

/* Tabela desktop */

.tour-price-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-top: 12px;
}

.tour-price-table {
    width: auto;
    min-width: 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}

.tour-price-table th,
.tour-price-table td {
    padding: 2px 22px 2px 0;
    border: 0;
    background: transparent;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
    font-size: inherit;
    line-height: 1.2;
}

.tour-price-table th:first-child,
.tour-price-table td:first-child {
    width: auto;
    min-width: 110px;
    padding: 2px 18px 2px 0;
    text-align: left;
    font-weight: 800;
    color: var(--odyseja-text, #333333);
}

.tour-price-table tr:first-child td {
    color: var(--odyseja-green, #189A02);
    font-weight: 500;
}

.tour-price-table tr:not(:first-child) td {
    color: var(--odyseja-red, #E4011F);
    font-weight: 500;
}

.tour-price-table tr:not(:first-child) th {
    font-weight: 800;
    color: var(--odyseja-text, #333333);
}

/* Karty mobilne domyślnie ukryte na desktopie */

.tour-price-cards {
    display: none;
}

/* Notatka pod tabelą */

.tour-pricing-note--custom {
    margin-top: 28px;
    color: var(--odyseja-text, #333333);
    line-height: 1.65;
}

.tour-pricing-note--custom p {
    margin: 0 0 6px;
}

.tour-pricing-note--custom p:last-child {
    margin-bottom: 0;
}

.tour-pricing-note--custom strong,
.tour-pricing-note--custom b {
    font-weight: 800;
}

@media (max-width: 768px) {
    .tour-price-mobile {
        display: grid;
        gap: 14px;
        margin-top: 18px;
    }

    .tour-price-mobile-card {
        background: #fff;
        border: 1px solid var(--odyseja-border, #e6e6df);
        border-radius: 20px;
        padding: 18px 18px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    }

    .tour-price-mobile-card__summary {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .tour-price-mobile-card__line {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        font-size: 16px;
        line-height: 1.35;
        color: var(--odyseja-text, #333333);
    }

    .tour-price-mobile-card__line strong {
        font-size: 16px;
        font-weight: 800;
        color: var(--odyseja-heading, #111111);
    }

    .tour-price-mobile-card__line span {
        font-size: 16px;
        font-weight: 700;
    }

    .tour-price-mobile-card__line--price strong,
    .tour-price-mobile-card__line--price span {
        color: var(--odyseja-red, #E4011F);
    }
}

/* ============================= */
/* Galeria - podpisy i lightbox */
/* ============================= */

.tour-gallery__figure {
    margin: 0;
}

.tour-gallery__caption {
    margin-top: 8px;
    color: var(--odyseja-muted, #6f756b);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;
}

.tour-gallery__item {
    cursor: zoom-in;
}

body.tour-lightbox-is-open {
    overflow: hidden;
}

/* Tło lightboxa */
.tour-lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;

    padding: 32px !important;
    background: rgba(0, 0, 0, 0.86) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tour-lightbox[hidden] {
    display: none !important;
}

/* Dialog nie może robić sztucznej szerokości */
.tour-lightbox__dialog {
    position: relative !important;
    z-index: 2147483001 !important;

    width: auto !important;
    max-width: 92vw !important;
    max-height: 88vh !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Wrapper dopasowany do zdjęcia, bez czarnych boków */
.tour-lightbox__image-wrap {
    position: relative !important;

    display: inline-block !important;
    width: auto !important;
    max-width: 92vw !important;
    max-height: 88vh !important;

    border-radius: 16px !important;
    overflow: hidden !important;

    background: transparent !important;
    line-height: 0 !important;

    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45) !important;
}

/* Zdjęcie zachowuje oryginalne proporcje */
.tour-lightbox__image {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 92vw !important;
    max-height: 88vh !important;

    object-fit: contain !important;
}

/* Opis na dole zdjęcia */
.tour-lightbox__description {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    padding: 58px 28px 22px !important;

    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75) !important;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.86),
        rgba(0, 0, 0, 0.48),
        rgba(0, 0, 0, 0)
    ) !important;
}

.tour-lightbox__description[hidden] {
    display: none !important;
}

/* Przycisk zamknięcia X */
.tour-lightbox__close {
    position: fixed !important;
    top: 22px !important;
    right: 22px !important;
    z-index: 2147483003 !important;

    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    border-radius: 999px !important;

    background: var(--odyseja-green, #189A02) !important;
    color: #ffffff !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 0 !important;
    line-height: 1 !important;

    cursor: pointer !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34) !important;
}

.tour-lightbox__close:hover {
    background: var(--odyseja-green-dark, #147d03) !important;
    color: #ffffff !important;
}

.tour-lightbox__close::before,
.tour-lightbox__close::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;

    width: 21px !important;
    height: 3px !important;

    border-radius: 999px !important;
    background: #ffffff !important;
}

.tour-lightbox__close::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

.tour-lightbox__close::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

/* Strzałki lightboxa */
.tour-lightbox__arrow {
    position: fixed !important;
    top: 50% !important;
    z-index: 2147483002 !important;

    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    border-radius: 999px !important;

    background: var(--odyseja-green, #189A02) !important;
    color: #ffffff !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 0 !important;
    line-height: 1 !important;

    cursor: pointer !important;
    transform: translateY(-50%) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34) !important;
}

.tour-lightbox__arrow:hover {
    background: var(--odyseja-green-dark, #147d03) !important;
    color: #ffffff !important;
}

.tour-lightbox__arrow::before {
    content: '' !important;
    display: block !important;

    width: 13px !important;
    height: 13px !important;

    border-top: 4px solid #ffffff !important;
    border-right: 4px solid #ffffff !important;
}

.tour-lightbox__arrow--prev {
    left: 28px !important;
}

.tour-lightbox__arrow--next {
    right: 28px !important;
}

.tour-lightbox__arrow--prev::before {
    transform: translateX(2px) rotate(-135deg) !important;
}

.tour-lightbox__arrow--next::before {
    transform: translateX(-2px) rotate(45deg) !important;
}

/* Mobile */
@media (max-width: 768px) {
    .tour-lightbox {
        padding: 16px !important;
    }

    .tour-lightbox__dialog {
        max-width: 100% !important;
        max-height: 84vh !important;
    }

    .tour-lightbox__image-wrap {
        max-width: 100% !important;
        max-height: 84vh !important;
        border-radius: 12px !important;
    }

    .tour-lightbox__image {
        max-width: 100% !important;
        max-height: 84vh !important;
    }

    .tour-lightbox__description {
        padding: 46px 18px 18px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .tour-lightbox__close {
        top: 12px !important;
        right: 12px !important;

        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
    }

    .tour-lightbox__close::before,
    .tour-lightbox__close::after {
        width: 17px !important;
        height: 3px !important;
    }

    .tour-lightbox__arrow {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }

    .tour-lightbox__arrow::before {
        width: 11px !important;
        height: 11px !important;
        border-top-width: 3px !important;
        border-right-width: 3px !important;
    }

    .tour-lightbox__arrow--prev {
        left: 8px !important;
    }

    .tour-lightbox__arrow--next {
        right: 8px !important;
    }
}

@media (max-width: 480px) {
    .tour-lightbox {
        padding: 12px !important;
    }

    .tour-lightbox__description {
        padding: 40px 14px 14px !important;
        font-size: 12px !important;
    }

    .tour-lightbox__close {
        top: 10px !important;
        right: 10px !important;
    }

    .tour-lightbox__arrow {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    .tour-lightbox__arrow--prev {
        left: 6px !important;
    }

    .tour-lightbox__arrow--next {
        right: 6px !important;
    }
}

/* ============================= */
/* Podobne wycieczki - tagi, opis, czytaj więcej */
/* ============================= */

.tour-related-card__tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
}

.tour-related-card__tags span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 5px 10px !important;
    border-radius: 999px !important;

    background: var(--odyseja-green-soft, #f7fff5) !important;
    color: var(--odyseja-green, #189A02) !important;

    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.tour-related-card__excerpt {
    margin: 14px 0 0 !important;
    color: var(--odyseja-text, #333333) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
}

.tour-related-card__read-more {
    display: inline-flex !important;
    align-items: center !important;

    margin-top: 14px !important;

    color: var(--odyseja-red, #E4011F) !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.tour-related-card:hover .tour-related-card__read-more {
    color: var(--odyseja-red-dark, #c9001b) !important;
}

.tour-program__note {
    margin: 18px auto 0 !important;
    max-width: 760px !important;
    text-align: center !important;
    font-style: italic !important;
    color: var(--odyseja-text, #333333) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
}


.tour-program__note {
    margin: 18px auto 0 !important;
    max-width: 760px !important;
    text-align: center !important;
    font-style: italic !important;
    color: var(--odyseja-text, #333333) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
}


.tour-section--price-excludes .tour-section__content ul li::before {
    content: '✕' !important;
    color: var(--odyseja-red, #E4011F) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}


.tour-price-table tr:first-child td {
    color: var(--odyseja-green, #189A02) !important;
    font-weight: 800 !important;
    font-size: calc(1em + 1px) !important;
}

.tour-price-table tr:not(:first-child) td {
    color: var(--odyseja-red, #E4011F) !important;
    font-weight: 800 !important;
    font-size: calc(1em + 1px) !important;
}

.tour-price-table th {
    font-weight: 900 !important;
    color: var(--odyseja-heading, #111111) !important;
}

/* Podpowiedź przesuwania tabeli - tylko mobile */
.tour-price-table-hint {
    display: none;
}

@media (max-width: 768px) {
    .tour-price-table-hint {
        display: block !important;

        margin: 14px 0 12px !important;
        padding: 6px 6px !important;

        border-radius: 14px !important;
        background: var(--odyseja-red, #E4011F) !important;
        color: #ffffff !important;

        font-size: 11px !important;
        line-height: 1.45 !important;
        font-weight: 800 !important;
        text-align: center !important;
    }

    .tour-price-table-hint::before,
    .tour-price-table-hint::after {
        content: none !important;
        display: none !important;
    }

    .tour-price-table-wrap {
        -webkit-overflow-scrolling: touch !important;
        overflow-x: auto !important;
        padding-bottom: 6px !important;
    }
}