@font-face {
    font-family: 'Geometria Medium';
    src: url('https://www.vp-stav.cz/wp-content/uploads/2024/09/geometria_medium.woff2') format('woff2'),
        url('https://www.vp-stav.cz/wp-content/uploads/2024/09/geometria_medium.woff') format('woff'),
        url('https://www.vp-stav.cz/wp-content/uploads/2024/09/geometria_medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agrandir GrandHeavy';
    src: url('https://www.vp-stav.cz/wp-content/uploads/2024/09/Agrandir-GrandHeavy.woff2') format('woff2'),
        url('https://www.vp-stav.cz/wp-content/uploads/2024/09/Agrandir-GrandHeavy.woff') format('woff'),
        url('https://www.vp-stav.cz/wp-content/uploads/2024/09/Agrandir-GrandHeavy.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Geometria Medium', sans-serif;
}

/* Apply Agrandir GrandHeavy to headers and make them uppercase */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Agrandir GrandHeavy', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02rem;
    /* Apply letter-spacing */
}

/* Apply Agrandir GrandHeavy to specific H4 title */
.homepage-group-title.homepage-products-heading-2.h4 {
    font-family: 'Agrandir GrandHeavy', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.02rem;
    /* Apply letter-spacing */
}

/* Apply Geometria Medium to <ul>, <li>, <a>, and <nav> elements */
ul,
li,
a,
nav {
    font-family: 'Geometria Medium', sans-serif;
    font-weight: normal;
}

/* Apply Agrandir GrandHeavy to the product name with data-testid="productCardName" */
[data-testid="productCardName"] {
    font-family: 'Agrandir GrandHeavy', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.02rem;
    /* Apply letter-spacing */
}

/* Apply Agrandir GrandHeavy to the <a> elements with data-testid="headerMenuItem" */
[data-testid="headerMenuItem"] {
    font-family: 'Agrandir GrandHeavy', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.02rem;
    /* Apply letter-spacing */
}

div.next-to-carousel-banners {
    display: flex;
    width: 100%;
    gap: 20px;
}

.banner-wrapper {
    margin-right: 20px;
}

#content>div.row.banners-row>div.next-to-carousel-banners>div:nth-child(4) {
    margin-right: 0;
}

.navigation-in ul li a {
    text-transform: uppercase;
}

#content {
    display: flex;
    flex-direction: column;
}

.row.banners-row {
    /* order: 1; */
}

.welcome-wrapper.container-narrow {
    order: 2;
}

.homepage-group-title.homepage-products-heading-2.h4 {
    order: 3;
}

.products-wrapper.product-slider-holder.has-navigation {
    order: 4;
}

.fitted .navigation-in ul {
    justify-content: center;
}

#navigation .navigation-in ul li>a>b {
    padding: 5px;
    padding-bottom: 1px;
}

#navigation .navigation-in ul li:hover>a>b {
    background-color: #E2F500;
    padding: 5px;
    padding-bottom: 1px;
    text-decoration: none;
}

#navigation .navigation-in ul.menu-level-2 a>span {
    text-decoration: none !important;
}

#navigation .navigation-in ul.menu-level-2 a {
    padding: 5px;
    padding-bottom: 0px;
}

#navigation .navigation-in ul.menu-level-2 a:hover {
    background-color: #E2F500;
    padding: 5px;
    padding-bottom: 0px;
}

#navigation .navigation-in ul.menu-level-2 a.menu-image {
    padding: 20px;
    padding-bottom: 20px;
}

#navigation .navigation-in ul.menu-level-2 a.menu-image:hover {
    padding: 20px;
    padding-bottom: 20px;
}

.navigation-in>ul>li.ext>ul>li {
    flex-basis: 26%;
}

#header .header-bottom {
    border-width: 0;
}

#header .search-input {
    background-color: #FAFAFA;
    border-radius: 25px;
}

.search-input-icon {
    font-size: 20px;
    left: unset;
    right: 1px
}

#header .search-input:focus,
#header .search-input:hover {
    box-shadow: none;
    border: 1px solid;
    border-color: #E2F500;
    background-color: #E2F500;
}

#header .search-form:hover .search-input {
    box-shadow: none;
    border: 1px solid;
    border-color: #E2F500;
    background-color: #E2F500;
}

#content>div.welcome-wrapper.container-narrow>div>h1 {
    text-align: center;
}

/*.banner-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
} */

.extended-banner-texts {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Agrandir GrandHeavy', sans-serif;
    width: 100%;
    text-transform: uppercase;
}

.extended-banner-link,
.extended-banner-text,
.extended-banner-title {
    font-size: 1.9em;
    letter-spacing: 0.02rem;
    line-height: 1.1em;
    color: #000;
}

.extended-banner-title {
    padding: 15px !important;
}

.homepage-group-title {
    margin-bottom: 0;
}

.product-slider-holder {
    padding-top: 10px;
}

.products-block>div .p .p-code {
    display: none;
}

.products-block>div:hover {
    box-shadow: none;
    border: 2px solid #E2F500;
}

.btn.btn-cart:hover,
.btn.btn-conversion:hover,
a.btn.btn-cart:hover,
a.btn.btn-conversion:hover {
    color: white;
}

.banner-link {
    position: absolute !important;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
}

.banner-button {
    background-color: #E2F500;
    color: black;
    padding: 8px 30px;
    cursor: pointer;
    border-radius: 45px;
    border: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
}

.banner-button:hover {
    transform: scale(1.1);
    background-color: #7CFF01;
}

a.social-icon {
    color: var(--color-secondary-hover);
}

#footer a.banner-link {
    display: none;
}

.custom-footer__banner4.col-sm-6.col-lg-3 {
    width: 16%;
    height: 210px;
    display: flex;
    align-items: center;
}

.footer-rows h4 {
    margin-bottom: 10px;
    text-align: center;
}

.custom-footer__contact.col-sm-6.col-lg-3>div>ul,
.custom-footer__articles.col-sm-6.col-lg-3>ul {
    text-align: center;
}

.custom-footer__banner9.col-sm-6.col-lg-3 {
    width: 34%;
}

.custom-footer__banner9.col-sm-6.col-lg-3>div>div>span>p {
    text-align: center;
}

#ec_form_1-43c2cd496486bcc27217c3e790fb4088>div>form {
    width: 100%;
}

#f-1-43c2cd496486bcc27217c3e790fb4088 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#ec_form_1-43c2cd496486bcc27217c3e790fb4088>div {
    display: flex;
    justify-content: center;
    width: 90%;
}

.custom-footer__banner9.col-sm-6.col-lg-3>div>div {
    display: initial !important;
}

.ec-v-form-column {
    width: 100%;
}

.ec-v-form-spacer {
    display: none;
}

#ec_form_1-43c2cd496486bcc27217c3e790fb4088>div>form>div.ec-v-form-step.ec-v-form-step-visible>div>div.ec-v-form-input {
    padding: 0 0 7px 0px !important;
}

.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 1px;
}

.contact-details {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.prodejna {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.kontakt-bold {
    font-weight: 600;
}

.adresa,
.provozni-doba {
    width: 100%;
}

.provozni-doba>ul {
    margin-top: 0;
    padding-left: 0;
}

.telefon>p,
.email>p {
    margin-bottom: 0 !important;
}

.provozni-doba>ul>li::before,
.contact-box>ul>li::before {
    display: none;
}

.contact-h3 {
    margin-top: 40px;
}

.contact-h3,
#content>div>article>header>h1,
.telefon,
.email {
    text-align: center;
}

.contact-wrapper>p:nth-child(5) {
    text-align: center;
    margin-bottom: 0 !important;
    font-weight: 600;
}

#formContact {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.ec-v-form-step-visible>div:nth-child(3),
.ec-v-form-step-send.ec-v-form-step-visible>div {
    vertical-align: middle !important;
}

.site-msg {
    padding: 3ex 1em;
    background-color: var(--color-tertiary);
}

.site-msg.information {
    max-width: 500px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 1;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.site-msg.information>div {
    text-align: center;
}

.site-msg.information>div>div.text>a {
    font-weight: 600;
}

#ec-v-form-slider-handle>a {
    font-weight: 600;
    padding: 10px 20px 15px 20px;
}

.homepage-group-title.homepage-products-heading-2.h4 {
    order: 2;
}

.products-wrapper.product-slider-holder.has-navigation {
    order: 3;
}

.welcome-wrapper.container-narrow {
    order: 4;
}

.shop-tlacitko {
    background-color: #E2F500;
    color: #000000;
    font-family: 'Geometria Medium', sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.shop-tlacitko:hover {
    background-color: #FB4A54;
    color: white;
    cursor: pointer;
}

.desktop.id-731.in-potvrzeni-odberu #content>div>article>header>h1 {
    color: #FB4A54;
}

#cart-wrapper>div>div.row.summary>div.col-md-8>div>div.toggle-coupon-input-button {
    font-weight: bold;
    color: #FB4A54;
    font-size: 20px;
}

.discount-coupon .btn.btn-arrow-right.btn-text:before {
    content: "Potvrdit";
    font-weight: 600;
    text-transform: uppercase;
}

@media only screen and (max-width: 768px) {
    div.next-to-carousel-banners {
        flex-direction: column;
    }

    .custom-footer__banner4.col-sm-6.col-lg-3 {
        display: flex;
        justify-content: center;
    }

    .custom-footer__banner4.col-sm-6.col-lg-3,
    .custom-footer__contact.col-sm-6.col-lg-3,
    .custom-footer__banner9.col-sm-6.col-lg-3,
    .custom-footer__articles.col-sm-6.col-lg-3 {
        width: 100%;
    }

    .custom-footer__banner4.col-sm-6.col-lg-3>div {
        width: 60%;
    }

    .banner-wrapper {
        height: 200px;
        padding: 10px;
        margin-right: 0;
        margin-bottom: 10px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .banner-wrapper>a:first-child {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .banner-wrapper>a:first-child img {
        width: 100%;
        height: auto;
        object-fit: cover;
        bottom: 70%;
        position: relative;
    }

    .custom-footer__banner4.col-sm-4>div {
        margin-bottom: 0;
        min-height: 1px;
    }

    .custom-footer__banner4.col-sm-4>div>div {
        min-height: 150px;
    }

    .custom-footer__banner4.col-sm-4>div>div>a.extended-empty>img,
    .custom-footer__banner4.col-sm-6.col-lg-3>div>div>a.extended-empty>img {
        bottom: 0;
    }

    .custom-footer__banner4.col-sm-4>div>div>a.extended-empty {
        top: initial;
        left: initial;
    }

    .extended-banner-texts {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 80%;
        max-width: 90%;
        z-index: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .extended-banner-title {
        font-size: 2em;
        letter-spacing: 0.01rem;
        line-height: 1.1em;
        margin: 0;
        padding: 0;
        color: white;
        text-shadow: 0 0 20px rgb(0 0 0 / 56%);
        position: static;
        left: auto !important;
        right: auto !important;
        transform: none;
        width: 100%;
        padding: 15px !important;
    }

    .next-to-carousel-banners {
        left: auto !important;
        right: auto !important;
        position: static !important;
    }

    .banner-link {
        display: none !important;
    }

    #content>div.welcome-wrapper.container-narrow>div>div>div {
        flex-direction: column;
    }

    #content>div.welcome-wrapper.container-narrow>div>div>div>div:nth-child(1) {
        width: 100% !important;
    }

    #content>div.welcome-wrapper.container-narrow>div>div>div>div:nth-child(2) {
        width: 100% !important;
        margin-left: 0 !important;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 5px;
    }

    .welcome-wrapper {
        margin-top: 0;
        margin-bottom: 0;
        padding-bottom: 0;
        padding-top: 0;
    }

    .homepage-group-title {
        margin-top: 20px;
    }

    .contact-box {
        padding: 0;
    }

    .contact-details,
    .prodejna {
        flex-direction: column;
    }

    .adresa-provozni {
        order: 1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .adresa-mapa {
        order: 2;
    }

    #formContact {
        width: 80%;
    }

}

.col-sm-8:has(#carousel),
.col-sm-4:has(.next-to-carousel-banners) {
    width: 100%;
    padding: 0;
}

.banner-wrapper {
    margin-top: 0 !important;
    margin-right: 0 !important;
}

#carousel video {
    max-width: 100%;
}

#carousel {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    #carousel video {
        max-height: 100vh;
        max-width: 100vw;
    }
}