.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, #a84191, #8b347a); 
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: white;
    overflow: visible; 
}

.header-section::before {
    top: 0;
}
.title-section {
    flex: 1;
    max-width: 70%; 
    word-wrap: break-word;
    white-space: normal;
}

.title-section h1 {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin: 0;
    padding: 10px;
}
.offer-number p {
	margin-bottom: 0px;
	color: #ffffff;
	font-weight: 800;
}

.offer-number {
    background-color: #fbbb33; 
    font-weight: bold;
    font-size: 16px;
    padding: 5px 15px;
    position: absolute;
    bottom: -15px; 
    top: -15px; 
		right: 0px;
    display: flex;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 2;
	display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 2;
    min-width: 180px;
    max-width: 30%; 
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .header-section {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 10px;
    }

    .offer-number {
        position: static; 
        width: 100%; 
        max-width: 100%;
        margin-top: 10px; 
    }
}


.header-section .title-section h1 {
    font-size: 30px;
    font-weight: 600;
}

.header-section .offer-number {
    font-size: 18px;
}



/* --- Galeria --- */
.wycieczki-gallery {
    overflow: hidden;
    position: relative;
}

.wycieczki-gallery .main-image img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* Podstawowe style Swiper */
.swiper-container {
    width: 100%;
    height: auto;
}

.gallery-top {
    height: 80vh;
    width: 100%;
}

.gallery-thumbs {
    height: 20vh;
    box-sizing: border-box;
    padding: 10px 0;
}

.gallery-thumbs .swiper-slide {
    height: 100%;
    opacity: 0.4;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: opacity 0.3s, border 0.3s;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #264C69;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

@media (max-width: 768px) {
    .gallery-top {
        height: 400px;
    }

    .gallery-thumbs {
        height: 100px;
        margin-top: 60px;
        position: relative;
    }
}

/***** SEKCJA DODATKOWA – INFO O OFERCIE *****/
.wycieczki-details {
    margin: 30px 0;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

/* --- Układ szczegółów --- */
.details-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 1024px) {
    .details-row {
        flex-direction: column;
    }
}

.details-column {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

@media (max-width: 1024px) {
    .details-column {
        width: 100%;
        overflow-x: auto;
    }
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.detail-icon {
    font-size: 20px;
    color: #264C69;
    margin-right: 10px;
}

.detail-content {
    display: flex;
    font-size: 16px;
    color: #333;
    align-items: center;
}

.detail-content strong {
    color: #264C69;
    margin-right: 5px;
}

.detail-content-icon svg {
    width: 2em;
    height: 2em;
    margin-right: 0.5em;
    color: var(--accent-1);
}

/*** SEKCJA PLAN WYCIECZKI ***/
.trip-plan {
    position: relative;
    border: 2px dashed #264C69;
    border-radius: 10px;
    padding-top: 30px;
    margin: 30px 0;
}

.trip-plan h2 {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 0 10px;
    font-size: 24px;
    font-weight: 600;
    color: #264C69;
}

.trip-plan-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trip-plan-item {
    display: flex;
    width: 100%;
    padding: 20px;
    border-style: dashed;
    border-width: 0 0 2px 0;
    border-color: #E7ECF0;
    border-radius: 8px;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.trip-plan-item:last-child {
    border: none;
}

.trip-plan-day {
    flex: 0 0 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-right: 20px;
    border-right: 1px solid #ddd;
    margin-right: 20px;
}

.trip-plan-day h3 {
    font-size: 20px;
    color: #f67c27;
    font-weight: 600;
    margin-bottom: 10px;
}

.trip-plan-day p {
    color: #265469;
}

.trip-plan-description {
    flex: 1;
    color: #333;
    line-height: 1.6;
    text-align: justify;
}

.trip-plan-item:hover {
    background: #eef5fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sekcja Cena i przycisk "Zapytaj o ofertę" */
.offer-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 2px dashed #264C69;
    border-radius: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.offer-price-section .price-label {
    font-size: 20px;
    font-weight: bold;
    color: #264C69;
}

.offer-price-section .price-value {
    font-size: 20px;
    color: #264C69;
    margin-left: 10px;
}

.offer-price-section .offer-button {
    background: #264C69;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-left: auto;
    transition: background 0.3s;
}

.offer-price-section .offer-button:hover {
    background: #1a324d;
}

.offer-price-section .offer-status {
    color: red;
    margin-left: 20px;
}

/* Sekcja Szczegóły transportu */
.transport-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.transport-section {
    flex: 1 1 calc(50% - 20px);
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border: 2px dashed #264C69;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .transport-section {
        flex: 1 1 100%;
    }
}

.transport-info {
    flex: 1;
}

.transport-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #264C69;
    margin-bottom: 10px;
}

.transport-info p {
    color: #333;
    margin: 5px 0;
}

.transport-icon {
    flex: 0 0 auto;
    align-content: center;
    margin-left: 20px;
}

.transport-icon svg {
    width: 80px;
    height: 80px;
    color: var(--accent-1);
}

.offer-includes,
.offer-not-includes,
.offer-notes,
.offer-map {
    margin: 30px 0;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.offer-includes h2,
.offer-not-includes h2,
.offer-notes h2,
.offer-map h2 {
    color: #264C69;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.offer-includes ul,
.offer-not-includes ul,
.offer-notes ul {
    list-style: none;
    padding: 0;
}

.offer-includes li,
.offer-not-includes li,
.offer-notes li,
.offer-includes-column li,
.offer-not-includes-column li {
    padding: 5px 0;
}

.offer-includes li:last-child,
.offer-not-includes li:last-child,
.offer-notes li:last-child {
    border: none;
}

/* Układ kolumn w sekcji oferty cenowej */
.offer-pricing {
    margin: 30px 0;
}

.offer-pricing-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.offer-includes-column svg {
    fill: #7A9E00;
}

.offer-not-includes-column svg {
    fill: red;
}

.offer-includes-column,
.offer-not-includes-column {
    flex: 1 1 48%;
    position: relative;

    border: 2px dashed #7A9E00;
    border-radius: 10px;
    padding: 20px;
    padding-top: 30px;
    margin-bottom: 20px;
}

.offer-includes-column li,
.offer-not-includes-column li {
    list-style-type: none;
}

.offer-includes-column ul,
.offer-not-includes-column ul,
.offer-notes ul {
    margin: 0;
}

.offer-not-includes-column {
    border-color: red;
}

.column-header h3 {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    white-space: nowrap;
    padding: 0 10px;
    font-size: 23px;
    font-weight: 600;
    color: #7A9E00;
}

.offer-not-includes-column .column-header h3 {
    color: red;
}

/* Sekcja Uwaga */
.offer-notes {
    position: relative;
    border: 2px dashed #7A9E00;
    border-radius: 10px;
    padding: 20px;
    padding-top: 30px;
    margin: 30px 0;
}

.offer-notes h3 {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 0 10px;
    font-size: 24px;
    font-weight: 600;
    color: #7A9E00;
}

/* Sekcja Mapa */
.offer-map {
    position: relative;
    border: 2px dashed #7A9E00;
    border-radius: 10px;
    padding: 20px;
    padding-top: 30px;
    margin: 30px 0;
}

.offer-map h2 {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    font-weight: 600;
    padding: 0 10px;
    font-size: 24px;
    color: #7A9E00;
}

/*** Etykiety ---*/
.offer-labels {
    margin-top: 10px;
}

.offer-label {
    display: inline-block;
    margin-right: 5px;
    padding: 5px 10px;
    color: #fff;
    border-radius: 3px;
    font-size: 14px;
}

.offer-labels-gallery {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

@media (max-width: 768px) {
    .offer-labels-gallery {
        position: static;
        flex-direction: row;
        margin-bottom: 10px;
        width: fit-content;
        padding: 5px;
    }
}

/* Sekcja Materiały do pobrania */
.download-materials {
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.download-column {
    flex: 1 1 48%;
    border: 2px dashed #264C69;
    border-radius: 10px;
    padding: 15px;
    position: relative;
}

.download-column.full-width {
    flex: 1 1 100%;
}

.download-content a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #264C69;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s;
}

.download-content a:hover {
    color: #1a324d;
}

.download-content a svg {
    width: 40px;
    height: 40px;
    fill: #264C69;
    margin-right: 10px;
}

.download-content {
    justify-items: center;
}

@media (max-width: 768px) {
    .download-materials {
        flex-direction: column;
    }
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="password"],
.wpcf7 input[type="search"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 textarea,
.wpcf7 select {
    background-color: #ffffff;
    padding: 8px;
    font-size: 1em;
    width: 100%;
}

.wpcf7 p {
    margin-bottom: 10px;
}

.wpcf7-list-item {
    font-size: 0.7em;
    text-align: justify;
}

.wpcf7 .wpcf7-submit {
    width: 100%;
}

.wpcf7-not-valid-tip {
    font-size: 0.7em;
}

.contact-form {
    position: relative;
    max-width: 900px;
    border: 2px dashed #264C69;
    border-radius: 10px;
    padding: 60px 30px 30px 30px;
    margin: 50px auto;
}

.contact-form h2 {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 0 10px;
    font-size: 24px;
    font-weight: 600;
    color: #264C69;
}