.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;
}

.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);
}
