/*
 Theme Name:   Blocksy Child
 Theme URI:    https://yourwebsite.com
 Description:  Child theme for Blocksy
 Author:       Your Name
 Author URI:   https://yourwebsite.com
 Template:     blocksy
 Version:      1.0.0
*/

@font-face {
    font-family: 'Space Grotesk';
    src: url('/wp-content/uploads/fonts/space-grotesk/SpaceGrotesk-VariableFont_wght.ttf') format('ttf');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('/wp-content/uploads/fonts/space-grotesk/SpaceGrotesk-VariableFont_wght.ttf') format('ttf');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('/wp-content/uploads/fonts/space-grotesk/SpaceGrotesk-VariableFont_wght.ttf') format('ttf');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
.ct-sidebar{
    position: static;
    background-color:#8FD3D0  !important;
    padding: 20px;
    color: white !important;
    -webkit-box-shadow: 0px 0px 40px 0px rgba(105,105,105,1);
    -moz-box-shadow: 0px 0px 40px 0px rgba(105,105,105,1);
    box-shadow: 0px 0px 40px 0px rgba(105,105,105,1);
}
#depicter-1,#depicter-144{
    margin-top: -80px;
}
.ct-panel-inner{
    background-color: var(--theme-palette-color-8) !important;
}
.ct-panel-inner .ct-menu-link:hover{
    background-color: var(--theme-palette-color-6) !important
}
.ct-panel-inner .ct-menu-link:target{
    background-color: var(--theme-palette-color-1) !important;
    color: white !important;
}
.hello-gabriela{
    top: -5.54em;
    position: relative;
    width: 100%;
    background-color: rgba(255,255,255,0.6);
    height: 100%;
    margin-bottom: -80px !important;
}
#block-17{
    height: 0px;
}
.mss-phone-field label,input{
    color: var(--theme-palette-color-2) !important;
    border-color: var(--theme-palette-color-2) !important;
}
.mss-phone-field .iti__selected-dial-code{
    color: var(--theme-palette-color-2) !important;
}
.forminator-submit{
    border-radius: 5px !important;

}
.whatsapp-call{
    scale: 1.5;
}
.whatsapp-number a:hover{
    color:#E4D5B5;
}
#forminator-module-22{
    text-align:center;
}
.forminator-button-submit{
    background-color: #E4D5B5;
    border-radius: 20px !important;
    width: 120px !important;
}
/*Front page tiles*/
.zoom{
    border-radius: 0%;
    transition: box-shadow 0.5s, transform 0.5s;
}
.zoom img  {
    transition: transform 0.5s, filter 0.5s ease-in-out;
    filter: blur(0px) !important;
    transform: scale(1.2);
}
.zoom:hover img {
    filter: blur(10px) !important;
    transform: scale(1);
}
.zoom-text {
    transition: font-size 1s ease-in-out;
    font-weight: 600;
    text-decoration: none !important;
}
.zoom:hover .zoom-text{
    font-size: 200%;
}
/*Nový hover přes kameny v úvodu*/
.blur-stone:has(.cover-link) img {
    transition: transform 0.5s, filter 0.5s ease-in-out;
    filter: blur(0px) !important;
    transform: scale(1.2);
}
.blur-stone:has(.cover-link:hover) img {
    filter: blur(10px) !important;
    transform: scale(1);
}
a{
    text-decoration: none;
}
.heartbeat {
    -webkit-animation: heartbeat 1.5s ease-in-out 2s infinite both;
    animation: heartbeat 1.5s ease-in-out 2s infinite both;
}
.frontpage-rocks a{
    color: white;
    text-decoration: none;
}
/* ----------------------------------------------
 * Generated by Animista on 2025-3-12 16:50:55
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation heartbeat
 * ----------------------------------------
 */
@-webkit-keyframes heartbeat {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    10% {
        -webkit-transform: scale(0.91);
        transform: scale(0.91);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    17% {
        -webkit-transform: scale(0.98);
        transform: scale(0.98);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    33% {
        -webkit-transform: scale(0.87);
        transform: scale(0.87);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    45% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}
@keyframes heartbeat {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    10% {
        -webkit-transform: scale(0.91);
        transform: scale(0.91);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    17% {
        -webkit-transform: scale(0.98);
        transform: scale(0.98);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    33% {
        -webkit-transform: scale(0.87);
        transform: scale(0.87);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    45% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}
/*BOUNCE */
.eg-bounce {
    animation: bounce 2s ease infinite;
}
@keyframes bounce {
    70% {
        transform:translateY(0%);
    }
    80% {
        transform:translateY(-15%);
    }
    90% {
        transform:translateY(0%);
    }
    95% {
        transform:translateY(-7%);
    }
    97% {
        transform:translateY(0%);
    }
    99% {
        transform:translateY(-3%);
    }
    100% {
        transform:translateY(0);
    }
}
/*MODAL*/
@media screen and (min-width: 900px){
    .custom-modal {
        /*display: none;*/ /* Hidden by default */
        position: fixed;
        z-index: 100; /* Sits on top */
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0,0,0,0.5); /* Black background with opacity */
        animation: fadeIn 0.5s; /* Fade in animation */
        pointer-events: all;
    }
    .custom-modal-content {
        display: block;
        position: fixed;
        top: 15px;
        left: 0;
        height: calc(100vh - 90px);
        margin-left: calc(100vw - 95%);
        padding: 20px;
        z-index: 100;
        width: 90vw;
        border-radius: 0px !important;
        background-color: var(--theme-palette-color-8);
        margin-top: 2.5vh;
        overflow: hidden;
        overflow-y: scroll;
    }
    .eg_content{
        width: auto;
        padding: 20px;

    }
}
.custom-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.custom-modal-close:hover,
.custom-modal-close:focus {
    color: black;
}
/*Datepicker correction*/
.flatpickr-calendar {
    z-index: 15 !important;
}

/* Nebo obecně pro všechny calendary ve Forminatoru */
.forminator-datepicker-calendar {
    z-index: 15 !important;
}

/* Fade in keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.forminator-submit{
    width: 100% !important;
    border-radius: 5px !important;
}
.custom-add-to-cart-button:hover{
    -webkit-box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.75);
}
.forminator-eg-hidden{
    display: none;
}

/*PRODUCT LOOP*/
.woocommerce-loop-product__title{
    position: absolute;
    text-align:center;
    background-color: rgba(252, 247, 240, 0.8);
    width: 100%;
    font-size: 1.5em;
}
.entry-meta{
    position: absolute;
    background-color: rgba(252, 247, 240,0.8);
    text-align:center;
    margin-top: 36px;
    width: 100%;
}
.product-location{
    position: absolute;
    background-color: rgba(252, 247, 240,0.8);
    text-align:center;
    margin-top: 59px;
    width: 100%;
}
.product-location:hover{
    color: #7f5a29;
}
.product-hotel{
    position: absolute;
    background-color: #e4d5b5;
    text-align:center;
    margin-top: -49px;
    width: 100%;
}
.product-hotel:hover{
    color: #7f5a29;
}
.custom-price-label>a:hover{
    color: #7f5a29;
}
.price{
    position: absolute;
    top: 40%;
    background-color: rgba(252, 247, 240,0.8);
    margin-left: auto;
    align-self: center;
    padding: 5px;
}
.summary .price{
    position: inherit;
    background-color: rgba(255,255,255,0);
}
.accordion-header,.accordion-content{
    text-align:center !important;
}
.accordion-header{
    background-color: var(--theme-palette-color-6) !important;
    border-color: var(--theme-palette-color-6) !important;
}
.aagb__accordion_heading {
    justify-content:center !important;
    text-align:center;
}
.aagb__accordion_head {
    background-color: var(--theme-palette-color-6) !important;
}
/*BOTTOM CONTACT*/
.bottom-contact {
    display: flex ;
    align-items: center;
    position:fixed;
    width: 95vw;
    color: var(--theme-palette-color-2);
    justify-content: space-between;
    background-color: #25D366;
    bottom:0px;
    left:50%;
    border-radius: 20px 20px 20px 20px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    transform:translateX(-50%);
    z-index:9999;
    padding:10px 20px;
    font-size: 18px;
    text-transform: uppercase;
    box-shadow: 0px 0px 23px 10px rgba(0,0,0,0.75);
    -webkit-box-shadow: 0px 0px 23px 10px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 23px 10px rgba(0,0,0,0.75);
}
.contact-text{
    font-weight:600;
}
@media screen and (min-device-width: 900px) {
    /* Sidebar fixní šířka na desktopu */

    #sidebar {
        width: 300px;
        flex-shrink: 0;
        position: sticky;
        top: 170px;
        margin-right: 30px;

    }
}
@media screen and (max-device-width: 899px) {
    body.modal-open {
        overflow: hidden;
        z-index: 110;
    }
    .contact-hide{
        display: none;
        font-weight: 600;

    }
    #sidebar{
        display: none;
        position: fixed;
        z-index: 110;
        width: 90vw;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        /*padding-bottom: 40px;*/

    }
    .ct-sidebar {
        padding-bottom: 80px;
        overflow-y: scroll;
        height: 100vh;
    }
    .custom-modal {
        /*display: none;*/ /* Hidden by default */
        position: fixed;
        z-index: 150; /* Sits on top */
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0,0,0,0.5); /* Black background with opacity */
        animation: fadeIn 0.5s; /* Fade in animation */
        pointer-events: all;
    }
    .custom-modal-content {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 151;
        width: 100vw;
        background-color: var(--theme-palette-color-8);
        padding: 10px;
    }
    .eg_content{
        width: auto;
        height: 73vh;
        overflow-y: scroll;
        padding: 20px;
    }
}

.hotel-stars {
    font-size: 0.6em;      /* poměr k velikosti nadpisu */
    font-weight: normal;   /* méně tučné */
    vertical-align: super; /* posunout mírně nahoru */
    letter-spacing: 0.05em;
}
.eg_stay{
    display: inline-block;      /* nebo block podle potřeby */
    white-space: nowrap;        /* žádné zalamování textu */
    overflow: hidden;           /* ořízne přetečení */
    font-size: clamp(16px, 5vw, 48px);
}

.stk--inner-svg {
    fill: #947345;
    stroke: #947345;
}
.depicter-bg-container {
    margin-top: -100px !important;
}

.woocommerce-notices-wrapper {
    margin-top: -60px !important;
}
.entry-content {
    margin-top: 30px;
}
.hotel-attribute {
    text-transform: uppercase !important;
    font-size: 30px !important;
}

.woocommerce-tabs {
    padding-top: 10px !important;
}
.tab-hotel_page_tab,tab-location_page_tab {
    display: none;
}
.product-location {
    font-size: 13px;
    height: 28px;
    padding-top: 5px;
    padding-bottom: 30px;

}

.forminator-date input[readonly] {
    cursor: pointer;
}


/*Seznam hotelů*/
.content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 2rem;

}

.main-content {
    flex: 1;
    min-width: 0;

}
.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    text-align: center;
    justify-content: center;
}
.hotel-card {
    display: grid;
    align-content: space-between;
    height: 350px;
    background-color: var(--theme-palette-color-6);
    margin: 10px 5px 10px 5px;
    transition: transform 0.3s ease;
    overflow: hidden;
}
.hotel-card img {
    transition: transform 0.3s ease;
}
.hotel-card:hover img {
    transform: scale(1.05);
    position: static;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.hotel-card img {
    width: 100%;
    height: 250px;
}
.hotel-card h5 {
    /*height: 64px;*/
    overflow: hidden;
    padding: 0px;
    display: grid;
    align-items: center;
    padding: 0px 10px 0px 10px;
    margin: 0px;
    font-size: clamp(16px, 1vw, 48px);
    line-height: 2;
    word-break: break-word;
    text-align: center; /* volitelné */
    font-weight: 600;
}
.hotel-card h6 {
    height: 30px;
}
.hotel-card h6 p {
    padding: 0px;
    margin: 0px;
}




/* Hlavní obsah „obsadí“ zbývající šířku */
.main-content {
    width: calc(100vw - 300px);
    min-width: 0;
}

/* Responzivní úprava pro mobilní zobrazení
@media (max-width: 900px) {
    .content-wrapper {
        flex-direction: column;
    }
    #secondary,
    .sidebar,
    .widget-area {
        width: 100% !important;
        max-width: 100% !important;
    }
    .main-content {
        width: 100%;
    }
}

*/


/*Balíčky na stránce hotelu*/





.eg-hotel-products-grid ul.products {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.eg-hotel-products ul.products h5 {
    font-size: 24px;
    font-weight: 400;
}
@media screen and (min-width: 600px) {
    .eg-hotel-products-grid ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
}

@media screen and (min-width: 1600px) {
    .eg-hotel-products-grid ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
}

.eg-hotel-products-grid ul.products li.product {
    background: #f0e2c2;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.eg-hotel-products-grid ul.products li.product:hover img{
    transform: scale(1);
    /*box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);*/
}

/* Horní panel */
.product-header {
    position: relative;
    background: #e6d4b4;
    width: 100%;
    padding: 15px 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    z-index: 10;
}

.product-header .woocommerce-loop-product__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px;

}

.product-header .product-hotel {
    font-size: 1rem;
    font-weight: 500;
    color: #3e2b15;
}

.product-header .product-location {
    font-size: 0.9rem;
    color: #5c4a32;
}

/* Obrázek + cena overlay */
.product-image-wrapper {
    position: relative;
    width: 100%;
    max-height: 230px;
    display: table;
}

.product-image-wrapper img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: all 0.3s ease;
    transform: scale(1.05);
    max-height: 320px;
}

.product-image-wrapper .price {
    position: absolute;
    left: 0;
    width: 100%;
    background: rgba(226, 207, 173, 0.85);
    color: #2a1b0e;
    padding: 8px 10px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;

}


/*MINI PHOTO*/
.mini-photo {
    display: inline-block;
    background-image: url("https://medicalspaspecialist.com/wp-content/uploads/2025/06/contact-photo-ractangle.png");
    width: 50px;
    height: 50px;
    background-size: cover;
    overflow: hidden;
    border-radius: 100px;
}


/*Request best offer nahoře u produktů*/
@media screen and (min-device-width:1200px){


    .eg-offer-button-wrapper {
        position: absolute;
        top: 280px;
        left: 600px;
    }
}
@media screen and (max-device-width:1200px){
    .eg-offer-button-wrapper{
        position: fixed;
        bottom: 235px;
        right: 30px;
        width: 67px;
        z-index: 100;
        opacity: 80%;
    }
}
.product_title {
    position: relative;
}

.eg-hotel-products-grid .product-link {
    width: 100%;
    display: grid;
}
.eg-hotel-products-grid a {
    width: 100%;
    display: grid;
}

/*ACCORDEON*/

.wp-block-woocommerce-accordion-header, .wp-block-accordion-heading {
    background-color: var(--theme-palette-color-6);
    margin-bottom: 0px !important;
    margin-top: 5px !important;
    padding-left: 10px !important;
    border-radius: 5px 5px 0px 0px;
}
.wp-block-woocommerce-accordion-group {
    margin-bottom: 0px !important;
}
.wp-block-woocommerce-accordion-item {
    margin-bottom: 0px !important;
}
.wp-block-woocommerce-accordion-item h3 {
    font-weight: 600;
    font-size: 1em !important;
}
.wp-block-woocommerce-accordion-item .wp-block-woocommerce-accordion-item {
    margin-left: 15px;
    margin-right: 15px;
}
.accordion-content__wrapper {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #E4D5B5;
}

/*HOTEL ICONS*/
.hotel-icons {
    margin-left: 15px;
}
.hotel-icon i {
    margin-right: 10px;
    width: 20px;
}

/* === PAGE LOADER === */
#eg-page-loader {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.85);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

#eg-page-loader.active {
    display: flex;
}

.eg-spinner {
    width: 64px;
    height: 64px;
    border: 5px solid #ddd;
    border-top-color: #000;
    border-radius: 50%;
    animation: eg-spin 0.9s linear infinite;
}

@keyframes eg-spin {
    to {
        transform: rotate(360deg);
    }
}

.aagb__accordion_head {
    scroll-margin-top: 125px !important;
}

/*Gallery click disabled*/
.ngg-galleryoverview a,
.ngg-gallery-thumbnail a {
    pointer-events: none !important;
    cursor: default !important;
}

/*VIDEO POPUP*/
#page-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    z-index: 9999;
    display: none;
}

#page-popup.active {
    display: block;
}

#page-popup .popup-inner {
    background: #fff;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    position: relative;
}

.popup-close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 32px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}
/* ===== FULLSCREEN POPUP – MEDICAL SPA STYLE ===== */

#page-popup {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: none;
}

#page-popup.active {
    display: block;
}

/* vnitřní kontejner */
#page-popup .popup-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f8f6f3; /* krémová */
    overflow-y: auto;
}

/* obsah */
#popup-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px 80px;
}

/* sjednocení Gutenberg obsahu */
#popup-content .entry-content {
    font-size: 16px;
    line-height: 1.7;
    color: #3b3b3b;
}

/* ===== ZAVÍRACÍ TLAČÍTKO ===== */

.popup-close {
    position: fixed;
    top: 32px;
    right: 40px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(180, 160, 120, 0.6);
    color: #b9a36a;
    font-size: 28px;
    cursor: pointer;
    z-index: 100000;
    transition: all .3s ease;
}

.popup-close:hover {
    background: rgba(185, 163, 106, 0.1);
    transform: rotate(90deg);
}

/* ===== NADPISY ===== */

#popup-content h1,
#popup-content h2 {
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #2e2e2e;
    margin-bottom: 1.2em;
}

/* zlatá linka pod H2 */
#popup-content h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        #c7b27c,
        transparent
        );
    margin-top: 16px;
}

/* ===== VIDEA (YouTube) ===== */

#popup-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
    margin: 40px 0;
}

/* ===== MOBIL ===== */

@media (max-width: 768px) {

    #popup-content {
        padding: 90px 20px 60px;
    }

    .popup-close {
        top: 20px;
        right: 20px;
    }
}
