/*
0. Wspólne
1. Oferta
2. Rowery
3. Galeria
4. Faq
5. Rezerwacje
*/


/* ------------------------ 0. Wspólne  ------------------------  */

.sekcja h2 {
    padding: 0 0 30px 0;
    font-size: 32px;
    color: #000;
    font-weight: 200;
    font-style: italic;
    text-align: center;
}

.sekcja h3 {
    color: #000;
    font-size: 21px;
    font-weight: 300;
    font-style: italic;
}

.sekcja h2::first-letter,
.sekcja h3::first-letter {
    color: #9BCB08;
}





/* ------------------------ 1. 0ferta ------------------------ */

section#oferta {
    padding: 60px 0 70px;
    background: #f1f1f1;
}

.oferta-box {
    max-width: 1000px;
    margin: 0 auto;
}

.oferta-row {
    display: grid;
    gap: 0;
}

.oferta-row--bikes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
}

.oferta-row--details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

.oferta-card {
    position: relative;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 118px;
    padding: 22px 34px;
}

.oferta-card + .oferta-card {
    border-left: 1px solid #e2e2e2;
}

.oferta-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.oferta-card__icon img {
    display: block;
    max-width: 74px;
    max-height: 74px;
}

.oferta-card__title {
    margin-bottom: 4px;
    color: #9BCB08;
    font-size: 27px;
    font-style: italic;
    font-weight: 800;
    line-height: 1.1;
}

.oferta-card__label,
.oferta-card__list {
    color: #9BCB08;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

.oferta-card__label {
    margin-bottom: 9px;
}

.oferta-card__brands {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.oferta-card__brands img {
    display: block;
    max-width: 130px;
    max-height: 40px;
}

.oferta-detail {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    padding: 0 24px;
}

.oferta-detail + .oferta-detail {
    border-left: 1px solid #e2e2e2;
}

.oferta-detail__icon img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.oferta-detail__title {
    color: #9BCB08;
    font-size: 18px;
    font-style: italic;
    font-weight: 800;
    line-height: 2.1;
}

.oferta-detail__list {
    margin-top: 4px;
    color: #333;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
}

@media (max-width: 767px) {
    section#oferta {
        padding: 44px 0 52px;
    }

    .oferta-box {
        max-width: none;
        padding: 0 20px;
    }

    .oferta-row--bikes,
    .oferta-row--details {
        grid-template-columns: 1fr;
    }

    .oferta-card,
    .oferta-detail {
        padding-left: 0;
        padding-right: 0;
    }

    .oferta-card + .oferta-card,
    .oferta-detail + .oferta-detail {
        border-left: 0;
        border-top: 1px solid #e2e2e2;
    }

    .oferta-row--details {
        margin-top: 18px;
        border-top: 1px solid #d8d8d8;
        border-bottom: 1px solid #d8d8d8;
    }

    .oferta-detail {
        min-height: 86px;
    }
}



/* ------------------------ 2. Rowery ------------------------ */

section#rowery {
    padding: 70px 0 80px;
    background: #fff;
}

.rowery-box {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.rowery-slider {
    position: relative;
    padding-bottom: 72px;
}

.rowery-slider .slick-list {
    margin: 0 -24px;
}

.rowery-slider .slick-slide {
    padding: 0 24px;
    box-sizing: border-box;
}

.rower-card {
    text-align: center;
}

.rower-card__image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 305px;
    margin-bottom: 22px;
}

.rower-card__image img {
    display: block;
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.rower-card__title {
    color: #111;
    font-size: 15px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.35;
}

.rower-card__sizes {
    margin-top: 6px;
    color: #707070;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.4;
}

.rower-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 7px 12px;
    color: #111;
    font-size: 10px;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    border: 1px solid #111;
    border-radius: 4px;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.rower-card__button:hover,
.rower-card__button:focus {
    color: #fff;
    border-color: #9BCB08;
    background: #9BCB08;
}

.rower-card__button img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.rowery-slider .slick-dots {
    display: none !important;
}

.rowery-slider__arrow {
    position: absolute;
    bottom: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 51px;
    height: 51px;
    padding: 0;
    color: #20223e;
    font-size: 17px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    background: #f0f1f2;
    border: 0;
    border-radius: 999px;
}

.rowery-slider__arrow--prev {
    left: calc(50% - 68px);
}

.rowery-slider__arrow--next {
    right: calc(50% - 68px);
}

.rowery-slider__arrow:hover,
.rowery-slider__arrow:focus-visible {
    color: #fff;
    background: #9BCB08;
}

.rowery-slider__arrow:focus {
    outline: none;
}

@media (max-width: 767px) {
    section#rowery {
        padding: 52px 0 64px;
    }

    .rowery-box {
        padding: 0 20px;
    }

    .rowery-slider .slick-list {
        margin: 0;
    }

    .rowery-slider .slick-slide {
        padding: 0;
    }

    .rower-card__image {
        min-height: 245px;
    }

    .rower-card__image img {
        max-height: 240px;
    }
}



/* ------------------------ 3. Galeria ------------------------ */

section#galeria {
    padding: 70px 0 80px;
    background: #fff;
}

.galeria-box {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.galeria-grid__item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f1f1f1;
}

.galeria-grid__item:nth-child(4n + 2),
.galeria-grid__item:nth-child(4n + 3) {
    aspect-ratio: 16 / 12;
}

.galeria-grid__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease, filter 0.28s ease;
}

.galeria-grid__item::after {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(0, 0, 0, 0);
    transition: background-color 0.28s ease;
}

.galeria-grid__item:hover img,
.galeria-grid__item:focus img {
    transform: scale(1.045);
    filter: contrast(1.05);
}

.galeria-grid__item:hover::after,
.galeria-grid__item:focus::after {
    background: rgba(0, 0, 0, 0.18);
}

section#galeria .gallery,
section#galeria .wp-block-gallery {
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 2px !important;
    margin: 0 auto !important;
    padding: 0 12px;
}

section#galeria .gallery br {
    display: none !important;
}

section#galeria .gallery-item,
section#galeria .wp-block-gallery .wp-block-image,
section#galeria .wp-block-gallery.has-nested-images figure.wp-block-image {
    width: auto !important;
    margin: 0 !important;
}

section#galeria .gallery-icon,
section#galeria .wp-block-gallery .wp-block-image,
section#galeria .wp-block-gallery.has-nested-images figure.wp-block-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f1f1f1;
}

section#galeria .gallery-item:nth-child(4n + 2) .gallery-icon,
section#galeria .gallery-item:nth-child(4n + 3) .gallery-icon,
section#galeria .wp-block-gallery .wp-block-image:nth-child(4n + 2),
section#galeria .wp-block-gallery .wp-block-image:nth-child(4n + 3),
section#galeria .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(4n + 2),
section#galeria .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(4n + 3) {
    aspect-ratio: 4 / 3;
}

section#galeria .gallery-icon a,
section#galeria .wp-block-gallery .wp-block-image a,
section#galeria .wp-block-gallery.has-nested-images figure.wp-block-image a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

section#galeria .gallery img,
section#galeria .wp-block-gallery img,
section#galeria .gallery video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    border: 0 !important;
    transition: transform 0.28s ease, filter 0.28s ease;
}

section#galeria .wp-block-video {
    max-width: 1120px;
    margin: 14px auto 0;
    padding: 0 12px;
}

section#galeria .wp-block-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #111;
}

.mgk-gallery-video-trigger {
    cursor: pointer;
    background: #111;
}

.mgk-gallery-video-trigger video {
    pointer-events: none;
}

.mgk-gallery-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 52px;
    height: 52px;
    background: rgba(0, 0, 0, 0.66);
    border: 2px solid rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.mgk-gallery-video-play::before {
    position: absolute;
    top: 50%;
    left: 53%;
    width: 0;
    height: 0;
    content: "";
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 17px solid #fff;
    transform: translate(-50%, -50%);
}

.mgk-gallery-video-trigger:hover .mgk-gallery-video-play,
.mgk-gallery-video-trigger:focus .mgk-gallery-video-play {
    background: rgba(155, 203, 8, 0.9);
    transform: translate(-50%, -50%) scale(1.06);
}

.mgk-video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(0, 0, 0, 0.86);
}

.mgk-video-lightbox.is-active {
    display: flex;
}

.mgk-video-lightbox__inner {
    width: min(1120px, 100%);
}

.mgk-video-lightbox__video {
    display: block;
    width: 100%;
    max-height: calc(100vh - 96px);
    background: #000;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.mgk-video-lightbox__close {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 2;
    width: 42px;
    height: 42px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.mgk-video-lightbox__close::before,
.mgk-video-lightbox__close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    content: "";
    background: #fff;
}

.mgk-video-lightbox__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mgk-video-lightbox__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mgk-video-lightbox__close:hover,
.mgk-video-lightbox__close:focus {
    background: #9BCB08;
    border-color: #9BCB08;
    outline: none;
}

body.mgk-video-lightbox-open {
    overflow: hidden;
}

section#galeria .gallery-icon:hover img,
section#galeria .gallery-icon:focus-within img,
section#galeria .gallery-icon:hover video,
section#galeria .gallery-icon:focus-within video,
section#galeria .wp-block-gallery .wp-block-image:hover img,
section#galeria .wp-block-gallery .wp-block-image:focus-within img,
section#galeria .wp-block-gallery.has-nested-images figure.wp-block-image:hover img,
section#galeria .wp-block-gallery.has-nested-images figure.wp-block-image:focus-within img {
    transform: scale(1.045);
    filter: contrast(1.05);
}

section#galeria .gallery-caption,
section#galeria .wp-block-gallery figcaption {
    display: none;
}

@media (max-width: 767px) {
    section#galeria {
        padding: 52px 0 64px;
    }

    .galeria-box {
        padding: 0 14px;
    }

    .galeria-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .galeria-grid__item,
    .galeria-grid__item:nth-child(4n + 2),
    .galeria-grid__item:nth-child(4n + 3) {
        aspect-ratio: 1 / 1;
    }

    section#galeria .gallery,
    section#galeria .wp-block-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px !important;
        padding: 0 10px;
    }

    section#galeria .gallery-icon,
    section#galeria .gallery-item:nth-child(4n + 2) .gallery-icon,
    section#galeria .gallery-item:nth-child(4n + 3) .gallery-icon,
    section#galeria .wp-block-gallery .wp-block-image,
    section#galeria .wp-block-gallery .wp-block-image:nth-child(4n + 2),
    section#galeria .wp-block-gallery .wp-block-image:nth-child(4n + 3),
    section#galeria .wp-block-gallery.has-nested-images figure.wp-block-image,
    section#galeria .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(4n + 2),
    section#galeria .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(4n + 3) {
        aspect-ratio: 1 / 1;
    }

    section#galeria .wp-block-video {
        margin-top: 8px;
        padding: 0 10px;
    }

    .mgk-gallery-video-play {
        width: 38px;
        height: 38px;
    }

    .mgk-gallery-video-play::before {
        border-top-width: 8px;
        border-bottom-width: 8px;
        border-left-width: 13px;
    }

    .mgk-video-lightbox {
        padding: 16px;
    }

    .mgk-video-lightbox__close {
        top: 12px;
        right: 12px;
    }
}



/* ------------------------ 4. Faq ------------------------ */

section#faq {
    margin: 50px auto;
}

.mgk-akordeon {
    margin: 0 10px;
}

.mgk-akordeon-item {
    margin: 20px 0;
    padding: 13px;
    border: 1px solid #eee;
    border-radius: 5px;
}

.mgk-akordeon-item.last-one {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 5px;
}

h3.mgk-akordeon-title {
    margin: 0;
    font-style: normal;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    color: #666666;
    font-size: 19px;
    font-weight: 200;
    margin: 1px 0;
}

.mgk-akordeon-title.active {
    color: #9BCB08;
    border-bottom: 0;
}

.mgk-akordeon-title::before {
    content: "+";
    color: #9BCB08;
    font-size: 30px;
    font-weight: 100;
    transition: transform 0.3s ease;
    margin-left: 20px;
    margin-right: 30px;
}

.mgk-akordeon-title.active::before {
    transform: rotate(45deg);
}

.mgk-akordeon-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 10px;
    transition: max-height 0.5s ease;
}

.mgk-akordeon-content.open {
    padding: 30px;
    border-bottom: 1px solid #ddd;
}

.mgk-akordeon-odp {
    padding: 10px 20px 5px 60px;
    font-size: 15px;
    color: #999;
    font-weight: 300;
}

.mgk-akordeon ul {
    list-style: circle;
    margin-left: 20px;
}

.mgk-akordeon li a {
    margin-right: 6px;
}



/* ------------------------ 5. Rezerwacje ------------------------ */

section#rezerwacja {
    padding: 70px 0 86px 0;
    background: #fff;
}

.rezerwacje-box {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid #ccc;
    border-radius: 7px;
}

.rezerwacje-form {
    padding-bottom: 4px;
}

.rezerwacje-form__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.rezerwacje-form__row--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rezerwacje-form__row--full {
    grid-template-columns: 1fr;
}

.rezerwacje-form__field label {
    display: block;
    margin-bottom: 7px;
    color: #111;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}

.rezerwacje-form .wpcf7-form-control-wrap {
    position: relative;
    display: block;
}

.rezerwacje-form input[type="text"],
.rezerwacje-form input[type="email"],
.rezerwacje-form input[type="tel"],
.rezerwacje-form input[type="date"],
.rezerwacje-form input[type="number"],
.rezerwacje-form select,
.rezerwacje-form textarea {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 12px 14px;
    color: #111;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.35;
    background: #ececec;
    border: 1px solid transparent;
    border-radius: 5px;
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.rezerwacje-form textarea {
    min-height: 150px;
    resize: vertical;
}

.rezerwacje-form input:focus,
.rezerwacje-form select:focus,
.rezerwacje-form textarea:focus {
    background: #f6f6f6;
    border-color: #9BCB08;
    outline: none;
}

.rezerwacje-form input::placeholder,
.rezerwacje-form textarea::placeholder {
    color: #8b8b8b;
}

.rezerwacje-form__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: -4px 0 24px;
    color: #555;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.45;
}

.rezerwacje-form__acceptance .wpcf7-list-item {
    margin: 0;
}

.rezerwacje-form__acceptance label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #555;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.45;
    cursor: pointer;
}

.rezerwacje-form__acceptance input[type="checkbox"] {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #9BCB08;
    cursor: pointer;
}

.rezerwacje-form__acceptance .wpcf7-list-item-label {
    display: block;
}

.rezerwacje-form__legal a {
    color: #111;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(155, 203, 8, 0.7);
    text-underline-offset: 3px;
}

.rezerwacje-form__legal a:hover,
.rezerwacje-form__legal a:focus {
    color: #6f9907;
}

.rezerwacje-form__legal .rezerwacje-form__rules {
    display: inline-flex;
    align-items: center;
    color: #555;
    font-weight: 300;
    text-decoration: none;
}

.rezerwacje-form__rules::before {
    margin-right: 14px;
    color: #9BCB08;
    content: "|";
    font-weight: 500;
}

.rezerwacje-form__rules strong {
    margin: 0 0.22em;
    color: #111;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(155, 203, 8, 0.7);
    text-underline-offset: 3px;
}

.rezerwacje-form__bottom {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: repeat(2, auto);
    align-items: center;
    justify-content: space-between;
    column-gap: 24px;
    row-gap: 6px;
    margin-top: 24px;
}

.rezerwacje-form__phone,
.rezerwacje-form__mail {
    justify-self: end;
    color: #111;
    font-size: 15px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.25;
    text-align: right;
    white-space: nowrap;
}

.rezerwacje-form__phone {
    grid-column: 2;
    grid-row: 1;
}

.rezerwacje-form__mail {
    grid-column: 2;
    grid-row: 2;
}

.rezerwacje-form__phone span,
.rezerwacje-form__mail span {
    color: #9BCB08;
    font-weight: 700;
}

.rezerwacje-form .wpcf7-submit {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 18px 10px 44px;
    color: #111;
    font-size: 11px;
    font-style: italic;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    background-color: #fff;
    background-image: url("../img/i-rower.svg");
    background-position: 15px 50%;
    background-repeat: no-repeat;
    background-size: 18px auto;
    border: 1px solid #111;
    border-radius: 5px;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.rezerwacje-form .wpcf7-submit:hover,
.rezerwacje-form .wpcf7-submit:focus {
    color: #fff;
    background-color: #9BCB08;
    border-color: #9BCB08;
}

.rezerwacje-form .wpcf7-spinner {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    margin: 0 -28px 0 10px;
}

.rezerwacje-form .wpcf7-not-valid {
    border-color: #d73f3f !important;
    background: #fff4f4 !important;
}

.rezerwacje-form .wpcf7-not-valid-tip {
    position: relative;
    display: inline-block;
    margin-top: 8px;
    padding: 7px 10px;
    color: #9f1f1f;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
    background: #fff4f4;
    border: 1px solid #f0b8b8;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(215, 63, 63, 0.08);
}

.rezerwacje-form .wpcf7-not-valid-tip::before {
    position: absolute;
    top: -5px;
    left: 12px;
    width: 8px;
    height: 8px;
    content: "";
    background: #fff4f4;
    border-top: 1px solid #f0b8b8;
    border-left: 1px solid #f0b8b8;
    transform: rotate(45deg);
}

.rezerwacje-box .wpcf7-response-output {
    position: relative;
    margin: 22px 0 0 !important;
    padding: 14px 16px 14px 42px !important;
    color: #111;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    background: #f7f7f7;
    border: 1px solid #dedede !important;
    border-left: 4px solid #9BCB08 !important;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.rezerwacje-box .wpcf7-response-output::before {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 14px;
    height: 14px;
    content: "";
    background: #9BCB08;
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px #fff;
}

.rezerwacje-box .wpcf7 form.sent .wpcf7-response-output {
    background: #f6fbeb;
    border-color: #d8ecaa !important;
    border-left-color: #9BCB08 !important;
}

.rezerwacje-box .wpcf7 form.invalid .wpcf7-response-output,
.rezerwacje-box .wpcf7 form.unaccepted .wpcf7-response-output,
.rezerwacje-box .wpcf7 form.spam .wpcf7-response-output,
.rezerwacje-box .wpcf7 form.failed .wpcf7-response-output,
.rezerwacje-box .wpcf7 form.aborted .wpcf7-response-output {
    background: #fff7f7;
    border-color: #f0b8b8 !important;
    border-left-color: #d73f3f !important;
}

.rezerwacje-box .wpcf7 form.invalid .wpcf7-response-output::before,
.rezerwacje-box .wpcf7 form.unaccepted .wpcf7-response-output::before,
.rezerwacje-box .wpcf7 form.spam .wpcf7-response-output::before,
.rezerwacje-box .wpcf7 form.failed .wpcf7-response-output::before,
.rezerwacje-box .wpcf7 form.aborted .wpcf7-response-output::before {
    background: #d73f3f;
}

@media (max-width: 767px) {
    section#rezerwacje {
        padding: 52px 0 64px;
    }

    .rezerwacje-box {
        padding: 18px;
        margin: 0 10px;
    }

    .rezerwacje-form__row,
    .rezerwacje-form__row--two {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 14px;
    }

    .rezerwacje-form__bottom {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        align-items: flex-start;
        gap: 18px;
    }

    .rezerwacje-form__legal {
        margin: -2px 0 20px;
        font-size: 12px;
    }

    .rezerwacje-form__rules::before {
        margin-right: 12px;
    }

    .rezerwacje-form .wpcf7-submit,
    .rezerwacje-form .wpcf7-spinner,
    .rezerwacje-form__phone,
    .rezerwacje-form__mail {
        grid-column: 1;
        grid-row: auto;
    }

    .rezerwacje-form__phone,
    .rezerwacje-form__mail {
        justify-self: start;
        text-align: left;
        white-space: normal;
    }

    .rezerwacje-form .wpcf7-spinner {
        justify-self: start;
        margin: -10px 0 0;
    }
}
