

* {
    font-family: "bc-novatica-cyr", sans-serif;
    --w_light: 300;
    --w_regular: 400;
    --w_medium: 500;
    --w_semibold: 600;
    --w_bold: 700;



    font-weight: var(--w_regular);

    -webkit-font-smoothing: subpixel-antialiased !important; 
    text-rendering:optimizeLegibility !important;
    box-sizing: border-box;

    --body_c: url("../img/textura_pozadi/bg_1920_webp.webp") top/contain repeat;
    --main_c: transparent;

    --logo: url("../img/logo_500x122.png") bottom/contain no-repeat;
    --logo_scroll: url("../img/logo_500x122.png") bottom/contain no-repeat;

    --logo_small: url("../img/logo_500x122.png") bottom/contain no-repeat;
    --logo_pata: url("../img/logo_500x122_pata.png") bottom/contain no-repeat;
    --logo_pata-small: url("../img/logo_500x338_pata.png") bottom/contain no-repeat;



    --padding: min(8vw,140px);
    --min_width: min(100%, 1364px);
    --min_width_mid: min(100%, 1494px);
    

    --web_max_w: 2000px;
    --header_logo_height: clamp(50px, 6.5vw, 92px);
    --header_logo_height-full: clamp(40px, 5vw, 80px);
    --header_mobile_height: 70px;
    --header_mobile_height_scroll: 70px;


    
    --menu_heigth: unset;
    --menu_heigth-full: unset;
    --section_telefon_heigth: 0px;


    --padd_under_header: calc(var(--header_logo_height) + 50px);
    --padd_under_header-full: calc(var(--header_logo_height-full) + 50px);
    


    --textmenu: #707070;
    --textmenu-full: #707070;
    --textmenuhover: #1EA242;
    --textsubmenu: #707070;
    --textsubmenuhover: #1EA242;

    --submenu_background: #ffffff;

    --menu_open_bg: #1EA242;
    --tit_h1: #ffffff;
    --tit_h1_in: #1B75BC;
    --menu_dropdown_icon_hover: #034AA6;
    --menu_dropdown_icon: #034AA6;
    --menu_dropdown_top: calc(var(--header_logo_height) + 15px);
    --menu_dropdown_line_color: #DBDBDB;

    --hlavni_barva: #1EA242;
    --druha_barva: #1EA242;
    --druha_hover: white;



    --textcontent: #2C2829;
    --header_bg: #FFFFFF;
    --header_bg_full: #FFFFFF;
    --header_mobile_open: #FFFFFF;

    --nadpisy:#575656;
    --text: #707070;
    --marker: #C4C4C4;
    --light: #C9C9C9;



    --text_footer: #6F8EB2;
    

    --menu_open_time: .4s;
    --menu_bg: #d9ab02;
    --foot_bg: url('../img/pata_1920x1040.webp') top center/cover no-repeat;
    --foot_bg-mobile: url('../img/pata_800x1365.webp') top center/cover no-repeat;


    --meho_c: #101010;

}

@counter-style custom-letters {
    system: fixed;
    symbols:A B C D E F G H I J K L M N O P Q R S T U V W X Y Z;
    suffix: ") ";
}
@counter-style custom-letters-small {
    system: fixed;
    symbols:a b c d e f g h i j k l m n o p q r s t u v w x y z;
    suffix: ") ";
}

img {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    
}

body{
    margin:0;
    max-width: var(--web_max_w);
    overflow-x: hidden;
    margin: 0 auto;
    overscroll-behavior-y: none;
}

body.bg {
    background: var(--body_c);
}

html {
    scroll-padding-top: var(--header_logo_height);
    scroll-behavior: smooth;
    background: white;
    /* overflow-x: hidden; */
}



a:link {
    text-decoration: unset;
}

a:visited {
    color: none;
}

a:-webkit-any-link {
    text-decoration: none;
}



header {
    z-index: 100;
    box-sizing: border-box;
    height: fit-content;
    top:0px;
    position: fixed;
    width: 100%;
    gap: 10px;
    max-width: var(--web_max_w);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-inline: var(--padding);
    padding-block: 25px;
    user-select: none;
    background: var(--header_bg);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px) brightness(1.8);
    -webkit-backdrop-filter: blur(8px) brightness(1.8);


    transition: all .3s ease-in-out;

}

header.full_open {
    background: var(--header_bg_full);
    position: fixed;
    margin-top: 0px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px) brightness(1.8);
    -webkit-backdrop-filter: blur(8px) brightness(1.8);

}


.open {
    background: var(--header_mobile_open) !important;
    opacity: 100%;
    transition-delay: 0s;
    /* transition-duration: 0s; */
}

a.logo {
    position: relative;
    width: fit-content;
    height: 100%;
    display: block;
    height: var(--header_logo_height);
    align-self: center;
    transition: all .3s ease-in-out;
}

a.logo .img {
    aspect-ratio: 4/1;
    height: var(--header_logo_height);
    display: block;
    transform-origin: left center;
    background: var(--logo);
    transition: all .3s ease-in-out;

}

a.logo.pata .img {
    background: var(--logo_pata);
}

header.full_open a.logo {
    
}

header.full_open a.logo .img {
    padding-block: 5px;
    background: var(--logo_scroll);
}


.menu_open {
    display: none;
}


.menu{ 
    position: relative;
    height: var(--menu_heigth);
    display: flex;
    justify-content: center;
    user-select: none;
    padding-inline: 0px;
    transition: all .3s ease-in-out;
}


.menu > ul{ 
    height:auto; 
    margin:0; 
    padding:0; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(10px, 2vw, 37px);
    border-radius: .4rem 0 0 .4rem;
    width: var(--min_width);
}



.menu ul li, .menu ul li a{ 
    list-style: none; 
    margin: 0; 
    color: var(--textmenu);
    font-weight: var(--w_regular);
    font-size: 1rem;
    text-transform: none;
    text-decoration: none; 

    transition: all .2s ease-in-out;
}


header.full_open .menu > ul > li > a:not(.active) {
    color: var(--textmenu-full);
}

.menu ul li a{
    padding: 0 0.7rem; 
    
}

.menu > ul > li {
    padding: 0;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
.menu > ul > li.sipka_dolu {
    display: flex;
    flex-direction: row;
    gap:clamp(10px, 1.3vw, 20px);
    align-items: center;
    cursor: pointer;

}

.menu > ul > li.sipka_dolu > a[href=""],
.menu > ul > li.sipka_dolu > a[href="/"] {
    pointer-events: none;
    cursor: pointer;
}

.menu > ul > li.sipka_dolu > a {
    padding-right: 0;

}

.menu > ul > li.sipka_dolu::after,
footer li.sipka_dolu::after {
    content: '';
    width: clamp(6px, .5vw, 8px);
    height: clamp(6px, .5vw, 8px);
    border-width: 0 0 2px 2px;
    border-color: var(--textmenu);
    border-style: solid;
    background-color: transparent;
    transform: rotate(-45deg) translateY(-50%);
    transform-origin: center;
    transition: all .2s ease-in-out;
    pointer-events: none;

}

footer li.sipka_dolu::after {
    border-color: var(--text);
    position: absolute;
    top: 8px;
    left: 10rem;
    pointer-events: all;
    cursor: pointer;
    z-index: 3;
}

header.full_open .menu > ul > li.sipka_dolu::after {
    border-color: var(--textmenu-full);

}

header.full_open .menu > ul > li.sipka_dolu:hover::after,
header.full_open .menu > ul > li.sipka_dolu:has(.active)::after {
    border-color: var(--textmenuhover);

}

@media screen and (max-width:1367px) {
    .menu > ul > li.sipka_dolu::after {
        right:0px;
    
    }
}

.menu > ul > li:hover.sipka_dolu::after,
.menu > ul > li:has(.active).sipka_dolu::after {
    border-color: var(--textmenuhover);
}




.menu > ul > li > a {
    font-size: 1rem;
    display: block;
    width: fit-content;
    height: fit-content;
    padding: min(.6vw, .8rem) min(1vw, 1.2rem); /*bez ::beforu*/
    /* padding: min(0.8vw, 1rem) min(1.6vw, 2rem) min(0.8vw, 1rem) min(1.6vw, 2rem); */
    /* padding: min(.8vw, 1rem) .5em min(.8vw, 1rem) min(1.6vw, 2rem); */
    cursor: pointer;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;


    padding: 0;
    display: flex;
    /* gap: 10px; */

    position: relative;
    align-items: center;

    text-decoration-color: transparent;

}

@media screen and (max-width: 900px) {
    .menu > ul > li > a {
        font-size: .85rem;
    }
}

.menu > ul > li::before {
    /* content: ''; */
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 0px;
    background: var(--druha_barva);
    opacity: 0;
    transition: all .3s ease-in-out;
}

.menu > ul > li:hover::before, .menu > ul > li:has(a.active)::before  {
    opacity: 1;
    height: 5px;

    /*text-shadow: 0 0 .65px #333, 0 0 .65px #333; /* NÃƒÂ¡hrada za font-weight, aby neroztahovalo text */

    /* position: relative; */
}

.menu > ul > li:hover > a,
.menu > ul > li a.active {
    color: var(--druha_barva);
}
.menu > ul > li:hover > a, .menu > ul > li a.active {
    color:var(--textmenuhover);
}

.menu > ul > li > a.active::before {
    /* content: ''; */
    width: .8em;
    aspect-ratio: 1/1;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -15px;

    background: url('../img/symbol_menu_13x13.svg');
    transition: top .3s ease-in-out;
}

header.full_open .menu > ul > li:hover > a, header.full_open .menu > ul > li > a.active  {
    /* text-decoration-color: white; */
}



.menu > ul > li:hover > a::before, .menu > ul > li > a.active:before{
    opacity: 1;

}


.menu ul li > ul { 
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    position: absolute; 
    height: fit-content;
    top: calc(-50px + var(--padd_under_header)); 
    left: 0;
    width: fit-content;
    transform: translateX(-50%);
    opacity: 0; 
    visibility:hidden; 
    transition:all .2s ease-in-out .2s;
    z-index: 100;
    padding-block: .8rem;
    background-color: var(--submenu_background);
    box-sizing: border-box;
    padding: 0 ;
    pointer-events: none;

}

.menu ul li > ul::before {
    content: '';
    width: 100%;
    height: calc((clamp(16px, 2vw, 35px)) + 30px);
    display: block;
    position: absolute;
    top: calc(-1*clamp(16px, 2vw, 35px));
    z-index: -1;
    
}



header.full_open .menu ul li > ul {
    /* top: calc(-50px +var(--padd_under_header-full));  */
}


.menu ul li:hover > ul {
    opacity: 1; 
    visibility:visible; 
    transition-delay: 0s;
    pointer-events: all;
}

.menu ul li > ul > li{
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    cursor:pointer;

    color: var(--textsubmenu);

}



.menu ul li > ul > li > a{
    font-family: var(--font-book);
    font-size: clamp(.95rem, 1.1vw, 1.25rem);
    text-align: center;
    text-transform: none;
    position: relative;
    transition-delay: 0s;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    padding:1.35rem 1.1rem;
    gap: 35px;
    justify-content: space-between;
    color:var(--textsubmenu);
    transition: all .2s ease-in-out;
    z-index: 1;
    text-decoration: underline;
    text-decoration-color: transparent;
}

.menu ul li > ul > li > a::after {
    /* content: ''; */
    position: absolute;
    width: 100%;
    height: calc(100% + 40px);
    top: -20px;
    left:0;
    z-index: -1;
    transition: all .3s ease-in-out;
}


.menu ul li > ul > li:hover > a,
.menu ul li > ul > li > a.active  {
    color:var(--textsubmenuhover);
    text-decoration-color: var(--textsubmenuhover);

}


.menu ul li > ul > li > a::before {
    content: '';
    display: block;
    width: clamp(80px, 6.5vw, 109px);
    aspect-ratio: 1/1;
    z-index: 1;
    background: url('../img/nase_vina/hlavicka_doplnek/nase-vina-bile-vino.png') center/contain no-repeat;
}

.menu ul li > ul > li > a[name="Červená vína"]::before {
    background-image: url('../img/nase_vina/hlavicka_doplnek/nase-vina-cervene-vino.png');
}

.menu ul li > ul > li > a[name="Růžová vína"]::before {
    background-image: url('../img/nase_vina/hlavicka_doplnek/nase-vina-ruzova-vino.png');
}

.menu ul li > ul > li > a[name="Frizzante"]::before {
    background-image: url('../img/nase_vina/hlavicka_doplnek/nase-vina-frizzo-vino.png');
}


/* MAIN */

main {
    position: relative;
    background: var(--main_c);
    padding: 100px var(--padding) 100px var(--padding);
    overflow-x: clip;
}
main.nopad {
    padding: 0px;
}

header + main,
header + main.nopad {
    padding-top: 150px;
    margin-top:calc(-150px + var(--padd_under_header) + 0.5rem);
    transition: all .3s ease-in-out;

}

header + main.nopad {
    padding-top: var(--padd_under_header);
    margin-top: 0px;
}


main.white {
    background: white;
}

.centrovany {
    display: flex;
    justify-content: center;
    align-items: center;
    
}

/* titulka */

section.tit {
    position:relative;
    top:0;
    left:0;
    margin-top:calc(-150px + var(--padd_under_header));
    padding-top: 150px;
    width:100%;
    height: fit-content;
    background: white;
    overflow: hidden;
    aspect-ratio: 8/4;    
    background: var(--main_c);
    min-height: 650px;
    max-height: calc(1080px - 30px - var(--padd_under_header) + 150px);
    transition: all .3s ease-in-out;
    display: flex;
    

}

section.tit.podstrana {
    aspect-ratio: 8 / 2;
    min-height: 350px;
    max-height: 480px;
}


section.tit > video,
section.tit > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;

    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
}


section.tit > img.mobile, section.tit > img.tablet {
    display: none;
    visibility: hidden;
    opacity: 0;
    object-position: bottom left;
}

section.tit > div.obsah {
    /* position: absolute; */
    box-sizing: content-box;
    top:0;
    left:50%;
    /* transform: translateX(-50%); */
    width: var(--min_width);
    margin-inline: auto;
    height: 100%;
    gap: clamp(35px, 4vw, 69px);
    padding-inline: var(--padding);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;

} 

section.tit > div.obsah img {
    object-fit: contain;
    object-position: bottom right;
    margin: 0;

    position: absolute;
    bottom: 0px;
    right: 0px;
    height: 75%;
    aspect-ratio: 3/4;
    z-index: -1;
    margin-right: calc(1.5 * var(--padding));
}


section.tit hr {
    border-color: #2E2E2E;
    border-width: 1px;
    border-style: solid;
}



@media screen and (max-width:990px) {

    section.tit {
        aspect-ratio: 2/1.4;
    }
}

@media screen and (max-width: 1000px){
    section.tit > div.obsah {
        padding-inline: calc(var(--padding));
    }

    section.tit > div.obsah picture {
        padding-right: calc(.4  * var(--padding));
    }
}

@media screen and (max-width: 799px){
    section.tit > div.obsah picture {
        padding-right: 0;
        height: clamp(382px, 75vw, 480px);
    }
}


@media screen and (max-width:400px) {
    section.tit > div.obsah {
        padding-top: 181px;
    }

    section.tit div.buttons {
        /* grid-template-columns: 1fr 1fr; */
    }
}





/* ----- */







/* BTNS */

.btn, .btn-inverse{
    width: fit-content;
    min-width: min(228px, 100%);
    background: var(--druha_barva);
    height: fit-content;
    display: block;
    text-align: center;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: white;
    font-family: var(--font-bold);
    padding: 1.2rem 4rem;
    transition: all .3s ease-in-out;
    box-sizing: border-box;
    align-items: center;
    border-radius: 35px;
    justify-content: space-between;
    gap:10px;
    border: 2px solid var(--druha_barva);

}
.btn.center, .btn-inverse.center {
    margin-inline: auto;
    width: fit-content;
}
.btn:hover {
    background-color: var(--druha_hover);
    color: var(--druha_barva);

}
.btn-inverse {
    background-color: white;
    border: 2px solid var(--druha_barva);
}

a.btn:hover, a.btn-inverse:hover {
    transform-origin: center;
    transform: scale(1.02);
}

.btn-inverse:hover {
    background-color: var(--druha_barva);
    border: 2px solid var(--druha_barva);
    color: white;
}

 
.btn::after, .btn-inverse::after {
    /* content: ''; */
    display: block;
    width: 1.2em;
    height: 1.2em;
    background-image: url('../img/ikona_sipka_button_22x22_bila.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    transition: all .3s ease-in-out;
    align-self: center;
}
.btn-inverse::after {
    background-image: url('../img/ikona_sipka_button_22x22_zelena.svg');

}
.btn-inverse:hover::after {
    background-image: url('../img/ikona_sipka_button_22x22_bila.svg');

}


/*  -----  */
/* TITULKA */

/* uni template*/




/* FORM */




/* checkbox */

/* Hide the browser's default checkbox */
label.souhlas input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
/* Create a custom checkbox */
.checkmark {
position: absolute;
top: 0;
left: 0;
height: 25px;
width: 25px;
background-color: #eee;
}

/* On mouse-over, add a grey background color */
label.souhlas:hover input ~ .checkmark {
background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
label.souhlas input:checked ~ .checkmark {
background-color: #3F8E30;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
content: "";
position: absolute;
display: none;
}

/* Show the checkmark when checked */
label.souhlas input:checked ~ .checkmark:after {
display: block;
}

/* Style the checkmark/indicator */
label.souhlas .checkmark:after {
left: 9px;
top: 5px;
width: 5px;
height: 10px;
border: solid white;
border-width: 0 3px 3px 0;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}


/* ------- */



/*TEXTY */

section.tit h1 {
    color: var(--tit_h1);
    font-weight: var(--w_medium);
    font-size: clamp(2.5rem, 4vw, 3.85rem);
    text-align: left;
    margin-bottom: 0;
    line-height: 1.15em;
    /* text-shadow: 0px 5px 10px #0000008C; */
}



section.tit span {
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    font-family: var(--font-book);
    color: #F8F8F8;

    
}

section.tit p {
    /* color: var(--tit_h1); */
    line-height: 1.3em;
    font-size: clamp(1.1rem, 2vw, 1.8rem);
    padding: 0;
    margin: 0;
    color: white;
    font-family: var(--font-medium);
}


section.tit a.btn::before {
    /* content: ''; */
    display: block;
    width: 1.5em;
    height: 1.1em;
    mask: url('../img/ikona_menu.svg') center/contain no-repeat;
    -webkit-mask: url('../img/ikona_menu.svg') center/contain no-repeat;
    background-color: var(--text);
}



a:not([class]) {
    font-size: inherit;
    color: var(--text);
    font-family: var(--font-medium);
    text-decoration: underline;
    cursor: pointer;
    transition: 0.125s ease-in-out all;
}

p a:not([class]) {
    color: var(--hlavni_barva);
}

a:not([class]):hover {
    text-decoration-color: transparent;
}




p {
    color: var(--text);
    font-family: var(--font-book);
    font-size: clamp(15px, 1.5vw, 17px);
    line-height: 1.5em;
    letter-spacing: 1px;
}
span {
    color: var(--text);
    font-size: 1.1rem;
}
b{ 
    font-weight: var(--w_bold);
    font-size: inherit;
}


section.tit h1 span {
    color: var(--tit_h1_in);
    font-size: 1.1em;
    font-family: inherit;
}

h1 span {
    color: var(--tit_h1_in);
    font-family: inherit;
    font-size: inherit;
}

section.tit h3 {
    font-family: var(--font-book);
    color: white;
    font-size: clamp(1rem, 1.2vw,1.5rem);
    padding-block: 15px;
}




h3 a {
    color: var(--hlavni_barva);
    text-decoration: underline !important;
    transition: all .2s ease-in-out;

}

h3 a:hover {
    filter: brightness(.7);
    text-decoration: none !important;
}

h1 {
    color: var(--nadpisy);
    font-weight: var(--w_light);
    font-size: clamp(2rem, 6vw, 3.1rem);;
    /* margin: 0 0 clamp(4rem, 7vw, 6rem) 0;   */
    margin: 0 0 10px 0;  
    position: relative;
    line-height: 1.15em;
}

h1.big {
    font-size: clamp(3rem, 8.5vw, 8.2rem);
    text-align: center;
}

h2 {
    font-family: var(--font-medium);
    color: var(--nadpisy);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    margin: 55px 0 1rem 0;  
}
h3{
    font-family: var(--font-semibold);
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    color: var(--nadpisy);
    font-weight: normal;

}
h1 ~ h3 {
    line-height: 1.75rem;
    font-family: var(--font-book);
    margin-bottom: 30px;
}
h4{
    font-family: var(--font-medium);
    font-size: clamp(1rem,1.2vw, 1.4rem);
    color: var(--text);
    margin-top: 40px;
    margin-bottom: 0;
}


.decor.center {
    padding-bottom: 50px;
}

.margin-bottom {
    margin-bottom: clamp(30px, 7vw, 50px);
}

.center {
    text-align: center;
    padding-inline: var(--padding);
    width: 100%;
    display: inline-block;
}


.decor.center::after {
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
}


/* rest */


input, textarea, select {
    padding: 22px;
    border-radius: 3px;
    border-width: 1px;
    width: 100%;
    color: var(--text);

}
textarea {
    resize: vertical;
    min-height: 130px;
}

/* ----- */



/* sekce */



section.text_foto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px clamp(40px, 8vw, 150px);
    width: var(--min_width);
    margin-inline: auto;
    margin-top: clamp(20px, 6.5vw, 120px);
}


section.text_foto h1 {
    font-weight: var(--w_light);
    margin-bottom: clamp(80px, 8vw, 160px);
    font-size: clamp(2.3rem, 4.5vw, 4.8rem);
}

section.text_foto h2 {
    font-weight: var(--w_light);
    color: var(--druha_barva);
    margin: 0px;
    font-size: clamp(1.15rem, 2vw, 1.8rem);
}

section.text_foto p {
    font-weight: var(--w_light);
    color: var(--druha_barva);
    margin: 0px;
    color: var(--text);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}

section.text_foto .img_wrap {
    grid-column: 2;
    grid-row: 1/4;
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}

section.text_foto.reverse .img_wrap {
    grid-column: 1;
    grid-row: 1/4;
}

section.text_foto .img_wrap img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-position: center;
    object-fit: cover;
}


section.text_foto .img_wrap iframe {
    width: 100%;
    height: 100%;
}



@media screen and (max-width: 660px) {
    section.text_foto {
        grid-template-columns: 1fr;
    }

    section.text_foto h1 {
        margin-bottom: 30px;
    }

    section.text_foto .img_wrap {
        grid-column: 1;
        grid-row: 4;
        aspect-ratio: 2/1;
    }
}


section.onas h1 {
    margin-right: 0;
    margin-left: auto;
    width: var(--min_width_mid);
    font-size: clamp(4rem, 7vw, 6.5rem);
    margin-top: clamp(50px, 11vw, 170px);
    margin-bottom: 0px;
}


section.onas section.text_foto {
    gap: 0px;
    margin-right: 0;
    width: var(--min_width_mid);
    grid-template-columns: 1fr 1.2fr;
    margin-top: clamp(20px, 3vw, 50px);
    position: relative;

}

section.onas section.text_foto.decor:before {
    content: '';
    position: absolute;
    top: -51%;
    left: -2%;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url(../img/vzorek-pozadi_1920.jpg) center/135% no-repeat;
}

section.onas section.text_foto.reverse {
    grid-template-columns: 1.2fr 1fr;

}

section.onas section.text_foto h2 {
    margin-bottom: 40px;
    color: var(--nadpisy);
    font-size: clamp(1.6rem, 2.55vw, 2.55rem);
}

section.onas section.text_foto:not(.reverse) > *:not(.img_wrap) {
    margin-right: clamp(100px, 8vw, 150px);
}

section.onas section.text_foto.reverse > *:not(.img_wrap) {
    margin-left: clamp(100px, 8vw, 150px);
}

section.text_foto .img_wrap.h550 {
    height: clamp(300px, 29vw, 550px);
}

section.text_foto .img_wrap.h740 {
    height: clamp(250px, 39vw, 740px);
}

section.text_foto .img_wrap.h800 {
    height: clamp(420px, 42vw, 800px);
}

section.text_foto.r2 {
    grid-template-rows: 1fr auto;
}

section.text_foto.r3 {
    grid-template-rows: auto auto 1fr;
}

section.text_foto.r2 .img_wrap {
    grid-row: 1/3;
}

section.text_foto .mt {
    margin-top: auto;
}

section.text_foto .btn,
section.text .btn {
    margin-top: 40px;
}

section.onas section.text_foto.mt,
section.text_foto.mt {
    margin-top: clamp(40px, 18vw, 320px);
}

.nopad section.onas section.text_foto {
    margin: 0px;
    width: 100%;
    padding-right: var(--padding);
    grid-template-columns: 1.6fr 1fr;
}

section.text {
    position: relative;
}

section.text .text_wrap {
    margin-top: clamp(130px, 13vw, 220px);

    width: min(100%, 815px);
    margin-inline: auto;
}

section.text:before {
    content: '';
    position: absolute;
    top: -71%;
    left: -4%;
    width: 100%;
    height: 200%;
    z-index: -1;
    background: url(../img/vzorek-pozadi_1920.jpg) center/99% no-repeat;
}


section.text h2 {
    margin-bottom: 40px;
    color: var(--nadpisy);
    font-size: clamp(1.6rem, 2.55vw, 2.55rem);
    font-weight: var(--w_light);
}

section.text p {
    font-weight: var(--w_light);
    margin: 0px;
    color: var(--text);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.img_paralax {
    width: min(100%, 1502px);
    aspect-ratio: 16/7.5;
    min-height: 300px;
    border-radius: 15px;
    overflow: hidden;
    margin-block: clamp(50px, 6vw, 108px);
}

.img_paralax .img {
    height: 100%;
    width: 100%;
    background: url("../img/o-nas/foto_03_1920px.webp") center/100% no-repeat;
    background-attachment: fixed;
    
}

@media screen and (max-width:1300px) {
    .nopad section.onas section.text_foto {
        display: flex;
        flex-direction: column;
    }

    .nopad  section.onas section.text_foto.reverse > *:not(.img_wrap) {
        margin-left: var(--padding);
    }

    .nopad  section.onas section.text_foto.reverse > .img_wrap {
        margin-bottom: 45px;
    }

    section.text:before {
        background-size: 150%;
    }

    .img_paralax .img {
        background-size: 120%;
    }
}

@media screen and (max-width:1030px) {
    section.onas section.text_foto.reverse > *:not(.img_wrap) {
        margin-left: 40px;
    }

    section.onas section.text_foto:not(.reverse) > *:not(.img_wrap) {
        margin-right: 40px;
    }
}

@media screen and (max-width:730px) {
    section.onas section.text_foto.reverse,
    section.onas section.text_foto {
        display: flex;
        flex-direction: column;
    }

    section.onas section.text_foto.reverse > *:not(.img_wrap),
    section.onas section.text_foto:not(.reverse) > *:not(.img_wrap),
    section.text .text_wrap > * {
        margin-inline: 40px;
    }

    section.onas section.text_foto .img_wrap {
        margin-bottom: 40px;
    }

    section.onas section.text_foto h2,
    section.text h2 {
        margin-bottom: 20px;
    }

    section.text_foto .btn,
    section.text .btn  {
        margin-top: 20px;
    }

    section.onas section.text_foto.decor:before {
        background-size: 200%;
        top: -66%;
        left: -7%;
    }

    section.onas h1 {
        margin-top: 0px;
    }

    .img_paralax .img {
        background-size: 180%;
    }

    
}

@media screen and (max-width:480px) {
    section.onas section.text_foto.reverse > *:not(.img_wrap), section.onas section.text_foto:not(.reverse) > *:not(.img_wrap), section.text .text_wrap > * {
        margin-inline: 20px;
    }
}

/* */


section.vina {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(50px, 5.5vw, 100px);
    margin-block: clamp(120px, 14vw, 250px);
    position: relative;

}

section.vina h1 {
    z-index: 2;
    grid-column: 1/-1;
    margin-bottom: clamp(80px, 8vw, 150px);
}

section.vina:first-of-type:before {
    content: '';
    position: absolute;
    top:-29%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('../img/vzorek-pozadi_1920.jpg') center/contain no-repeat;
}

section.vina .blok {
    background-color: #F9F9F9;
    border-radius: 15px;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 23px;
    padding-right: clamp(40px, 4vw, 80px);
    padding-block: 20px;
}

section.vina .blok.right {
    padding-right: 0px;
    padding-left: clamp(40px, 4vw, 80px);

}

section.vina img {
    width: 100%;
    height: clamp(150px, 24vw, 450px);

    object-fit: contain;
    grid-row: 1/3;
    transform-origin: center;
    transform: scale(1.6);
    pointer-events: none;
    z-index: 1;
    transition: all .3s ease-in-out;
}

section.vina .blok:hover img  {
    transform: scale(1.7);
}

section.vina img.decor {
    width: unset;
    aspect-ratio: 1/4;
    object-fit: cover;
    object-position: center right;
    transform-origin: center left;
    transform: scale(1.8);
    margin-right: clamp(40px, 4vw, 80px);
}

section.vina .blok:hover img.decor  {
    transform: scale(1.8) translateX(-20%);
}


section.vina img.decor.right {
    object-position: center left;
    transform-origin: center right;
    margin-right: 0px;
    margin-left: clamp(40px, 4vw, 80px);
}

section.vina .blok:hover img.decor.right  {
    transform: scale(1.8) translateX(20%);
}

section.vina .blok h2 {
    grid-column: 3;
    grid-row: 1;
    text-align: center;
    height: fit-content;
    margin-top: auto;
    z-index: 2;
    font-weight: var(--w_light);
    font-size: clamp(1.7rem, 3vw, 2.5rem);

}

section.vina .blok.right h2 {
    grid-column: 1;
}

section.vina .blok .btn {
    grid-column: 3;
    grid-row: 2;
    font-weight: var(--w_light);
    z-index: 2;
    border: 2px solid var(--druha_barva);
}

section.vina .blok:hover .btn{
    background: white;
    color: var(--druha_barva);
    
}

section.vina .blok.right .btn {
    grid-column: 1;
}

.hory {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: fit-content;
    margin-inline: auto;
    justify-content: center;
    align-items: center;
    margin-block: clamp(100px, 12vw, 220px);
    grid-column: 1/-1;
}

.hory p {
    margin: 0px;
    text-align: center;
    color: #C4C4C4;
    font-weight: var(--w_light);
    font-size: clamp(1.3rem, 3vw, 2.1rem);
    font-style: italic;
}

section.vina .hory img {
    width: clamp(190px, 34vw, 320px);
    height: unset;
    object-fit: contain;
    transform: scale(1);
}

@media screen and (max-width: 1200px) {
    section.vina img {
        height: 220px;
    }
}

@media screen and (max-width: 1090px) {
    section.vina img.decor {
        height: 15vw;
    }


    section.vina img.vino {
        height: 160px;
    }

    section.vina .blok .btn {
        min-width: 170px;
        padding-inline: 25px;
    }

}

@media screen and (max-width: 870px) {
    section.vina img.decor {
        position: absolute;
        left: 0;
        z-index: 1;
        margin-right: -40px;
    }

    section.vina img.vino {
        z-index: 2;
    }

    section.vina img.decor.right {
        left: unset;
        right: 0;
        margin-left: -40px;
    }

    section.vina .blok {
        grid-template-columns: 1fr 1fr;
        padding-right: 20px;
    }

    section.vina .blok.right {
        padding-left: 20px;
        padding-right: 0px;

    }

    section.vina .blok h2,
    section.vina .blok .btn {
        grid-column: 2;
    }


    section.vina .blok .btn {
        margin-inline: auto;
    }
    
}


@media screen and (max-width: 640px) {
    section.vina {
        grid-template-columns: 1fr;
    }

    section.vina img.decor {
        height: max(110px, 23vw);
        top: 16%;
    }

    .blok.left img.vino {
        object-position: 84%;
    }

    .blok.right img.vino {
        object-position: 16%;
    }

    .hory {
        grid-row: 2;
        margin-top: 0px;
        margin-bottom: 25px;
    }

    section.vina h1 {
        margin-bottom: 45px;
    }

}

@media screen and (max-width: 370px) {
    section.vina .blok h2 {
        font-size: 1.4rem;
    }

    section.vina .blok .btn {
        min-width: 140px;
        padding:12px 15px;
        font-size: .9rem;
    }

    section.vina .blok {
        gap: 5px;
    }
}





section.akce .akce_grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 80px 53px;
    padding: clamp(50px, 4.5vw, 80px) clamp(80px, 6.2vw, 120px);
    background: #F9F9F9 0% 0% no-repeat padding-box;
    border-radius: 15px;
}

@media screen and (max-width: 730px) {
    section.akce .akce_grid {
        padding-top: 0px;
    }
}

section.akce.alone .akce_grid {
    background: transparent;
}

section.akce.alone {
    position: relative;
}

section.akce.alone:before {
    content: '';
    position: absolute;
    top: -31%;
    left: -2%;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url(../img/vzorek-pozadi_1920.jpg) center/135% no-repeat;
}

section.akce .akce_grid h1 {
    grid-column: 1/-1;
    text-align: center;
    margin-bottom: 20px;
}

section.akce.alone .akce_grid h1 {
    font-size: clamp(4rem, 7vw, 6.5rem);
}

section.akce .clanek {
    background: transparent;
    border-radius: 15px;
    display: grid;
    grid-template-rows: 240px 1fr;
    height: 100%;
    width: 100%;
    overflow: hidden;
    transition: all .3s ease-in-out;
}

section.akce .clanek:hover {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 6px 25px #0000001A;
}


section.akce .clanek .img_wrap {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

section.akce .clanek img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    transition: all .3s ease-in-out;
}

section.akce .clanek:hover img {
    transform: scale(1.05);
}

section.akce .clanek .text {
    padding: 25px 31px;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

section.akce .clanek .text h2 {
    color: var(--druha_barva);
    font-weight: var(--w_medium);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin: 0;
}

section.akce .clanek .text p {
    color: var(--text);
    font-weight: var(--w_light);
    line-height: 1.5em;
    margin: 0;

}

section.akce .clanek .text .flex {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

section.akce .clanek .text .date {
    white-space: nowrap;
    font-size: 1.25rem;
    color: var(--text);
    font-weight: var(--w_medium);
}

section.akce .clanek .text .btn {
    min-width: 0px;
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
    max-width: 150px;
}

section.akce .clanek:hover .text .btn {
    background-color: var(--druha_hover);
    color: var(--druha_barva);
}



@media screen and (max-width:1660px) {
    section.akce .akce_grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width:1100px) {
    section.akce .clanek .text {
        padding: 20px 18px;
    }

    section.akce .clanek .text p {
        line-height: 1.5em;
        font-size: 1.05rem;
    }
}

@media screen and (max-width:950px) {
    section.akce .clanek .text .date {
        font-size: 1rem;
    }
}

@media screen and (max-width:914px) {
    section.akce .akce_grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width:700px) {
    section.akce .akce_grid h1 {
        margin-bottom: -40px;
    }
}


@media screen and (max-width:520px) {
    section.akce .akce_grid {
        padding: 50px 40px;
    }

    section.vina:first-of-type {
        margin-top: 40px;
    }



    section.akce .clanek .text .btn{
        padding: 1rem 2rem;
        padding: 0.85rem 1rem;
        font-size: .9rem;
        width: 100%; 

    }
}

@media screen and (max-width: 420px) {
    section.akce .clanek {
        grid-template-rows: 130px 1fr;
    }
    section.akce .clanek .text .date {
        font-size: .9rem;
    }

}

@media screen and (max-width: 380px) {
    section.akce .akce_grid {
        padding: 50px 20px;
    }
}

section.ochutnejte h1 {
    text-align: center;
}


section.ochutnejte {
    width: min(100%, 1080px);
    margin-inline: auto;
    margin-top: clamp(100px, 6.5vw, 150px);
    position: relative;
}

section.ochutnejte::before {
    content: '';
    position: absolute;
    top: 7%;
    left: -31%;
    width: min(100vw, 156%);
    height: 100%;
    z-index: -1;
    background: url(../img/vzorek-pozadi_1920.jpg) center/contain no-repeat;
}

section.ochutnejte .ochutnavka_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;

    gap: 20px 0px;
    margin-top: clamp(80px, 7.5vw, 140px);
}

section.ochutnejte .ochutnavka_grid img {
    grid-row: 1/3;
    width: 118%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 15px;
    transform-origin: bottom left;
    bottom: clamp(20px, 3.5vw, 57px);
    left: 0;
    position: relative;
}

section.ochutnejte .ochutnavka_grid .blok {
    width: 100%;
    height: 100%;
    background: #1EA242 0% 0% no-repeat padding-box;
    border-radius: 15px;
    padding: clamp(20px, 3.5vw, 57px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 2;
    transform-origin: center;
    transition: all .3s ease-in-out;
}

section.ochutnejte .ochutnavka_grid .blok:hover {
    transform: scale(1.04);
}

section.ochutnejte .ochutnavka_grid .blok h2 {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
}

section.ochutnejte .ochutnavka_grid .blok h2,
section.ochutnejte .ochutnavka_grid .blok span {
    color: white;
    text-align: center;
    margin: 0;
}

section.ochutnejte .ochutnavka_grid .blok span {
    font-weight: var(--w_light);
    font-family: 1.1rem;
    margin-bottom: 20px;
}

section.ochutnejte .ochutnavka_grid .blok.inverse {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 6px 25px #0000001A;
    border: 1px solid #C8C8C8;
}


section.ochutnejte .ochutnavka_grid .blok.inverse h2 {
    color: var(--nadpisy);
}
section.ochutnejte .ochutnavka_grid .blok.inverse span {
    color: var(--druha_barva);
}

section.ochutnejte .ochutnavka_grid .blok h2.ico {
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

section.ochutnejte .ochutnavka_grid .blok h2.ico.shop::before {
    background: var(--druha_barva);
}

section.ochutnejte .ochutnavka_grid .blok h2.ico.logo::before {
    background: #FDE054;
}

section.ochutnejte .ochutnavka_grid .blok.inverse:hover .btn {
    background-color: var(--druha_hover);
    color: var(--druha_barva);
}

section.ochutnejte .ochutnavka_grid .blok .btn-inverse {
    background-color: white;
    color: var(--druha_barva);
    border: 2px solid var(--druha_barva);
}

section.ochutnejte .ochutnavka_grid .blok:hover .btn-inverse {
    background-color: var(--druha_barva);
    color: white;
    border: 2px solid white;
}

@media screen and (max-width: 850px) {
    section.ochutnejte::before {
        top: -31%;
        left: 0px;
        width: min(100vw, 156%);
        height: 100%;
    }
}

@media screen and (max-width: 640px) {
    section.ochutnejte .ochutnavka_grid {
        grid-template-columns: 1fr 2fr;
    }

    section.ochutnejte .ochutnavka_grid img {
        width: 151%;
    }

    section.ochutnejte::before {
        top: -4%;
        background-position: top center;
    }
    
}

@media screen and (max-width: 530px) {
    section.ochutnejte .ochutnavka_grid {
        grid-template-columns: 1fr;
        margin-bottom: -180px;
    }

    section.ochutnejte .ochutnavka_grid img {
        width: calc(100% - 40px);
        left: 40px;
        bottom: 0;
    }

    section.ochutnejte .ochutnavka_grid .blok {
        width: calc(100% - 40px);
        transform: translateY(-180px);
    }

    section.ochutnejte .ochutnavka_grid .blok:hover {
        transform: scale(1.04) translateY(-180px);
    }
}

@media screen and (max-width: 390px) {
    section.ochutnejte .ochutnavka_grid .blok h2 {
     font-size: 1.2rem;   
    }


    section.ochutnejte .ochutnavka_grid .blok span {
        font-size: .95rem;
    }

    section.ochutnejte .ochutnavka_grid .blok .btn,
    section.ochutnejte .ochutnavka_grid .blok .btn-inverse {
        width: 100%;
        min-width: 0px;
    }
}


/* nase vína */


.top_head {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-block: clamp(30px, 9vw, 170px);
    position: relative;
}

section.nase_vina .top_head img.decor {
    position: absolute;
    aspect-ratio: 1/1;
    width: clamp(40px, 5vw, 70px);
    object-fit: contain;

}

section.nase_vina .top_head img.decor.d1 {
    top: -21%;
    right: 10%;
}

section.nase_vina .top_head img.decor.d2 {
    top: 64%;
    left: 21%;
}

section.nase_vina .top_head img.decor.blur {
    top: 40%;
    right: 19%;
    width: clamp(120px, 15vw, 220px);
}

.top_head:before {
    content: '';
    position: absolute;
    top: -90%;
    left: 0%;
    width: 100%;
    height: 300%;
    z-index: -1;
    background: url(../img/vzorek-pozadi_1920.jpg) center/121% no-repeat;
}

@media screen and (max-width: 730px){
    .top_head:before {
        background-size: 200%;
        top: -66%;
        left: -7%;
    }
}

section.nase_vina .top_head span {
    color: var(--druha_barva);
    font-weight: var(--w_regular);
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    text-align: center;
    z-index: 3;
}

.top_head h1 {
    color: var(--nadpisy);
    font-weight: var(--w_light);
    font-size: clamp(4rem, 7vw, 6.5rem);
    text-align: center;
    z-index: 3;
}

section.nase_vina .vina_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 60px 16px;
    width: var(--min_width);
    margin-inline: auto;
}


section.nase_vina .vina_grid.stredovka {
    grid-template-columns: 1fr;
}

section.nase_vina .vina_grid.stredovka .vino {
    max-width: 692px;
    margin-left: auto;
    margin-right: auto;
}

section.nase_vina .vino {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 6px 25px #0000001A;
    border-radius: 15px;
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    padding: clamp(30px, 3.3vw, 61px) clamp(35px, 3.8vw, 78px);
    gap: clamp(20px, 3vw, 46px);
    position: relative;
    z-index: 2;
}

section.nase_vina .vino h2 {
    margin: 0;
    font-weight: var(--w_light);
    font-size: clamp(1.7rem, 2.8vw, 2.5rem);
    white-space: nowrap;
}

section.nase_vina .vino h2.wrap {
    white-space: unset;
}

section.nase_vina .vino p {
    margin: 0;
    margin-bottom: auto;
}

section.nase_vina .vino .img_wrap {
    grid-column: 2;
    grid-row: 1/3;
    width: clamp(100px, 10vw, 170px);
    transform-origin: center;
    transform: scale(1.25);
}

section.nase_vina .vino img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

section.nase_vina  .btn {
    margin-top: 50px;
    margin-inline: auto;
}

@media screen and (max-width: 930px) {
    section.nase_vina .vino {
        gap: 20px;
        padding: 25px 18px;
    }


    section.nase_vina .vino h2 {
        grid-column: 1/-1;
    }

    section.nase_vina .vino .img_wrap {
        grid-row: 2;
        transform: none;
    }
}

@media screen and (max-width: 760px) {
    section.nase_vina .vina_grid {
        grid-template-columns: 1fr;
        gap: 25px
    }

    section.nase_vina .btn {
        margin-top: 70px;
    }

    section.nase_vina .vino .img_wrap {
        width: clamp(70px, 25vw, 140px);
        grid-row: 1/3;
    }

    section.nase_vina .vino h2 {
        grid-column: 1;
    }

    section.nase_vina .top_head img.decor.d2 {
        left: 10%;
        top: 85%;
    }
}

@media screen and (max-width: 450px) {
    section.nase_vina .vino {
        display: flex;
        flex-direction: column;
    }

    section.nase_vina .vino .img_wrap {
        width: 130px;
        grid-row: 1/3;
    }

    section.nase_vina .top_head {
        margin-block: 0px 60px;
    }

}



.decor_vino {
    position: absolute;
    top: 9%;
    right: 0;
    width: clamp(180px, 20vw, 400px);
    z-index: 5;
}

.decor_vino img {
    width: 100%;
    object-fit: contain;
}

@media screen and (max-width: 700px) {
    .decor_vino {
        width: 100px;
        top: 10%;
    }
}

@media screen and (max-width: 370px) {
    .decor_vino {
        width: 90px;
    }
}




.top_head .buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;

    width: min(100%, 430px);
    margin-top: 30px;
}

.top_head .buttons .btn {
    width: 100%;
    min-width: 0px;
    padding-inline: 15px;
}


@media screen and (max-width: 480px) {
    .top_head .buttons {
        grid-template-columns: 1fr;
        width: 200px;
        margin-inline: auto;
    }

    .top_head .buttons .btn {
        padding: 10px;
        font-size: .9rem;
    }
    
}



section.cenik .cenik_wrap {
    padding: clamp(25px, 4vw, 63px) clamp(40px, 7vw, 130px);
    width: var(--min_width);
    margin-inline: auto;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 6px 25px #0000001A;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    margin-bottom: 72px;
}

section.cenik .cenik_wrap:last-of-type {
    margin-bottom: clamp(120px, 22vw, 420px);
}

section.cenik .cenik_wrap h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin: 0px;
    font-weight: var(--w_light);

}

section.cenik .cenik_wrap .btn {
    margin-top: 50px;
}

section.cenik .cenik_wrap table {
    width: 100%;
    padding-top: 34px;
    border-spacing: 0px;
}

section.cenik .cenik_wrap table td,
section.cenik .cenik_wrap table th {
    border-bottom: 1px solid #E1E1E1;
}

section.cenik .cenik_wrap table th {
    color: var(--druha_barva);
    font-size: 1.25rem;
    font-style: italic;
    font-weight: var(--w_light);
    padding-bottom: 25px;
}

section.cenik .cenik_wrap table td,
section.cenik .cenik_wrap table td .decor {
    font-size: 1.25rem;
    font-weight: var(--w_light);
    color: var(--nadpisy)
}

section.cenik .cenik_wrap table td .decor,
section.cenik .cenik_wrap table td .decor_rose,
section.cenik .cenik_wrap table td .decor_red,
section.cenik .cenik_wrap table td .decor_frizz {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

section.cenik.bile .cenik_wrap table td .decor::before {
    content: '';
    width: 1.2em;
    aspect-ratio: 1/1;
    background: url('../img/nase_vina/bile-vino/nase-vina-bile-vino.png') center/contain no-repeat;
}

section.cenik.bile .cenik_wrap table td .decor_rose::before {
    content: '';
    width: 1.2em;
    aspect-ratio: 1/1;
    background: url('../img/nase_vina/ruzove-vino/nase-vina-ruzova-vino.png') center/contain no-repeat;
}

section.cenik.bile .cenik_wrap table td .decor_red::before {
    content: '';
    width: 1.2em;
    aspect-ratio: 1/1;
    background: url('../img/nase_vina/cervene-vino/nase-vina-cervene-vino.png') center/contain no-repeat;
}

section.cenik.bile .cenik_wrap table td .decor_frizz::before {
    content: '';
    width: 1.2em;
    aspect-ratio: 1/1;
    background: url('../img/nase_vina/frizzante/nase-vina-frizzo-vino.png') center/contain no-repeat;
}





.kralvin {
    display: block;
    aspect-ratio: 4/1;
    height: 1.2em;
    background: url('../img/stribrna-medaile-500.webp') left center/contain no-repeat;
}





section.cenik .cenik_wrap table tr th:first-child {
    text-align: left;
}

section.cenik .cenik_wrap table tr th:not(:first-child, :last-child),
section.cenik .cenik_wrap table tr td:not(:first-child, :last-child) {
    text-align: center;
}

section.cenik .cenik_wrap table tr th:last-child,
section.cenik .cenik_wrap table tr td:last-child {
    text-align: right;
}

section.cenik .cenik_wrap table tr td {
    padding-block: 19px;
}

section.cenik .cenik_wrap table tr th:last-child,
section.cenik .cenik_wrap table tr td:last-child {
    padding-right: 20px;
}

section.cenik .cenik_wrap table tr td:first-child {
    padding-left: 20px;
}

@media screen and (max-width:1210px) {
    section.cenik .cenik_wrap table th, section.cenik .cenik_wrap table td, section.cenik .cenik_wrap table td .decor {
        font-size: .9rem;
    }

    section.cenik .cenik_wrap table tr th:last-child, section.cenik .cenik_wrap table tr td:last-child {
        padding-right: 8px;
    }

    section.cenik .cenik_wrap table tr td:first-child {
        padding-left: 8px;
    }

    section.cenik .cenik_wrap {
        padding-inline: 10px;
    }
}


@media screen and (max-width:870px) {
    section.cenik .cenik_wrap table th, section.cenik .cenik_wrap table td, section.cenik .cenik_wrap table td .decor {
        font-size: .8rem;
    }

}

@media screen and (max-width:768px) {
    section.cenik .cenik_wrap table thead {
        display: none;
    }

    section.cenik .cenik_wrap table tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border: 1px solid #E1E1E1;
        border-radius: 15px;
    }

    section.cenik .cenik_wrap table tr td {
        border: 0px;
        padding-inline: 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    section.cenik .cenik_wrap table tr td:not(:nth-of-type(2))::before {
        content: '';
        color: var(--druha_barva);
        font-size: 1rem;
        font-style: italic;
        font-weight: var(--w_light);
        padding-bottom: 10px;
    }

    section.cenik .cenik_wrap table tr td:nth-of-type(1)::before {
        content: 'název vína';
    }

    section.cenik .cenik_wrap table tr td:nth-of-type(3)::before {
        content: 'cukr při sběru';
    }

    section.cenik .cenik_wrap table tr td:nth-of-type(4)::before {
        content: 'zbytkový cukr';
    }

    section.cenik .cenik_wrap table tr td:nth-of-type(5)::before {
        content: 'kyseliny';
    }

    section.cenik .cenik_wrap table tr td:nth-of-type(6)::before {
        content: 'cena';
    }


    section.cenik .cenik_wrap table tr td:nth-of-type(odd) {
        text-align: right;
    }

    section.cenik .cenik_wrap table tr td:nth-of-type(even) {
        text-align: left;
    }

    section.cenik .cenik_wrap table td .decor {
        justify-content: right;
    }

    section.cenik .cenik_wrap table td:last-of-type {
        width: fit-content;
        text-align: right !important;
    }


    section.cenik .cenik_wrap table {
        width: min(420px, 100%);
        margin-inline: auto;
    }

    section.cenik .cenik_wrap h2 {
        width: min(420px, 100%);
        margin-inline: auto;
        text-align: center;
    }

    section.cenik .cenik_wrap table tbody {
        display: flex;
        flex-direction: column;
        gap: 20px
    }

    section.cenik .cenik_wrap table td .decor:has(.kralvin) {
        flex-wrap: wrap;
    }

    section.cenik .cenik_wrap table td .decor .kralvin {
    
    }

    section.cenik .cenik_wrap table tr:has(.kralvin) td:nth-of-type(2) {
        justify-content: center;
        padding-top: 6px;
    }
}

@media screen and (max-width:490px) {
    section.cenik .cenik_wrap table tr td {
        padding-inline: 10px !important;
    }

    section.cenik .cenik_wrap table tr td:first-of-type,
    section.cenik .cenik_wrap table tr td:nth-of-type(2) {
        grid-column: 1/-1;
        text-align: center;
    }

    section.cenik .cenik_wrap table tr td:first-of-type {
        padding-bottom: 0px;
    }

    section.cenik .cenik_wrap table td .decor {
        justify-content: center;
    }

    section.cenik .cenik_wrap {
        padding-inline: 15px;
    }
}


/* novinky detail */

section.novinky_detail {
    width: 100%;
    padding-inline: var(--padding);
    margin-bottom: clamp(80px, 13vw, 213px);

}

section.novinky_detail .top_head.news {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
    margin-block: 0px -120px;
    z-index: 2;

    align-items: start;
}

section.novinky_detail .top_head.news .flex {
    margin-top: clamp(80px, 6.5vw, 110px);
    padding-bottom: 130px;
}

section.novinky_detail .top_head.news h1 {
    font-size: clamp(3rem, 4.5vw, 4.5rem);
    text-align: left;
    width: min(100%, 450px);
}

section.novinky_detail .top_head.news span {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--text);
}

section.novinky_detail .top_head.news img {
    width: 100%;
    min-height: 90%;
    aspect-ratio: 8/7;
    object-fit: cover;
    border-radius: 15px;
    z-index: 0;
}


section.novinky_detail .obsah {
    position: relative;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 6px 25px #0000001A;
    border-radius: 15px;
    width: min(95%, 950px);
    padding: clamp(30px, 5vw, 90px) clamp(40px, 7vw, 130px);
    z-index: 3;
    margin-right: 30px;

    font-size: 1rem;

}

section.novinky_detail .obsah :first-child {
    margin-top: 0px;
}

section.novinky_detail .obsah img {
    width: 100%;
    object-fit: contain;
    border-radius: 15px;
    margin-block: clamp(30px, 4vw, 60px);
    height: auto;
}

section.novinky_detail .obsah .btn {
    font-size: 1.1em;
    margin-top: 4em;
}

section.novinky_detail .obsah p,
section.novinky_detail .obsah li {
    color: var(--text);
    font-size: 1.25em;
    font-weight: var(--w_light);
}

section.novinky_detail .obsah li {
    margin-bottom: 6px;
}

section.novinky_detail .obsah ol,
section.novinky_detail .obsah ul {
    padding-left: 1.7em;
}

section.novinky_detail .obsah p * {
    font: inherit;
}

section.novinky_detail .obsah p b,
section.novinky_detail .obsah p strong {
    font-weight: var(--w_bold);
}

section.novinky_detail .obsah h1,
section.novinky_detail .obsah h2,
section.novinky_detail .obsah h3 {
    font-size: 1.5em;
    font-weight: var(--w_medium);
    color: var(--text);
}

section.novinky_detail .obsah h1 {
    font-size: 1.75rem;
}

section.novinky_detail .obsah h3 {
    font-size: 1.3em;
}

@media screen and (max-width: 770px) {
    section.novinky_detail {
        padding-inline: 0px;
    }
}

@media screen and (max-width: 610px) {
    section.novinky_detail .top_head.news {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    section.novinky_detail .top_head.news .flex {
        padding-bottom: 0px;
        margin-top: 0px;
    }

    section.novinky_detail .top_head.news span {
        margin-bottom: 7px;
    }
}

@media screen and (max-width: 430px) {
    section.novinky_detail .top_head.news {
        margin-bottom: -30px;
    }

    section.novinky_detail .obsah {
        width: 100%;
        padding-inline: 28px;
    }
    section.novinky_detail .obsah .btn {
        min-width: 0px;
        width: 100%;
        padding-inline: 10px;
        margin-top: 3em;
    }

}

@media screen and (max-width: 380px) {
    section.novinky_detail .obsah {
        font-size: .8rem;
    }

    section.novinky_detail .obsah h2 {
        margin-top: 1.5em;
    }
}


/* kontakt */

section.kontakt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px clamp(40px, 7vw, 120px);
    margin-top: clamp(30px, 7vw, 130px);
    position: relative;
    width: min(100%, 1500px);
    margin-left: auto;
}

section.kontakt:before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    width: 100%;
    height: 500px;
    z-index: -1;
    background: url(../img/vzorek-pozadi_1920.jpg) center/121% no-repeat;
}

section.kontakt .kontaktni {
    flex-wrap: wrap;
}

section.kontakt .kontaktni,
section.kontakt .udaje {
    display: flex;
    flex-direction: row;
    gap: clamp(25px, 4vw, 70px);
}

section.kontakt .udaje p {
    line-height: 2em;
}

section.kontakt .udaje a {
    color: var(--druha_barva);
}

section.kontakt .udaje b {
    font-weight: var(--w_medium);
}

section.kontakt .kontaktni a {
    font-size: clamp(1.2rem, 1.55vw, 1.55rem);
    font-weight: var(--w_semibold);

    text-decoration: underline;
    text-underline-offset: 2px;
    align-items: center;
}

section.kontakt .kontaktni a:hover {
    text-underline-offset: 10px;
    text-decoration-color: transparent;
}

section.kontakt .kontaktni a.mail {
    color: var(--druha_barva);
}


section.kontakt iframe {
    border-radius: 15px;
    width: 100%;
    aspect-ratio: 4/3;
}

section.kontakt .grey {
    color: var(--nadpisy);
    font-weight: var(--w_light);
    line-height: 1.75em;
    font-size: 1rem;
}

section.kontakt .ico {
    color: var(--nadpisy);
    gap: 20px;
}

section.kontakt .ico.mail::before,
section.kontakt .ico.tel::before {
    background-color: var(--nadpisy);
}




section.kontakt .form_wrap {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 6px 25px #0000001A;
    border: 1px solid #C8C8C8;
    border-radius: 15px;
    opacity: 0.95;

    grid-column: 2;
    grid-row: 1/5;
}

section.kontakt .form_wrap form {
    height: 100%;
}

section.kontakt .form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: clamp(25px, 4vw, 70px);
    height: 100%;
}

section.kontakt .form .sep {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

section.kontakt .form .sep label {
    color: var(--nadpisy);
    font-size: 1.1rem;
    font-weight: var(--w_light);
}

section.kontakt .form > p {
    margin: 0px;
    font-weight: var(--w_light);
    font-size: clamp(1.2rem, 1.7vw, 1.7vw);
}

section.kontakt .form .sep input,
section.kontakt .form .sep textarea {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #D4D4D4;
    border-radius: 5px;
    padding: 12px 20px;

    color: var(--text);
    font-size: 1.1rem;
    font-weight: var(--w_regular);
}

section.kontakt .form .span {
    grid-column: 1/-1;
}

section.kontakt .form .btn {
    margin-inline: auto;
    padding-inline: 15px;
}

section.kontakt .form .flex {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-block: 10px;
    flex-wrap: wrap;
}

main:has(section.kontakt) {
    padding-bottom: 30px;
}

div.kontakt_footer {
    width: 100%;
    height: fit-content;
    display: block;
}

div.kontakt_footer img {
    width: 100%;
    object-fit: contain;
    display: block;

}


@media screen and (max-width: 1160px) {
    section.kontakt {
        grid-template-columns: 1fr;
        width: min(100%, 800px);
        margin-inline: auto;
    }

    section.kontakt .form_wrap {
        grid-column: 1;
        grid-row: 3;
    }
}

@media screen and (max-width: 430px) {

    section.kontakt {
        margin-top: 0px;
    }
    
    section.kontakt .kontaktni,
    section.kontakt .udaje {
        flex-direction: column;
        gap: 15px
    }

    section.kontakt .udaje p {
        margin: 0px;
    }

    section.kontakt .form {
        grid-template-columns: 1fr;
    }
}


/* vinny sklipek */

div.head_top {
    aspect-ratio: 19/9;
    background: url('../img/sklipek/foto_hlavni_1920.webp') center/cover no-repeat;
    width: 100%;
    display: flex;
    position: relative;
    border-radius: 0px 0px 15px 15px;
    min-height: 500px;
    padding-inline: var(--padding);
}

div.head_top::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: #000000 0% 0% no-repeat padding-box;
    border-radius: 0px 0px 15px 15px;
    opacity: 0.41;
    z-index: 0;
}

div.head_top .content {
    width: var(--min_width);
    margin-inline: auto;
    margin-bottom: clamp(40px, 7vw, 110px);
    margin-top: auto;

    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    position: relative;
    z-index: 1;

}

div.head_top .content h1 {
    font-weight: var(--w_light);
    font-size: clamp(2.4rem, 4.4vw, 4.4rem);
    color: #FFFFFF;
}


div.head_top .content p {
    font-weight: var(--w_light);
    font-size: 1.25rem;
    color: #FFFFFF;
}

div.head_top .content .btn {
    margin-left: auto;
    margin-top: auto;
    grid-column: 2;
    grid-row: 1/3;
}

@media screen and (max-width: 930px) {
    div.head_top .content {
        grid-template-columns: 1.4fr;
    }

    div.head_top .content .btn {
        grid-column: 1;
        grid-row: 3;
        margin: 0px;
    }
}

@media screen and (max-width: 660px) {
    div.head_top .content p {
        margin: 0px;
        font-size: 1rem;
    }
}


section.sklipek .text_foto {
    display: grid;
    gap: 40px 0px;
    margin-right: 0;
    width: var(--min_width_mid);
    margin: 0 auto 0 0;
    grid-template-columns: 1.05fr 1fr;
    grid-template-rows: 1fr auto 1fr;
    margin-top: clamp(20px, 3vw, 50px);
    position: relative;
}

section.sklipek .text_foto h2,
section.sklipek .banner h2 {
    color: var(--nadpisy);
    font-size: clamp(2rem, 3vw, 3rem);
    margin-top: auto;
}

section.sklipek .text_foto .btn,
section.sklipek .banner .btn {
    margin-top: 0px;
}

section.sklipek .text_foto > *:not(img) {
    margin-left: clamp(40px, 9vw, 150px);
}

section.sklipek .text_foto img {
    width: 100%;
    object-fit: contain;
    grid-column: 1;
    grid-row: 1/4;
}

section.sklipek .banner {
    background: url('../img/sklipek/foto_vino_1920.webp') center/cover no-repeat;
    width: 100%;
    aspect-ratio: 17/9;
    border-radius: 15px;   

    display: flex;
    align-items: center;

    margin-block: clamp(100px, 12vw, 200px);
}

section.sklipek .banner h2,
section.sklipek .banner p {
    color: #ffffff;
    margin: 0px;
    font-weight: var(--w_light);
}

section.sklipek .banner p {
    font-size: 1.25rem;
    line-height: 1.75em;
}

section.sklipek .banner .content {
    width: min(540px, 100%);
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-sizing: content-box;
    padding: clamp(40px, 8vw, 60px) clamp(40px, 7.5vw, 130px);
}

@media screen and (max-width: 1010px) {
    section.sklipek .text_foto {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
    }

    section.sklipek .text_foto > *:not(img) {
        margin-left: 0px;
    }

    section.sklipek .text_foto > img {
        width: min(400px, 100%);
        grid-column: 1;
        grid-row: 3;
    }
}

@media screen and (max-width: 550px) {
    section.sklipek .banner p {
        font-size: 1rem;
    }

    section.sklipek .banner .content {
        gap: 20px;
    }
}

@media screen and (max-width: 400px) {
    section.sklipek .banner .content {
        padding: 30px 20px;
    }

    section.sklipek .banner {
        background-position: 64% center;
    }
}

/* FOOTER */

footer{
    position:relative;
    width: 100%;
    background: var(--foot_bg);
    box-sizing: border-box;
    padding: 100px var(--padding) 30px var(--padding);
    aspect-ratio: 1920/854;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    overflow: hidden;
}


footer section.footer_wrap {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(50px, 6.5vw, 110px);
    margin-top: 100px;
}


footer section.footer_wrap .kontakt {
    display: flex;
    flex-direction: row;
    gap: clamp(20px, 3.5vw, 60px);

}

footer section.footer_wrap .kontakt a {
    color: #FFFFFF;
    font-weight: var(--w_regular);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: all .15s ease-in-out;
}

footer section.footer_wrap .kontakt a:hover {
    text-underline-offset: 10px;
    text-decoration-color: transparent;

}


footer div.odkazy {
    display: flex;
    width: fit-content;
    gap: 15px;
    cursor: pointer;
}

footer div.odkazy a,
footer div.odkazy a span {
    font-size: .9rem;
    font-weight: var(--w_light);
    color: rgba(255, 255, 255, 0.5);
}

footer div.odkazy a span {
    font: inherit;
    transition: all .3s ease-in-out;
}

footer div.odkazy a:hover span {
    color: var(--druha_barva);
}

@media screen and (max-width:1370px) {
    footer section.footer_wrap .kontakt {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
        align-items: flex-end;
        margin-bottom: 15px;
    }

    footer {
        min-height: 400px;
    }




}

@media screen and (max-width:850px) {
    footer {
        background: var(--foot_bg-mobile);
        aspect-ratio: 3/4;
        min-height: 700px;
    }

    a.logo.pata .img {
        background: var(--logo_pata-small);
    }

    a.logo.pata,
    a.logo.pata .img {
        height: clamp(120px, 21vw, 157px);
        aspect-ratio: 2/1;

    }

    footer section.footer_wrap {
        flex-direction: column;
        margin-top: 0px;
        gap: 40px;
        width: fit-content;
        margin-inline: auto;
    }

    footer section.footer_wrap .kontakt {
        align-items: center;
    }

    footer section.footer_wrap .kontakt a {
        font-size: 1.25rem;
    }

    footer div.odkazy {
        width: 100%;
        justify-content: center;
    }

}

/* ikony */


.ico::before {
    content: '';
    mask: center/contain no-repeat;
    -webkit-mask: center/contain no-repeat;
    width: 1em;
    aspect-ratio: 1/1;
    background: var(--text);
}

.ico {
    display: flex;
    flex-direction: row;
    gap: 8px;
    color: var(--text);
}

.ico.date::before {
    mask-image: url('../img/kalendar_25x25.svg');
    -webkit-mask-image: url('../img/kalendar_25x25.svg');

}

.ico.logo::before {
    width: 1.45em;
    mask-image: url('../img/ikona_vinar.svg');
    -webkit-mask-image: url('../img/ikona_vinar.svg');

}

.ico.shop::before {
    mask-image: url('../img/ikona_eshop.svg');
    -webkit-mask-image: url('../img/ikona_eshop.svg');

}

.ico.tel {
    white-space: nowrap;
}

.ico.tel::before {
    mask-image: url('../img/ikona_telefon.svg');
    -webkit-mask-image: url('../img/ikona_telefon.svg');
    background-color: white;
}

.ico.mail::before {
    mask-image: url('../img/ikona_email.svg');
    -webkit-mask-image: url('../img/ikona_email.svg');
    background-color: white;
}

/* checkbox */

input.custom[type="checkbox"],
input.custom[type="radio"] {
    position: absolute;
    left: -9999px;
}

input.custom[type="checkbox"]+label.labelcheckbox,
input.custom[type="radio"]+label.labelcheckbox {
    position: relative;
    padding-top: 0;
    padding-left: 2.3rem;
    padding-right: 1.5rem;
    cursor: pointer;
    font-size: 1rem;
}

input.custom[type="checkbox"]+label.labelcheckbox.right,
input.custom[type="radio"]+label.labelcheckbox.right {
    padding-left: 0rem;
    padding-right: 2.3rem;
}

input.custom[type="checkbox"]+label.labelcheckbox:before,
input.custom[type="radio"]+label.labelcheckbox::before {
    content: '';
    background: #fff;
    border: 2px solid var(--druha_barva);
    border-radius: 2px;
    height: 1.4rem;
    width: 1.4rem;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

input.custom[type="checkbox"]+label.labelcheckbox.right:before,
input.custom[type="radio"]+label.labelcheckbox.right:before {
    left: unset;
    right: 0;
}

input.custom[type="checkbox"]+label.labelcheckbox:after,
input.custom[type="radio"]+label.labelcheckbox:after {
    content: '';
    width: 0.75rem;
    height: 0.3rem;
    position: absolute;
    border-bottom: 2px solid var(--druha_barva);
    border-left: 2px solid var(--druha_barva);
    top: 48%;
    left: 0%;
    opacity: 0;
    transform: scale(2) translateY(-3%) translateX(50%) rotate(-45deg);
    transition: transform 0.3s linear, opacity 0.3s linear;
}

input.custom[type="checkbox"]+label.labelcheckbox.right:after,
input.custom[type="radio"]+label.labelcheckbox.right:after {
    left: unset;
    right: 0.85rem;
}


input.custom[type="checkbox"]:checked+label.labelcheckbox:after,
input.custom[type="radio"]:checked+label.labelcheckbox:after {
    opacity: 1;
    transform: scale(1) translateY(-50%) translateX(50%) rotate(-45deg);
}


@media screen and (max-width:1150px) {
    *{
        --padding: 6vw;
    }

}



*{
    --dropdown_menu_trigger: 768px; /* SPAROVANE S JS -> JEN V PX!*/
}

@media (max-width: 768px) { /* MUSI BYT STEJNE JAKO  --dropdown_menu_trigger */

    header {
        -webkit-transition: all var(--menu_open_time) ease-in-out;
        -moz-transition: all var(--menu_open_time) ease-in-out;
        -o-transition: all var(--menu_open_time) ease-in-out;
        transition: all var(--menu_open_time) ease-in-out;
        transition-delay: background-color var(--menu_open_time);
        /* background: var(--header_bg_full); */
        height: var(--header_mobile_height);
        /* margin-top: 61px; */
        /* padding-block: 20px; */
        padding-bottom: 0px;
        align-items: center;
        padding-top: var(--section_telefon_heigth);;
    }
    header.full_open {
        padding-top: 0px;
        height: var(--header_mobile_height_scroll);
        
    }
    

    


    a.logo {
        padding-top: 0;
        height: fit-content;
    }

    header.full_open a.logo .img {
        padding-block: 12px;
    }

    header a.logo .img {
        padding-block: 0px;
    }

    .menu {
        position: absolute;
        box-sizing: border-box;
        top: var(--header_mobile_height);
        left:0;
        width: 100%;
        overflow: hidden;
        padding: 0;
        padding-inline: 0;
        max-height: 0vw;
        background: var(--header_mobile_open);
        height: fit-content;
        -webkit-transition: all var(--menu_open_time) ease-in-out;
        -moz-transition: all var(--menu_open_time) ease-in-out;
        -o-transition: all var(--menu_open_time) ease-in-out;
        transition: all var(--menu_open_time) ease-in-out;
    }

    header.full_open .menu {
        top: var(--header_mobile_height_scroll);
    }

    
    .menu ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 2vw;
        align-items: flex-end;
        box-shadow: none;


    }

    .menu > ul li a:hover, .menu > ul li > a.active  {
        text-decoration: none;
        color: var(--textmenuhover);
    }

    .menu > ul > li::before {
        display: none;
    }

    .menu > ul > li {
        display:grid;
        justify-items: end

    }
    .menu ul li.sipka_dolu {
        position: relative;
        display: grid;
        padding-right: calc(1rem + 20px);
        margin-right: 0;

    }

    .menu ul li.sipka_dolu > a {
        margin:0;
        margin-left: 0;
    }

    .menu ul li.sipka_dolu::after {
        position: absolute;
        top: 22px;
        right: 10px;
        pointer-events: all;
        cursor: pointer;
        
    }

    .menu ul li > ul {
        position: relative; 
        display: none;
        height: 0;
        top:1rem;
        left: 0;
        background-color: transparent;
        transform: none;
        opacity: 0;
        box-shadow: none;
        gap:2rem;
        width: 90%;
        padding-top: 0;
        align-items: flex-end;
    }

    .menu ul li > ul > li{
        justify-content: flex-start;
    }

    .menu ul li > ul > li {
        padding-inline: 0;
        width: 100%
    }
    .menu ul li > ul > li > a{
        font-size: clamp(1.1rem, 1.5vw, 1.2rem);
    }

    .menu > ul > li > ul > li > a {
        margin-bottom: 0;
        color: var(--textmenu);
        text-align: left;
        font-size: .9rem;
        padding-bottom: .4rem;
        padding-left: .5rem;
        border-bottom: 1px solid white;
        width:100%;

        /* -- */
        grid-template-rows: auto;
        grid-column: 1;
        grid-row: 1;
        grid-template-columns: auto 80px;
        justify-content: space-between;
    }


    .menu > ul > li > a {
        text-align: right;
        border-radius: .4rem 0 0 .4rem;
        box-shadow: -10px 5px 30px #0000002a; 


    }


    section.telefon p.addr {
        display: none;
    }

    section.telefon div.wrap_width {
        justify-content: flex-end;
    }

    .menu_open {
        display: block;
        position: absolute;
        top: 23px;
        right: min(5.2vw, 104px);
        height: 25px;
        width: 28.8px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        z-index: 20;
        transition: all .3s ease-in-out;
    }

    header.full_open .menu_open {
        top: 23px;
    }

    .menu_open div{
        box-sizing: border-box;
        width: 100%;
        border-bottom: var(--menu_open_bg) solid clamp(1px,.8vw, 3px);
        transition: all .4s;


    }

    header.podstranka .menu_open div{
        border-bottom: white solid clamp(1px,.8vw, 3px);
        outline: 1px solid rgb(141, 141, 141);
        transition: all .4s;
        

    }

    header.full .menu_open div, header.full_open .menu_open div{
        border-bottom: var(--menu_open_bg) solid clamp(1px,.8vw, 3px);
        outline: 0px solid rgb(141, 141, 141);
        transition: all .4s;
        

    }


    
    @keyframes rot {
        from {transform: rotate(0deg)}
        to {transform: rotate(360deg)}
    }

    @keyframes caraFadeOff {
        from {width: 100%}
        to {width: 0}

    }

    @keyframes caraFadeIn {
        from {width: 0}
        to {width: 100%}

    }

    .carRot {
        animation-name: rot;
        animation-duration: 1.4s;
    }



    .menu.visible {
        max-height: calc(100vh - var(--header_mobile_height) - 45px);
        overflow-y: auto;
        padding-bottom: 3rem;
        padding-top: min(3.2rem, 3vw);
        

    }

    .menu ul li > ul.visible {
        display: flex !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 100 !important;
        margin-bottom: 20px;
        padding-bottom: 3rem;

        
    }

    /* nastaveni menu stranky*/
    .menu ul li > ul.visible {
        gap:0;
    }

    .menu > ul > li > ul > li > a {
        padding-block: 15px;
        align-items: center;
        justify-content: flex-start;
        flex-direction: row-reverse;
        gap: 15px
    }
    .menu > ul > li > ul > li:first-of-type > a {
        /* border-top: 1px solid #D9D9D9; */
    }

    .menu > ul > li > ul > li:last-of-type > a {
    }


    .menu {
        padding-inline: var(--padding)
    }

    .menu > ul {
        gap: 0;

    }

    .menu > ul > li {
        width: 100%;
        height: fit-content;    
        padding-inline: 10px;

    }

    .menu > ul > li,
    .menu > ul > li > ul > li {
        border-bottom: 1px solid #acacac ;
    }

    .menu > ul > li > ul > li:first-of-type {
        border-top: 1px solid #acacac ;
    }

    .menu ul li.sipka_dolu a:not([href]), .menu ul li.sipka_dolu a[href=""] {
        pointer-events: none;
    
    }

    .menu > ul > li > a {
        text-align: left;
        /* width: 100%; */
        box-shadow: none;
        background: transparent;
        text-decoration: none !important;
        padding-block: 1rem;
        border-radius: 0;
        display: flex;
        /* color: white; */
        justify-content: flex-end;
    }
    /* .menu > ul > li > a::after {
        content: '';
        background-image: url('../img/ikona_cta_21x17.svg');
        background-repeat: no-repeat;
        height: 1em;
        aspect-ratio: 4/3;
        transition: all .3s ease-in-out;
    } */


    .menu > ul > li > a.active::before {
        display: none;
    }

    header a.logo .img.full {
        display: block;
    }

    




    /* --- */

    section.tit {
        /* min-height: clamp(744px, 80vh, 804px); */
        height: fit-content;
        min-height: 400px;
        aspect-ratio: 2/1.3;
    }

    section.tit > img {
        display: none;
        visibility: hidden;
        opacity: 0;
    }

    section.tit > img.tablet, section.tit > img.mobile {
        display: block;
        visibility: visible;
        opacity: 1;
        object-position: bottom center;
        object-fit: cover;
        width: 100%;
    }




    section.tit .btn {
        /* margin: auto; */
    }

    section.tit > div.obsah {
        /* justify-content: flex-start; */
        /* margin-top: 80px; */
        padding-top: 0;
        margin-block: auto;
        /* align-items: center; */

        /* padding-top: 170px; */

        /* padding-top: calc(50px + var(--padding)); */
        align-items: center

    }

    section.tit h1 {
        margin-top: 90px;
        text-align: center;
    }

        section.tit div.buttons {
            grid-template-columns: auto auto;
            margin-top: 10px;
        }
    
        section.tit div.buttons .btn, section.tit div.buttons .btn-inverse {

        }




    /* ----- */




    header a.tel {
        display: none;
    }


    section.text_pozadi:first-of-type {
        margin-top: 0px;
    }

    section.text_pozadi:not(:last-of-type) {
        margin-bottom: 50px;
    }


    main.kontakt {

        padding-top: 150px;
    }

    section.tit {
        margin-top: calc(var(--header_mobile_height) - 50px);
        top: -2px;
        /* aspect-ratio: unset; */
        padding-top: 0px;
    }

    section.tit.podstrana {
        aspect-ratio: 8 / 1;
        min-height: 240px;
        max-height: 461px;
    }

    section.tit.podstrana > div.obsah h1 {
        padding-top: 89px;
    }

    section.tit::before {
        transform: none;
    }


    main {
        padding: 40px var(--padding) 100px var(--padding);
    }
    
    .menu ul li > ul > li > a::after,
    .menu ul li > ul::before {
        display: none;
    }


    .menu ul li > ul > li > a::before {
        width: 25px;
    }


}

@media (min-width: 769px) {  /* --dropdown_menu_trigger + 1 px */

    header.full_open a.logo .img,
    header.full_open a.logo {
        height: var(--header_logo_height-full);
    }

    section.tit > a:hover{
        max-width: 450px;
        background-color: white;
    
    }

    header.full_open a.tel {
        padding-top: calc(min(0.6vw, 0.8rem) + 25px);
    }


    .menu > ul > li.sipka_dolu > a::before{
        /* content: ''; */
        width: 32px;
        height: 32px;
        position: absolute;
        top: calc(8px + var(--header_logo_height-full)); 
        transform-origin: center;
        transform: skew(10deg, 0deg) rotate(50deg);    
        left: 50%;
        -webkit-mask-size: cover;
        mask-size: cover;
        background-color: var(--submenu_background);

        visibility: hidden;
        opacity: 0;
        transition:all .2s ease-in-out;
        transition-delay: .5s;
        pointer-events: none;
        

    }

    header.full_open .menu > ul > li.sipka_dolu > a::before {
        top:calc(var(--menu_dropdown_top) - 34px);

    }


    .menu > ul > li.sipka_dolu:hover > a::before {
        opacity: 1;
        visibility: visible;
        transition-delay: .04s;

    }

    header.full_open .menu {
        height: var(--menu_heigth-full);
    }
/*
    .menu ul li > ul > li:hover > a.active::before {
        background:  var(--menu_dropdown_icon);
    }
*/
    .menu ul li > ul > li:hover > a.active {
        text-decoration: none;
    }
    
    .menu ul li > ul > li:hover > a, .menu ul li > ul > li > a.active{
        /* text-decoration: underline; */
    }

    .menu ul li > ul > li > a:hover{
    }
    
    .menu ul li > ul > li:not(:last-of-type){
        border-right: 1px solid var(--menu_dropdown_line_color);
    }
    .menu ul li > ul {
        box-shadow: 0px 6px 25px #0000001A;
        border-radius: 15px;
        padding-block: 34px;
    }

    .menu > ul > li:last-child {
        padding-right: 0;
    }

    .menu ul li > ul > li > a {
        flex-direction: column;
        font-weight: var(--w_light);
        font-size: 1.2rem;
        white-space: nowrap;
        padding: 0px clamp(35px, 4vw, 60px);
        align-items: center;
        color: var(--hlavni_barva);
    }

    



    .menu ul li > ul > li > a::after {
        content: '';
        position: absolute;
        top: 0px;
        left: 50%;
        transform: translateX(-50%) translateY(-15%);
        display: block;
        width: clamp(75px, 6vw, 104px);
        height: auto;
        aspect-ratio: 2/3;
        z-index: 2;
        transition: .3s ease-in-out all;
        transform-origin: center;
        background: url('../img/nase_vina/vino_bile.webp') center/cover no-repeat;
    }

    .menu ul li > ul > li > a:hover::after,
    .menu ul li > ul > li > a.active::after {
        transform: translateX(-50%) translateY(-15%) rotate(22deg);
    }

    .menu ul li > ul > li > a.active:hover::after {
        transform: translateX(-50%) translateY(-15%);
    }

    .menu ul li > ul > li > a.active:hover {
        text-decoration-color: transparent;
    }

    .menu ul li > ul > li > a[name="Červená vína"]::after {
        background-image: url('../img/nase_vina/vino_cervene.webp');
    }

    .menu ul li > ul > li > a[name="Růžová vína"]::after {
        background-image: url('../img/nase_vina/vino_ruzove.webp');
    }

    .menu ul li > ul > li > a[name="Frizzante"]::after {
        background-image: url('../img/nase_vina/vino_frizzo.webp');
    }
}

@media screen and (max-width: 450px) {
    a.logo .img {
        background: var(--logo_small);
    }
}

@media screen and (max-width: 440px) {
    section.tit h1 {
        /* font-size: clamp(1.75rem, 8vw, 2.2rem); */
        font-size: 2.2rem;
    }
}


/* SUBMENU IKONY */


/* --- */





.preload, .preload * {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    height: 0;
    width: 0;
    z-index: -1;
}

.captcha {
    width: 240px;
}


.mt1 {
    margin-top: 1rem;
}
.mt2 {
    margin-top: 2rem;
}


footer p.for_cookies {
    position: absolute;
    right: 0;
    width: fit-content;
    margin-right: var(--padding);
    text-align: right;
    bottom: 0;
    margin-bottom: 10px;
    z-index: 2;
    color: var(--text);
    opacity: 55%;
    font-size: 15px;
}
@media screen and (max-width:690px) {
    footer p.for_cookies {
        position: static;
        grid-column: 1/-1;
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 0;
    }
}


/* cookies */

html body .termsfeed-com---palette-light .cc-nb-buttons-container .cc-nb-reject {
    background-color: #eaeaea;
    color: #111;
    border: 1px solid #c6c6c6;
}


html body .termsfeed-com---nb .cc-nb-main-container {
    padding: 1.2rem;
    font-weight: var(--w_regular);
}

html body .termsfeed-com---nb-simple {
    width: 100%;
    max-width: 750px !important;
    box-shadow: 0px -2px 11px -2px rgba(0,0,0,0.64) !important;
}

html body .termsfeed-com---palette-light .cc-nb-text {
    font-weight: 100;
    font-size: 15px;
}

html body .termsfeed-com---palette-light .cc-nb-title {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

html body .termsfeed-com---palette-light .cc-nb-reject {
    color: #fff;
    background-color: #a8a6a6;
}
html body .termsfeed-com---palette-light .cc-nb-changep {
    border: 1px solid #c6c6c6;
}

html body .termsfeed-com---palette-light .cc-nb-okagree {
    background-color: var(--hlavni_barva) !important;
    color: white !important;
    min-width: 90px !important;
    border: 1px solid var(--hlavni_barva);
}

html body .termsfeed-com---palette-light .cc-nb-okagree:hover,
html body .termsfeed-com---palette-light .cc-cp-foot-save:hover {
    background-color: var(--druha_hover) !important;
    color: var(--hlavni_barva) !important;
}

html body .termsfeed-com---palette-light .cc-cp-foot-save {
    background-color: var(--hlavni_barva) !important;
    color: white !important;
    border: 1px solid var(--hlavni_barva);
}
html body .termsfeed-com---palette-light .cc-pc-head-title-headline {
   display: none;
}
html body .termsfeed-com---palette-light .cc-pc-head-close:active, .termsfeed-com---palette-light .cc-pc-head-close:focus {
    border: none !important;
}
html body .termsfeed-com---pc-dialog .cc-cp-body-content-entry-text {
    font-size: 15px;
    line-height: 1.4;
}
html body .termsfeed-com---pc-overlay {
    overflow-y: scroll;
}

html body .cc-custom-checkbox input {
    width: inherit;
}

html body .termsfeed-com---palette-light .cc-pc-head-lang select {
    font-size: 16px;
    padding-left: 2rem;
}
html body .termsfeed-com---palette-light .cc-pc-head-lang select option {
    font-size: 15px;
}
html body .termsfeed-com---palette-light .cc-pc-head-close {
    font-size: 1.2rem;
}


@media (max-width: 320px), (max-height: 480px) {
html body .termsfeed-com---nb-simple {
    height: auto;
}
   
}

@media (max-width: 768px){
    html body .termsfeed-com---nb-simple {
        width: 100%;
        max-width: unset !important;
    }
    html body .termsfeed-com---nb .cc-nb-main-container {
        padding: 1.5rem;
    }

}

@media (max-width: 480px) {

    html body .termsfeed-com---nb .cc-nb-okagree, html body .termsfeed-com---nb .cc-nb-reject, html body .termsfeed-com---nb .cc-nb-changep {
        display: block;
        width: 100%;
        max-width: 240px;
    }
    
    html body .termsfeed-com---nb .cc-nb-buttons-container .cc-nb-okagree {
        margin-bottom: 1rem !important;
    }
}


@media (max-width: 320px) {

    html body .termsfeed-com---nb-simple {
    overflow: auto;
    max-width: 100%;
}

}


/*cookies*/


/* youtube */
iframe html .ytp-embed:not(.ad-showing) .ytp-title-text,
iframe html .ytp-title-channel-logo,
iframe html .ytp-title-enable-channel-logo .ytp-title-channel,
iframe html .html5-video-player:not(.ytp-big-mode) .ytp-chrome-top .ytp-copylink-button,
iframe html .ytp-impression-link {
    display: none !important;
}