.re-self-head-spa h1 {
    margin-bottom: 1rem !important;
    margin-left: -3px !important;
}

.re-self-head-spa h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2em;
    letter-spacing: .025em;
    text-transform: uppercase;
    margin-bottom: 1rem !important;
}

.re-self-head-spa h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2em;
    letter-spacing: .025em;
    text-transform: uppercase;
    margin-bottom: 1rem !important;
}

.re-self-head-spa .head-spa-prices h3 {
    text-align: center !important;
}

/* Offset in-page anchor jumps so the target clears the fixed-top navbar
   instead of hiding beneath it (e.g. #cennik from the mobile prices link). */
#cennik {
    scroll-margin-top: 80px;
}

@media (min-width: 576px) {
    #cennik {
        scroll-margin-top: 120px;
    }
}

.re-self-head-spa .btn-voucher {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #000000;
}

/* Mobile condensed price list (shown after gallery, below md) */
.head-spa-prices-mobile {
    /* Opt out of the global `section { min-height: 309px }` mobile rule so the
       block is content-sized; otherwise empty space appears below the button. */
    min-height: auto !important;
    /* Match the text blocks' `.container-mobile` spacing (70px 20px 50px 20px). */
    padding: 70px 20px 50px 20px;
}

/* #cabinet2_text holds only the desktop price columns (.container-desktop).
   The global `[id*="_text"] { display: flex !important }` mobile rule force-shows
   it on mobile, leaving an empty 309px-tall section — the gap above the voucher
   image. The condensed .head-spa-prices-mobile block covers pricing on mobile,
   so keep this section hidden there. */
@media (max-width: 768px) {
    #cabinet2_text {
        display: none !important;
    }
}

.head-spa-prices-mobile .price-list {
    border-top: 1px solid rgba(18, 73, 79, 0.15);
}

.head-spa-prices-mobile .price-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(18, 73, 79, 0.15);
}

.head-spa-prices-mobile .price-item-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.head-spa-prices-mobile .price-item-name {
    text-align: left !important;
}

.head-spa-prices-mobile .price-item-head .price {
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.head-spa-prices-mobile .price-item-desc {
    font-size: 15px;
    line-height: 1.45;
    color: #333;
}

.head-spa-prices-mobile .price-item-duration {
    display: block;
    font-size: 13px;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #6b6b6b;
}
/* Swiper Gallery Styles */
.head-spa-gallery .swiper {
    width: 100%;
    position: relative;
}

.head-spa-gallery .swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The slide is a flex container, so without an explicit width the link
   shrinks to its content and the img's 100% width resolves to 0 until the
   image loads. The late growth pushed #cennik down after anchor scrolling. */
.head-spa-gallery .swiper-slide > a {
    display: block;
    width: 100%;
}

.head-spa-gallery .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.head-spa-gallery .swiper-button-next,
.head-spa-gallery .swiper-button-prev {
    color: #333;
    background-color: rgba(255, 255, 255, 0.7);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    margin-top: 0;
    cursor: pointer;

    i:before {
        margin: 15px 0 0 15px;
    }
}

.head-spa-gallery .swiper-button-next {
    right: 30px;
}

.head-spa-gallery .swiper-button-prev {
    left: 30px;
}

.head-spa-gallery .swiper-button-next:hover,
.head-spa-gallery .swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.head-spa-gallery .swiper-button-next::after,
.head-spa-gallery .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.head-spa-gallery .swiper-pagination-bullet {
    background-color: #333;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.head-spa-gallery .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #333;
}

.head-spa-gallery .gallery-item {
    display: block;
    transition: transform 0.3s ease;
}

.head-spa-gallery .gallery-item:hover {
    transform: scale(1.05);
}

/* Booksy reviews strip (home page) */
/* Same spacing as .head-spa-gallery: py-5 (48px) on the column, plus the
   swiper's py-3 (16px) below the slides. */
.booksy-reviews {
    padding: 48px 16px 64px;
}

.booksy-reviews__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    max-width: 1600px;
    margin: 0 auto 20px;
    padding: 0 48px;
}

.booksy-reviews__summary {
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

.booksy-reviews__summary:hover {
    text-decoration: underline;
}

.booksy-reviews__stars {
    color: #c0a062;
    letter-spacing: .1em;
}

.booksy-reviews__stars--off {
    color: rgba(0, 0, 0, .15);
}

.booksy-reviews__body {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 48px;
}

.booksy-reviews .booksy-review {
    display: flex;
    flex-direction: column;
    height: auto;
    margin: 0;
    padding: 18px 20px;
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.booksy-review__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #6b6b6b;
}

.booksy-review__meta .booksy-reviews__stars {
    font-size: 15px;
}

/* At most 5 lines of text: the strip stays low. */
.booksy-review__text {
    flex: 1 0 auto;
    margin: 0 0 10px;
    min-height: calc(1.5em * 5);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
}

.booksy-review__author {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booksy-review__author span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #6b6b6b;
}

.booksy-reviews__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
    color: #333;
    transition: background-color .3s ease;
    z-index: 2;
}

.booksy-reviews__nav:hover {
    background: #fff;
}

.booksy-reviews__nav.swiper-button-disabled {
    opacity: .35;
    cursor: default;
}

.booksy-reviews__nav--prev {
    left: 4px;
}

.booksy-reviews__nav--next {
    right: 4px;
}

@media (max-width: 575.98px) {
    .booksy-reviews__head {
        padding: 0 36px;
    }

    /* 36px arrows at the edges, 8px clear of the card. */
    .booksy-reviews__body {
        padding: 0 44px;
    }

    .booksy-reviews__nav--prev {
        left: 0;
    }

    .booksy-reviews__nav--next {
        right: 0;
    }
}
