


.gallery-with-thumbs-container {
    width: 100%;
    position: relative;
    margin-bottom: 1rem;
}

.swiper-gallery {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.swiper-gallery .swiper-slide {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.block-gallery {
    margin: 0;
    width: 100%;
    height: 100%;
}

.swiper-thumbs {
    padding: 10px 0;
    box-sizing: border-box;
    height: 120px;
}

.swiper-thumbs .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.5;
    cursor: pointer;
    border: 3px solid #555;
    border-radius: 0.375rem;
    overflow: hidden;
    transition: opacity 0.3s, border-color 0.3s;
    box-sizing: border-box;
}

.swiper-thumbs .swiper-slide:hover {
    opacity: 0.8;
}

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

.swiper-thumbs .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-with-thumbs-container .custom-navigation {
    position: absolute;
    top: 300px;
    left: 0;
    width: 100%;
    z-index: 20;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.custom-navigation .custom-btn {
    pointer-events: auto;
    cursor: pointer;
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
}

.gallery-with-thumbs-container:hover .custom-navigation .custom-btn {
    opacity: 1;
    transform: scale(1);
}

.custom-navigation .custom-btn:hover {
    background-color: #D70006;
    color: white;
    box-shadow: 0 6px 15px rgba(215, 0, 6, 0.4);
    transform: scale(1.1);
}

.custom-navigation .custom-btn i {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

.wptb-item--buttons {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}


.wptb-item--buttons .btn {
    flex: 1 0 0;
    width: auto;
    min-width: 0;

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

    padding-left: 5px !important;
    padding-right: 5px !important;
    text-align: center;
}

.wptb-item--buttons .btn .btn-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
