/* styly pro střední displeje: "L" velikost (výchozí velikost) */
@font-face {
    font-family: 'Calibri';
    src: local('Calibri'), url('../fonts/calibri.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body,
html {
    box-sizing: border-box;
    font-family: Calibri, sans-serif;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    width: 100vw;
    font-size: 25px;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

* {
    box-sizing: inherit;
}

.main {
    position: static;
    display: block;
    padding: 0;
}

section {
    position: static;
    display: block;
    margin: 0;
    padding: 0;
    /* padding-right: 10% !important; */
}

p,
li {
    color: #765;

    align-items: center;
    overflow-wrap: break-word;
}

h1 {
    font-size: 1.3em;
    line-height: 1.25em;
    letter-spacing: .07em;
    text-shadow: 3px 5px 4px #4bc;
}

h2 {
    font-size: 1.3em;
    line-height: 1.25em;
    letter-spacing: .1em;
    text-align: left;
    margin-top: 0;
    margin-left: 75px;
    color: #22b8cf;
}

h3 {
    font-size: 1.2em;
    line-height: 1.25em;
    letter-spacing: .03em;
    text-align: left;
    padding-top: 0;
    border-bottom: .2em solid #fff4;
    padding-bottom: .7ex;
}

em {
    display: inline-block;
    padding: 0 .05em;
    font-style: oblique;
    font-weight: normal;
    letter-spacing: .03em;
}


#features,
#new-features {
    display: block;
    margin: 0;
    padding: 2em;
    width: 100vw;
    color: #fff;
    background-color: whitesmoke;
    overflow: visible;
}

#gallery img,
#new-features img,
#testimonials img {
    box-sizing: border-box;
    margin: 2em;
    padding: 0;
    border-radius: 10px;
    margin-bottom: 0.5em;
}

#banner,
#benefits,
#features {
    animation: barevnost 8s both;
    animation-timing-function: easy;
    /* hodnota "ease" – rychlý start a pak zpomalení, bohužel jen v jednom směru. */
    animation-delay: 1s;
    /* zpoždění startu */
    animation-iteration-count: 1;
    -webkit-animation: barevnost 8s both;
    -webkit-animation-timing-function: easy;
    /* hodnota "ease" – rychlý start a pak zpomalení, bohužel jen v jednom směru. */
    -webkit-animation-delay: 1s;
    /* zpoždění startu */
    -webkit-animation-iteration-count: 1;
}

@-webkit-keyframes barevnost {
    0% {
        -webkit-filter: saturate(85%);
    }

    100% {
        -webkit-filter: saturate(100%);
    }
}

@keyframes barevnost {
    0% {
        filter: saturate(85%);
    }

    100% {
        filter: saturate(100%);
    }
}

a {
    opacity: 0.85;
}

:hover {
    opacity: 1;
    transition: opacity .2s ease-in-out 0s;
}

:focus {
    opacity: 1;
    outline: 6px solid #79d2db;
    outline-offset: 2px;
    border-radius: 5px;
}

#features :focus,
#new-features :focus {
    outline-color: #fff;
    z-index: 9999;
    overflow: visible;
    /* z-index dává "focus" (rámek při aktivitě prvku) před okolí, např. u miniatur náhledů ve "features".*/
}

/* HEADER: ikona k posunu na objednávku */
header {
    position: fixed;
    display: block;
    top: 0;
padding: 5px 5px;  
    height: auto;
    width: 100%;
    border-bottom: 2px solid #addeee;
    background-color: white;
    text-align: left;
    color: #cde5ec;
    box-shadow: 2px 2px 12px #afdfff;
                background-image: url("images/logo.png");
            background-size: auto 45px;
            background-position: 50px center;
            background-repeat: no-repeat;
            z-index: 2;
    z-index: 1000;
}

#posun-kontejner {
    position: static;
    display: block;
    margin-right: 2em;
    margin-top: 0;
    padding: 0;
    height: 60 px;
    font-size: .9em;
    font-weight: 900;
    letter-spacing: .22em;
    color: #477799;
    padding: 0 0 2px 0;
    text-align: right;
    top: 0 !important;
    float: right;
    z-index: 998;
}

#posun-ikona {
    position: static;
    margin: 0;
    padding: .2em 1ex;
    text-align: center;
    height: auto;
    width: 8em;
    border: 2px solid #9deefe;
    border-radius: 1em;
    background-color: #5dc7de;
}

#posun-ikona:hover {
    position: static;
    border: 2px solid #fa3;
    background-color: #4db7d5;
}

a[href="https://ucebnice.org/pomucky/skolnikalendar"] {
    position: static;
    display: inline-block;
    text-decoration: none;
    font-size: 1.2em;
    letter-spacing: .15em;
    color: #fff;
}

/* ========================================
   RESPONZIVITA
   ======================================== */

/* Tablety (768px a méně) */
@media (max-width: 768px) {
    header {
        padding: 8px 15px;  /* ← ZMĚNA: menší padding, vycentruje obsah */
        background-size: auto 40px;  /* ← ZMĚNA: menší logo */
        background-position: 15px center;  /* ← ZMĚNA: logo blíž k okraji */
    }
    
    #posun-kontejner {
        margin-right: 1em;  /* ← ZMĚNA: menší pravá mezera */
        font-size: 0.85em;  /* ← ZMĚNA: menší text */
    }
    
    #posun-ikona {
        width: 7em;  /* ← ZMĚNA: užší tlačítko */
    }
    
    a[href="https://ucebnice.org/pomucky/skolnikalendar"] {
        font-size: 1.1em;  /* ← ZMĚNA: menší font */
        letter-spacing: .12em;  /* ← ZMĚNA: menší mezery mezi písmeny */
    }
}

/* Mobily (480px a méně) */
@media (max-width: 480px) {
    header {
        padding: 7px 10px;  /* ← ZMĚNA: ještě menší padding, vycentruje obsah */
        background-size: auto 35px;  /* ← ZMĚNA: ještě menší logo */
        background-position: 10px center;  /* ← ZMĚNA: logo ještě blíž k okraji */
    }
    
    #posun-kontejner {
        margin-right: 0.5em;  /* ← ZMĚNA: ještě menší pravá mezera */
        font-size: 0.75em;  /* ← ZMĚNA: ještě menší text */
        letter-spacing: .15em;  /* ← ZMĚNA: menší mezery */
    }
    
    #posun-ikona {
        width: 6.5em;  /* ← ZMĚNA: ještě užší tlačítko */
        padding: .2em 0.5ex;  /* ← ZMĚNA: menší padding */
    }
    
    a[href="https://ucebnice.org/pomucky/skolnikalendar"] {
        font-size: 1em;  /* ← ZMĚNA: menší font */
        letter-spacing: .1em;  /* ← ZMĚNA: menší mezery mezi písmeny */
    }
}

/* Malé mobily (360px a méně) */
@media (max-width: 360px) {
    header {
        padding: 6px 8px;  /* ← ZMĚNA: minimální padding, vycentruje obsah */
        background-size: auto 30px;  /* ← ZMĚNA: minimální logo */
        background-position: 8px center;  /* ← ZMĚNA: logo těsně u okraje */
    }
    
    #posun-kontejner {
        margin-right: 0;  /* ← ZMĚNA: bez pravé mezery */
        font-size: 0.7em;  /* ← ZMĚNA: minimální text */
        letter-spacing: .1em;  /* ← ZMĚNA: minimální mezery */
    }
    
    #posun-ikona {
        width: 6em;  /* ← ZMĚNA: minimální šířka tlačítka */
        padding: .15em 0.5ex;  /* ← ZMĚNA: minimální padding */
    }
    
    a[href="https://ucebnice.org/pomucky/skolnikalendar"] {
        font-size: 0.95em;  /* ← ZMĚNA: minimální font */
        letter-spacing: .08em;  /* ← ZMĚNA: minimální mezery mezi písmeny */
    }
}


/* BANNER */
h1 {
    display: block;
    margin: 40px 0 0 0;
    font-size: 1.5em;
    line-height: 1.25em;
    letter-spacing: .07em;
}

/*#banner {
    position: relative;
    display: flex;
    margin: 0 !important;
    padding: 0 !important;
    height: 30.5vw;
    width: 100vw;
    padding: 0 !important;
    background-image: url("images/titulka-pozadi.png");
    background-size: 100vw;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1db7ce;
    overflow: hidden;
}

#banner>article {
    position: relative;
    margin: 0;
    padding: 0;
    left: 9%;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: left;
    width: auto;
    right: 1px;
    top: 0;
    color: #fff;
    letter-spacing: normal;
    line-height: 2em;
    z-index: 1; 
} 

#leticiIkony {
    position: absolute;
    flex: 1;
    margin-right: 30px;
    padding: 0;
    top: 20%;
    right: 20px;
    height: auto;
    width: 40vw;
}

#koule {
    position: absolute;
    display: block;
    bottom: -65px;
    left: 25%;
    height: auto;
    width: 130px;
    z-index: -1;
}

#slovomuj {
    position: static;
    margin-bottom: -.1em;
    margin-top: 0.5em;
    padding: 0;
    height: auto;
    width: 140px; 
}*/

/* BENEFITS: pás třech ikon: školní rok přehledně... */
#benefits {
    position: static;
    display: block;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 1.35em 0 1.1em 0 !important;
    width: 100vw;
    background-color: #fff;
}

/* BENEFITS: pás třech ikon: Tyto styly neřeší noční (tmavý) režim (viz konec CSS), který má navíc změnu ve výšce rámečků všech třech ikon. */
#ikony-blok {
    position: static;
    display: inline-block;
    margin: 0 !important;
    padding: 0 auto !important;
    left: 0;
    text-align: center;
    width: 100%;
    /* min šířka 378px */
    height: 194px;
}

#ikona-1-kontejner,
#ikona-2-kontejner,
#ikona-3-kontejner {
    position: relative;
    display: inline-block;
    margin: 0 !important;
    padding: 0 !important;
    width: 222px;
    height: 194px;
}

#ikona-1,
#ikona-2,
#ikona-3 {
    position: absolute;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    width: 202px;
    height: 190px;
    object-fit: contain;
    object-position: 0 0;
    border: 4px solid #fff;
    /* border-radius: 15px !important; */
    background-color: #fff;
    /* box-shadow: 0 9px 10px #e4ecf1; */
    /* cursor: pointer; */
    animation: drop .4s linear forwards;
}

@keyframes drop {
    0% {
        transform: translateY(-200px) scaleY(0.9);
        opacity: 0;
    }

    5% {
        opacity: .7;
    }

    50% {
        transform: translateY(0px) scaleY(1);
        opacity: 1;
    }

    65% {
        transform: translateY(-17px) scaleY(.9);
        opacity: 1;
    }

    75% {
        transform: translateY(-22px) scaleY(.9);
        opacity: 1;
    }

    100% {
        transform: translateY(0px) scaleY(1);
        opacity: 1;
    }
}

/* #ikona-1-xl, #ikona-2-xl, #ikona-3-xl */
.prepinac {
    position: absolute;
    display: none;
    margin: 0 !important;
    padding: 0 !important;
    width: 202px;
    height: 190px;
    vertical-align: top;
    border: 2px solid #fff;
    /* border-radius: 15px !important; */
    background-color: #fff;
    /* cursor: pointer; */
}

/* FEATURES: montáž obrázků - obsahuje také galerii s náhledy */
#features {
    position: relative;
    display: grid;
    box-sizing: border-box;
    clear: both;
    padding: 1.8em 0 1em 0;
    height: 100%;
    width: 100vw;
    grid-template-columns: 100%;
    font-size: 1em;
}

#features .grid-item {
    margin-bottom: 0;
    /* mezera pod obrázkem */
    padding: 5px 2em 0 1em;
    font-size: 1em;
}

#features img {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

/* FEATURES: Galerie s náhledy */
#montaz-obr3aBublina3 {
    position: static;
    display: block;
    margin: 2em 0 0 0;
    padding: 0;
    height: auto;
    width: 100%;
}

#bublina-ve-features {
    position: absolute;
    float: left;
    top: -10px;
    /* posun výše ke slajdům */
    left: 40%;
    height: auto;
    width: 370px;
    z-index: 99;
}

/* "container" obsahuje zvětšený obrázek, který se načítá pomocí skriptu. */
.container {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: row;
    padding: 1.2em 0 0 2em;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 60% !important;
    clear: both;
    z-index: 0;
    background-color: #f5efd3;
}

#first-img-kontejner {
    position: relative;
    display: flex;
    /* Hodnota relative umístí obrázek zcela vlevo */
    margin: 0.2em;
    top: 0;
    bottom: 10px;
    left: 40px;
    object-fit: contain;
    align-items: center;
}

#first-img {
    position: relative;
    /* Hodnota relative umístí obrázek zcela vlevo */
    margin: 0;
    padding: 0;
    width: 35vw;
    border-radius: 5%;
}

/* Obsahuje popis u zvětšeného obrázku. */
#imgtext {
    position: relative;
    display: block;
    visibility: hidden;
    margin-top: -30px;
    bottom: 0;
    left: 0;
    padding: 2px 0 0 0 !important;
    text-align: center;
    width: 6em;
    height: 30px;
    color: #fff;
    font-size: 20px;
    z-index: 100;
    border-radius: 5px;
    background-color: #79d2db;
    animation: bgcolor 1.3s both;
    animation-timing-function: easy;
    /* hodnota "ease" – rychlý start a pak zpomalení, bohužel jen v jednom směru. */
    animation-delay: 1s;
    /* zpoždění startu */
    animation-iteration-count: infinite;
    -webkit-animation: bgcolor 1.3s both;
    -webkit-animation-timing-function: easy;
    /* hodnota "ease" – rychlý start a pak zpomalení, bohužel jen v jednom směru. */
    -webkit-animation-delay: 1s;
    /*zpoždění startu */
    -webkit-animation-iteration-count: infinite;
}

@keyframes bgcolor {
    0% {
        background-color: #79d2db;
    }

    50% {
        background-color: #64ccde;
    }

    100% {
        background-color: #79d2db;
    }
}

@-webkit-keyframes bgcolor {
    0% {
        background-color: #79d2db;
    }

    50% {
        background-color: #64ccde;
    }

    100% {
        background-color: #79d2db;
    }
}

/* "expandedImg" zvětšený obrázek, který se načítá pomocí skriptu. */
#expandedImg {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    margin-left: 3vw !important;
    width: 94vw;
    border-radius: 5% !important;
}

/* Základní styl pro galerii */
.row#galerie {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px 60px 20px 60px;
    width: 100vw;
    box-sizing: border-box;
    background-color: #ffe787;
}

.column {
    flex: 0 1 calc(20% - 20px);
    max-width: calc(20% - 20px);
    min-width: 150px;
    margin: 0;
    transition: transform 0.3s ease;
}

.column a {
    display: block;
    width: 100%;
    height: 100%;
}

.column img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 5px;
}

.column:hover {
    transform: scale(1.05);
}

.column:focus {
    outline: 2px solid #007bff;
    outline-offset: 3px;
}

/* RESPONZIVITA */

/* Velké obrazovky - 5 obrázků vedle sebe (výchozí) */
@media (min-width: 1400px) {
    .row#galerie {
        gap: 25px;
        padding: 25px 80px;
    }
    
    .column {
        flex: 0 1 calc(20% - 25px);
        max-width: calc(20% - 25px);
    }
}

/* Střední velké obrazovky - 5 obrázků */
@media (max-width: 1399px) and (min-width: 1200px) {
    .row#galerie {
        gap: 20px;
        padding: 20px 60px;
    }
    
    .column {
        flex: 0 1 calc(20% - 20px);
        max-width: calc(20% - 20px);
    }
}

/* Střední obrazovky - 4 obrázky vedle sebe */
@media (max-width: 1199px) and (min-width: 992px) {
    .row#galerie {
        gap: 18px;
        padding: 20px 50px;
    }
    
    .column {
        flex: 0 1 calc(25% - 18px);
        max-width: calc(25% - 18px);
    }
}

/* Menší obrazovky - 3 obrázky vedle sebe */
@media (max-width: 991px) and (min-width: 768px) {
    .row#galerie {
        gap: 15px;
        padding: 20px 40px;
    }
    
    .column {
        flex: 0 1 calc(33.333% - 15px);
        max-width: calc(33.333% - 15px);
    }
}

/* Tablety - 3 obrázky vedle sebe */
@media (max-width: 767px) and (min-width: 600px) {
    .row#galerie {
        gap: 15px;
        padding: 18px 30px;
    }
    
    .column {
        flex: 0 1 calc(33.333% - 15px);
        max-width: calc(33.333% - 15px);
        min-width: 120px;
    }
}

/* Malé tablety - 2 obrázky vedle sebe */
@media (max-width: 599px) and (min-width: 480px) {
    .row#galerie {
        gap: 12px;
        padding: 15px 25px;
    }
    
    .column {
        flex: 0 1 calc(50% - 12px);
        max-width: calc(50% - 12px);
        min-width: 140px;
    }
    
    .column:hover {
        transform: scale(1.03);
    }
}

/* Mobily - 2 obrázky vedle sebe */
@media (max-width: 479px) and (min-width: 400px) {
    .row#galerie {
        gap: 10px;
        padding: 12px 20px;
    }
    
    .column {
        flex: 0 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
        min-width: auto;
    }
    
    .column:hover {
        transform: scale(1.02);
    }
}

/* Malé mobily - 2 obrázky vedle sebe */
@media (max-width: 399px) and (min-width: 360px) {
    .row#galerie {
        gap: 8px;
        padding: 10px 15px;
    }
    
    .column {
        flex: 0 1 calc(50% - 8px);
        max-width: calc(50% - 8px);
        min-width: auto;
    }
    
    .column:hover {
        transform: scale(1.02);
    }
}

/* Velmi malé mobily - 1 obrázek pod druhým */
@media (max-width: 359px) {
    .row#galerie {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 10px 15px;
    }
    
    .column {
        flex: 0 1 100%;
        max-width: 90%;
        min-width: auto;
    }
    
    .column:hover {
        transform: scale(1.01);
    }
}

/* Landscape orientace na mobilech a tabletech */
@media (max-height: 600px) and (orientation: landscape) {
    .row#galerie {
        gap: 12px;
        padding: 12px 30px;
    }
    
    .column {
        flex: 0 1 calc(20% - 12px);
        max-width: calc(20% - 12px);
    }
}

/* Landscape na velmi malých mobilech */
@media (max-height: 400px) and (orientation: landscape) {
    .row#galerie {
        gap: 10px;
        padding: 10px 20px;
    }
    
    .column {
        flex: 0 1 calc(25% - 10px);
        max-width: calc(25% - 10px);
    }
}

/* PHOTOSWIPE - Přizpůsobení zvětšených obrázků */
.pswp {
    z-index: 9999;
}

.pswp__img {
    max-width: 90vw !important;
    max-height: 90vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

@media (max-width: 1024px) {
    .pswp__img {
        max-width: 95vw !important;
        max-height: 85vh !important;
    }
}

@media (max-width: 768px) {
    .pswp__img {
        max-width: 100vw !important;
        max-height: 80vh !important;
    }
    
    .pswp__ui {
        font-size: 14px;
    }
    
    .pswp__button {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .pswp__img {
        max-width: 100vw !important;
        max-height: 75vh !important;
    }
    
    .pswp__ui {
        font-size: 12px;
    }
    
    .pswp__button {
        width: 35px;
        height: 35px;
    }
    
    .pswp__caption {
        font-size: 12px;
    }
}

/* Přístupnost - focus stavy */
.column:focus-visible {
    outline: 3px solid #007bff;
    outline-offset: 4px;
    border-radius: 8px;
}



/* FEATURES: odrážkový seznam s velkými puntíky a okolo se složenými závorkami */


.kontejner-vertikal-stred {
    vertical-align: middle;
    flex: 1;
}

strong {
    color: rgb(243 164 186);
    margin-left: 8px;
    margin-right: 8px;
}

strong:first-child {
  margin-left: 0;
}

.odrazky-kruh {
  white-space: nowrap;
}

ul {
    position: static;
    display: block;
    padding: 0 5px 0 85px;
    line-height: 1.5em;
    list-style-type: none;
    clear: none;
    /* margin-bottom: 20%; */
}

ul>li {
    padding-top: .3em;
    padding-bottom: .3em;
    padding-left: 40px;
}

li::before {
    position: relative;
    display: inline-block;
    content: '•';
    color: rgb(243 164 186);
    font-size: 2em;
    margin-top: 6px;
    margin-right: 30px;
    margin-bottom: auto;
    margin-left: -60px;
    vertical-align: baseline;
}

/* MOTTO: sekce */
#motto {
    display: block;
    margin: 0;
    padding: 0;
    height: 80%;
    width: 100vw;
    color: #477799;
    background-color: #fff;
}

#bublina2 {
    position: relative;
    left: 265px;
    height: auto;
    width: 450px;
    z-index: 2;
}

#bublina2-2cast {
    position: relative;
    top: -62px;
    left: 270px;
    height: auto;
    width: 480px;
    z-index: 2;
}

/* GALLERY: sekce */
#gallery {
    display: block;
    margin: 3em 0 .5em 0;
    width: 100vw;
    padding: 2em;
    background-color: #7ccfdb;
}

#obsah-galerie {
    position: static;
    display: block;
    width: 80%;
}


/* GALLERY: zachycování objektů při srolování */
/*        #container {
  width: 80%;
  aspect-ratio: 2/1;
  margin: auto;
  border: 2px solid #ccc;
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  border-radius: 5px;
}

.blue {
  background-color: lightblue;
  height: 95%;
  aspect-ratio: 1/2;
}

.green {
  background-color: lightgreen;
  height: 50%;
  aspect-ratio: 2/1;
}

.blue, .green {
  display: inline-block;
  margin: 5px;
  scroll-snap-align: center;
} 

        #slovomuj-maly {
           position: relative;
           display: inline-block;
           margin-left: 0 !important;
           margin-right: 0 !important;
           margin-top: 0 !important;
           margin-bottom: -15px !important;
           padding: 0;
           height: 133px;
           width: 130px;
           font-size: .25em;
           letter-spacing: 0;
           vertical-align: bottom;
           -webkit-filter: contrast(0%); 
           filter: contrast(0%);
           z-index: 1;
        }  
/*



/* HARMONOGRAM sekce */
#harmonogram {
    display: block;
    position: static;
    box-sizing: border-box;
    margin: 0;
    padding: .5em 0 0 0;
    clear: both;
    border: 1px solid transparent;
    width: 100vw;
    height: 100%;
    font-size: 1em;
    letter-spacing: .015em;
    background-color: #fff;
}

#harmonogram article {
    position: static;
    display: block;
    margin-top: 0;
    padding-top: 0;
    height: auto;
}

.kontejner-pro-h2 {
    position: static;
    display: block;
    margin: 0;
    padding: 0;
    width: 100vw;
}

#text2 {
    position: static;
    display: block;
    margin: 0;
    padding: 0 2em;
}

#p-vText2 {
    position: static;
    display: block;
    margin: 0;
    padding: 0 1em .5em 40%;
    text-align: left;
    font-weight: 600;
    letter-spacing: .04em;
    color: #5391ac;
    z-index: 2;
}

#p-vText2 strong {
    font-size: 2em;
    color: #fb2 !important;
}

.p-dodatek-vText2 {
    position: static;
    display: block;
    margin: 0;
    padding: 0.5em 12% 0.5em 40%;
    border: 0 0 5px 0 !important;
    border-color: #cce2eb;
    z-index: 2;
}

.p-dodatek-vText2>p {
    position: relative;
    display: block;
    text-align: left;
    color: #5391ac;
    letter-spacing: .025em;
    z-index: 2;
}

.ikona-kalendarik {
    position: static;
    margin-left: 2em;
    float: left;
    clear: both;
    width: 20%;
    max-width: 210px;
    height: auto;
    content: url("images/ikona-kalendarik.svg");
    z-index: 0;
}

.sipka-zluta {
    position: absolute;
    display: block;
    margin: -10px 30px 0 40%;
    padding: 0;
    float: right;
    clear: both;
    width: calc(60% - 30px);
    height: auto;
    content: url("images/sipka-zluta-nizsi.svg");
    z-index: 0;
}

/* NEW FEATURES: sekce */


#new-features {
    position: relative;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    clear: both;
    padding: 1.2em 0 60px 0;
    height: 100%;
    width: 100vw;
    grid-template-columns: 100%;
    font-size: 1em;
    gap: .7em;
}

.komplet-obrazek {
    width: 40em;
}

#montaz-obr5aBublina5 {
    position: relative;
    margin: 0 auto 0px auto;
    padding: 0;
    height: 490px;
    width: 700px;
}

#bublina5 {
    position: relative;
    float: left;
    top: -10%;
    left: 20%;
    height: auto;
    width: 450px;
    z-index: 1;
}

#obr5 {
    position: relative;
    display: block;
    align-self: center;

    top: 10px;
    margin-right: 20px;
    padding: 0;
    height: auto;
    width: 373px;
    background-color: #9ce4f5;
    border-radius: 50% !important;
    z-index: 1;
    overflow: hidden;
}

/* NEW FEATURES: odrážkový seznam s velkými puntíky a okolo se složenými závorkami */
#new-features .grid-item {
    margin-bottom: 0;
    /* mezera pod obrázkem */
    padding: 5px 2em 0 1em;
    font-size: 1em;
}

#new-features p {
    padding: 0 2em 0 0;
    margin-left: 75px;
}

.kont-vertikal-stred-2 {
    position: relative;
    display: table-cell;
    margin: 50% 0 50% 0;
    padding: 0;
    height: 400px;
    width: 100%;
    overflow: visible;
}

.komplet-obrazek,
.kont-vertikal-stred-2 {
    flex: 1;
}    


.grid-container-2 {
    box-sizing: border-box;
    position: static;
    display: grid;
    width: 100%;
    grid-template-columns: auto;
    margin: auto;
    padding: 0;
    font-size: 1em;
}

details {
    position: relative;
}

details[open] {
    position: relative;
    padding: 0;
    margin: -11px 10px 10px -14px !important;
    border: 4px solid #ffc6db;
    border-radius: 8px;
    box-shadow: 7px 7px 25px #e7a0bf;
}

summary {
    position: relative;
    display: inline-block;
    list-style-type: none !important;
    cursor: pointer;
    z-index: 999;
}

summary::after {
    display: inline-block;
    content: '';
    margin-top: -.5em;
    margin-left: .5em;
    padding: 2px;
    width: 43px;
    height: 42px;
    background: url('images/sipka-dolu.svg');
    background-size: 34px 33px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #ffbdd5;
    vertical-align: top;
    border: 4px solid #ffcee2;
    border-radius: 8px;
    transition: 0.2s;
    cursor: pointer;
    z-index: 999;
}

details[open]>summary {
    display: block;
    width: auto;
    padding: 10px 15px 0 10px;
    border-bottom: 4px solid #ffc6db;
    background-color: #ffbdd5;
}

details[open]>summary::after {
    border: 0;
    background-color: transparent;
    transform: rotate(180deg);
}

details p {
    padding-left: 0;
}

#nazor {
    height: 5em;
    width: 70%;
}

#new-features textarea {
    border: 0;
}

details :focus {
    opacity: 1;
    outline: none;
    border: 0;
}

details[open]>summary:focus {
    opacity: 1;
    outline: none;
    border: 4px solid #fff;
    border-radius: 5px;
}

summary:focus::after {
    opacity: 1;
    outline: none;
    border: 4px solid #fff;
    border-radius: 5px;
    animation: ztlum-border-focusu 2s both;
    animation-timing-function: easy;
    /* hodnota "ease" – rychlý start a pak zpomalení, bohužel jen v jednom směru. */
    animation-delay: 1s;
    /* zpoždění startu */
    animation-iteration-count: 1;
    -webkit-animation: ztlum-border-focusu 2s both;
    -webkit-animation-timing-function: easy;
    /* hodnota "ease" – rychlý start a pak zpomalení, bohužel jen v jednom směru. */
    -webkit-animation-delay: 1s;
    /*zpoždění startu */
    -webkit-animation-iteration-count: 1;
}

@keyframes ztlum-border-focusu {
    0% {
        border-color: #fff;
    }

    90% {
        border-color: #fff;
    }

    100% {
        border-color: #ffcee2;
    }
}

@-webkit-keyframes ztlum-border-focusu {
    0% {
        border-color: #fff;
    }

    90% {
        border-color: #fff;
    }

    100% {
        border-color: #ffcee2;
    }
}

/* MOTTO: sekce */
#motto {
    display: block;
    margin: 155px 0 220px 0;
    padding: 0;
    height: 80%;
    width: 100vw;
    color: #477799;
    background-color: #fff;
}

#montaz-obr2aBublina2 {
    position: relative;
    margin: -20px auto -195px auto;
    padding: 0;
    height: 490px;
    width: 700px;
}

#obr2 {
    position: static;
    display: block;
    top: 55px;
    margin: 0 auto;
    padding: 0;
    height: auto;
    width: 373px;
    background-color: #ffd7e7;
    border-radius: 50% !important;
    z-index: 1;
}

#bublina2 {
    position: relative;
    margin: 0;
    padding: 0;
    float: left;
    top: -540px;
    left: 35%;
    height: auto;
    width: 203px;
    z-index: 1;
}

#bublina2-2cast {
    position: relative;
    margin: 0;
    padding: 0;
    float: left;
    top: -340px;
    left: 35%;
    height: auto;
    width: 203px;
    z-index: 1;
}

/* TESTIMONIALS: Hodnocení uživatelů */
#testimonials {
    display: block;
    padding: 1.2em 0 60px 0;
    box-sizing: border-box;
    width: 100vw;
    background-color: #fff;
}

#stred_h2 {
    text-align: center;
    padding: 0;
    margin: 0 0 1em 0;
}

#kontejner {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 2em 0 2em;
    justify-content: center;
    text-align: center;
}

.citace {
    width: 25%;
    display: flex;
    flex-direction: column;
    margin: 6px auto 6px auto;
    padding-bottom: 1.5em;
}

/* DŮLEŽITÉ - přepsání globálního pravidla pro p */
.citace p {
    margin: 0;
    display: block !important;
    color: #765;
    text-align: left;
}

.citace strong {
    color: #fff;
    margin: 0;
    display: inline;
}

.citace strong:first-child {
    margin-left: 0;
}

/* FIXNÍ TEXT - BEZ VELKÝCH MEZER */
.citace span {
    display: inline-block;
    width: 100%;
    font-style: italic;
    font-size: 1em;
    line-height: 1.5em;
    text-align: left;
    word-spacing: 0;
    letter-spacing: 0;
    hyphens: manual;
    -webkit-hyphens: manual;
    -moz-hyphens: manual;
}

/* Pokud je text-align: justify, pak funguje text-justify */
@supports (text-justify: inter-word) {
    .citace span {
        text-justify: inter-word;
    }
}

.autorCitace-foto {
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 0 -230px 0;
    padding: 0;
    align-self: center;
    flex-shrink: 0;
}

.autor {
    display: block;
    margin: 0;
    padding: .75em 0 0 0;
    text-align: center;
}

.autor strong {
    color: #333;
    margin: 0;
}

/* PRE-ORDER FORM: před nákupním vozíkem */
#pre-order-form {
    position: static;
    margin-bottom: 0;
    padding: 20px 0 32px 0;
    width: calc(100vw - 121px);
    height: auto;
    border-bottom: 25px dotted #addfea;
    outline: none;
    background-color: #fff;
}

/* ORDER-FORM: sekce */
#order-form {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin: 0;
    scroll-margin-top: 90px;
    padding: 0.5em 3em 1.5em 3em;
    width: 100vw;
    background-color: #f5efd3;
    align-items: center;
}

/* ORDER-FORM: nadpis "h2" */
#order-form h2 {
    padding: 10px 10% 10px 10%;
    width: auto;
    color: #22b8cf;
}

#order-form small {
    display: inline-block;
    padding-top: .5em;
    font-size: 0.75em;
    line-height: 1.2em;
    font-weight: 500;
    letter-spacing: 0;
    color: #6e6e6c;
}

#order-form small>strong {
    color: #775;
}

/* ORDER-FORM: objednávkový formulář */
input,
textarea {
    box-sizing: border-box;
    position: static;
    margin: 0 0 .5em 0;
    padding: .5em;
    border: 2px solid #5dc7de;
    width: 100%;
    font-size: 1.2em;
    letter-spacing: .07em;
    caret-color: blue;
}

input {
    /* ostatní parametry výše */
    height: 1.9em;
    margin-bottom: 15px !important;
    /* Přebíjí nejednotné (výchozí?) mezery "nad" a "pod" formulářovým polem, např. u type="number" je mezera jiná než u type="text" */
}

::placeholder {
    color: #cde5ec;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
    margin: 0;
}

#souhlas {
    /* input[type=checkbox] */
    box-sizing: border-box;
    position: absolute;
    float: left;
    display: block;
    cursor: default;
    accent-color: #40abc0;
    /* ovlivňuje border i background */
    filter: invert(5%) sepia(97%) saturate(217%) hue-rotate(140deg) brightness(105%) contrast(99%);
}

#souhlas:focus {
    /* input[type=checkbox] */
    opacity: 1;
    outline: 6px solid #49a2ab;
    outline-offset: 2px;
    border-radius: 5px !important;
}

#souhlas:checked {
    /* input[type=checkbox] */
    accent-color: #40abc0;
    filter: none;
    outline: 6px solid #9deefe;
}

#souhlas:hover {
    /* input[type=checkbox] */
    border: 2px solid red;
    outline: none;
    accent-color: #40abc0;
    filter: invert(5%) sepia(97%) saturate(217%) hue-rotate(140deg) brightness(105%) contrast(99%);
    /* Po najetí neztmavi zatržítko (výchozí nastavení je ztmavení použité barvy). */
}

.div-kZatrzitku {
    /* Kryje se se zatržítkem, a ruší ztmavení rámečku po najetí na něj. Neruší ale změnu rámečku po najetí vedle na popis v tagu "label" */
    box-sizing: border-box;
    position: static;
    display: block;
    right: 0;
    outline: none;
}

.div-kZatrzitku:hover {
    /* Kryje se se zatržítkem, a ruší ztmavení rámečku po najetí na něj. Neruší ale změnu rámečku po najetí vedle na popis v tagu "label" */
    border: 2px solid red;
    width: 40px;
    height: 40px;
}

#souhlas:default {
    /* input[type=checkbox] */
    filter: none;
}

#souhlas+.formular-popis-kCheckboxu:active {
    background-color: yellow;
}

.grid-item formular-margin-right formular-popis-kCheckboxu {
    display: relative;
    }


button {
    margin: 15px 0;
    display: flex;
    padding: .5ex 1ex;
    font-size: 2em;
    letter-spacing: .15em;
    color: #fff;
    border: 2px solid #9deefe;
    border-radius: 1em;
    background-color: #5dc7de;
    align-self: center;
}

button:hover {
    border: 2px solid #fa3;
    background-color: #4db7d5;
}

/* ORDER-FORM: grid k objednávkovému formuláři */
.grid-container {
    box-sizing: border-box;
    position: static;
    display: grid;
    width: 100%;
    grid-template-columns: auto;
    margin: auto;
    padding: 0;
    font-size: 1em;
}

.grid-item {
    display: flex;
    position: relative;
    font-size: 1em;
    padding: 0;
}

.formular-popisPoli {
    text-align: left;
    width: auto;
}

.na-stred {
    text-align: center;
}

.bily-text {
    color: black;
}

.tmave-sedy-text {
    color: #765;
}

.sedy-text {
    color: #777;
}

.modry-text {
    color: #5ac;
}

.tmave-modry-text {
    color: #5391ac;
}

.dve-em {
    font-size: 1.3em;
    line-height: 1.2em;
    vertical-align: sub;
}

s {
    position: relative;
    text-decoration: none;
    text-decoration-thickness: .08em;
    text-decoration-style: solid;
}

s::before {
    position: absolute;
    display: inline-block;
    content: "";
    left: 0;
    right: 0;
    top: 50%;
    border-top: .08em solid red;
    -webkit-transform: rotate(-5deg);
    -moz-transform: rotate(-5deg);
    -ms-transform: rotate(-5deg);
    -o-transform: rotate(-5deg);
    transform: rotate(-5deg);
}

/* PATIČKA */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0.5em;
    height: fit-content;
    background-color: white#5dc7de;
}

footer a {
    font-weight: 700;
    color: darkgrey;
}

footer a:hover {
    font-weight: 700;
    color: #fff;
}

footer a:visited {
    font-weight: 700;
    color: #fa3;
}

footer :focus {
    opacity: 1;
    outline: 6px solid #fff;
    outline-offset: 1px;
    border-radius: 5px;
    z-index: 100;
}

.footercontainer {
    display: flex;
    height: fit-content;
    width: 100vw;
    margin: 0 auto;
    padding-bottom: 5px;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background-color: #5dc7de;
}

#FB,
#Insta,
#Home {
    height: 40px;
}

#mailinfo
{
    margin: 5px;
    }

.ikony{
    height: 40px;
    }

#objednat-tlac {
    align-self: center;
    margin: 0;
    padding: .2em 1ex;
    text-align: center;
    color: white;
    height: auto;
    width: 8em;
    border: 2px solid #9deefe;
    border-radius: 1em;
    background-color: #5dc7de;
    font-weight: 900;
    margin-top: 5px;
}

objednat-tlac:hover {
    position: static;
    border: 2px solid #fa3;
    background-color: #4db7d5;
}

#objednat-tlac:focus {
    opacity: 1;
    outline: 6px solid #79d2db;
}

.kontejner-obj {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    justify-content: center;
    padding: 0 3em 0 3em;
    text-align: center;
    max-width: max-content;
    }

#objednavka,
#predobjednavka, td, tr
 {
    margin-left: 2em;
    margin-right: 2em;
    border: 1px solid #9deefe;
    border-collapse: collapse;
    display: relative;
    width: auto;
    table-layout: auto;
}

td, th {
  padding: 10px; /* 10px mezera kolem textu ve všech směrech */
  background-color: white;
}

    .pomocny1 {
        display: flex;
        position: relative;
        flex-direction: column;
        justify-content: center;
}

    .pomocny2 {
        display: flex;
        position: relative;
        flex-direction: row;
    }


#nad1,
#nad2 {
    border: none;
    border-radius: 50%;
    display: flex; /* nebo block podle potřeby */
    transform: rotate(-25deg);
    height: fit-content;
    padding: 15px;
    position: absolute;
    z-index: 10;
    }

    #nad1 {
    background-color: yellow;
    left: 230px;
    transform: rotate(-30deg);
    }

    #nad2 {
    background-color: lightgreen;
    }

    .sleva-v-kruhu {
    display: inline-block;
    width: 2.8em;             /* velikost kolečka */
    height: 2.8em;
    background-color: #faa4c3; /* barva pozadí kolečka */
    color: white;            /* barva čísla */
    border-radius: 50%;      /* kulatý tvar kolečka */
    text-align: center;      /* zarovnání textu do středu kolečka vodorovně */
    line-height: 2.8em;       /* zarovnání textu do středu kolečka svisle */
    font-size: 24px;         /* velikost čísla */
    font-weight: normal;
    z-index: 100;

}


    #sleva2 {
        position: absolute;
        left: 415px;
        top: 90px;
    }

    #sleva3 {
        position: absolute;
        left: 435px;
        top: 163px;
    }

    #doprava {
        align-self: center;
            }

    #send {
    margin: 0;
    padding: .2em 1ex;
    margin-left: 75px;
    text-align: center;
    height: auto;
    width: auto;
    border: 2px solid #9deefe;
    border-radius: 1em;
    background-color: #5dc7de;
    z-index: 100;
            }

     #nazor {
    margin-left: 75px;    
    }

    #skol_kal {
    padding: 0;
    margin: auto auto 10px auto;
    align-self: center;
    text-align: center;
    overflow: visible;
    }
    
   .odeslat-vzkaz {
    font-size: 20px;
    letter-spacing: .1em;
    color: #1a4b8c;
    }

 button#send {
    background-color: #e0e0e0; /* šedá barva pozadí */
    color: #1a4b8c; /* tmavě modrá barva textu */
}

#objednavka {
    width: 100%;
    max-width: 500px; /* upravte podle potřeby */
    margin: 0 auto;
    border: none; /* odstranění případného rámečku */
    outline: none; /* odstranění případného obrysu */
    box-shadow: none; /* odstranění případného stínu */
    background: transparent; /* průhledné pozadí */
}

.objednavka-radek {
    display: flex;
    justify-content: space-between;
    align-items: center; /* vertikální zarovnání na střed */
    padding: 12px 0; /* zvětšeno z 10px na 12px */
    margin-bottom: 8px; /* zvětšeno z 3px na 8px - výrazně větší rozpal */
    border: none; /* odstranění všech hranic */
}

.objednavka-header {
    justify-content: center;
    font-size: 1.1em;
    margin-bottom: 15px; /* zvětšeno z 12px na 15px */
    text-align: left; /* zarovnání textu na střed */
    width: 100%; /* plná šířka */
}

#objednavka {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    padding: 0 15px; /* přidáno odsazení po stranách */
}

.objednavka-radek {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-bottom: 8px;
    border: none;
    position: relative; /* pro přesnější umístění */
}

.objednavka-header {
    justify-content: center;
    font-size: 1.1em;
    margin-bottom: 18px; /* ještě více zvětšeno */
    text-align: center;
    width: 100%;
    padding: 0 20px; /* přidáno boční odsazení */
}

.objednavka-nazev {
    flex: 0 0 60%; /* pevná šířka 60% */
    text-align: left;
    padding-right: 20px;
    font-weight: normal;
}

.objednavka-hodnota {
    flex: 0 0 40%; /* pevná šířka 40% */
    text-align: right;
    font-weight: 500;
    padding-left: 10px;
}

/* Odstranění případných stylů, které by mohly způsobovat modrý rámeček */
#objednavka, .objednavka-radek, .objednavka-nazev, .objednavka-hodnota {
    box-sizing: border-box;
    border: none;
    outline: none;
}

.pomocny1 {
    position: relative;
    border: none;
    padding: 10px 0; /* přidáno odsazení nahoře a dole */
}

.robot-check {
    margin: 20px 0;
}

.robot-check-label {  
    display: flex;  
    align-items: center;  
    position: relative;  
    padding-left: 35px;  
    cursor: pointer;  user-select: none;
margin-left: 75px;}

.robot-check-label input {  
    position: absolute;  
    opacity: 0.01;  /* ← ZMĚNA z 0 na 0.01 */
    cursor: pointer;  
    height: 1px;  /* ← ZMĚNA z 0 na 1px */
    width: 1px;  /* ← ZMĚNA z 0 na 1px */
    left: 0;
    top: 0;
}

.checkmark { 
    position: absolute;  
    left: 0;  height: 24px;  
    width: 24px;  
    background-color: #f5f7fa;  
    border: 1px solid #ddd;  
    border-radius: 4px;  
    transition: all 0.2s ease;}

.robot-check-label:hover input ~ .checkmark {  
    background-color: #e8ecf2;
}
.robot-check-label input:checked ~ 
.checkmark {  
    background-color: #4a90e2;  
    border-color: #4a90e2;
}

.checkmark:after {  
    content: "";  
    position: 
    absolute;  
    display: none;
}

.robot-check-label input:checked ~ 
.checkmark:after {  
    display: block;
}

.robot-check-label .checkmark:after {  
    left: 9px;  
    top: 5px;  
    width: 5px;  
    height: 10px;  
    border: solid white;  
    border-width: 0 2px 2px 0;  
    transform: rotate(45deg);
}

.label-text {  
    font-size: 16px;  color: #333;
}

#stred_h2 {
    text-align: center;
    padding: 0;
    margin: 0;
        }

#nejmensi-ve-small{
    padding-bottom: 10px;
    padding-top: 5px;
        }

#mail {
    font-weight: bold;
        }



/* BANNER - základní styly */
#banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 !important;
    padding: 20px 0 !important;
    height: 30.5vw;
    min-height: 350px;
    width: 100vw;
    background-image: url("images/titulka-pozadi.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1db7ce;
    overflow: hidden;
}

/* Letící ikony na pozadí */
#leticiIkony {
    position: absolute;
    width: 60vw;
    max-width: 800px;
    height: auto;
    top: 50%;
    margin-top: 4%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 0;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#leticiIkony img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Modrá planetka */
#koule {
    position: absolute;
    width: 130px;
    height: auto;
    bottom: -65px;
    left: 25%;
    z-index: 1;
}

/* Article s nadpisem */
#banner > article {
    position: relative;
    margin: 0;
    padding: 20px;
    left: 9%;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: left;
    width: auto;
    max-width: 50%;
    color: #fff;
    letter-spacing: normal;
    line-height: 2em;
    z-index: 2;
}

#banner h1 {
    display: block;
    margin: 0;
    padding: 10px 0;
    font-size: 1.5em;
    line-height: 1.4em;
    letter-spacing: 0.07em;
}

#slovomuj {
    display: inline-block;
    width: auto;
    max-width: 150px;
    height: auto;
    vertical-align: middle;
}

/* RESPONZIVITA */

/* Střední obrazovky (do 1200px) */
@media (max-width: 1200px) {
    #banner {
        min-height: 380px;
        padding: 25px 0 !important;
    }

    #banner > article {
        padding: 25px 20px;
    }

    #banner h1 {
        line-height: 1.5em;
        padding: 15px 0;
    }

    #leticiIkony {
        width: 60vw;
        max-width: 500px;
        right: 3%;
    }
}

/* Tablety a menší (do 1024px) */
@media (max-width: 1024px) {
    #banner {
        height: 40vw;
        min-height: 320px;
        padding: 20px 0 !important;
    }

    #leticiIkony {
        opacity: 0.7;
        width: 32vw;
        max-width: 450px;
        right: 2%;
    }

    #koule {
        max-width: 110px;
        left: 22%;
        bottom: -50px;
    }

    #banner > article {
        left: 5%;
        max-width: 55%;
        font-size: 1.3rem;
        line-height: 1.8em;
        padding: 20px 15px;
    }

    #banner h1 {
        font-size: 1.3em;
        line-height: 1.4em;
        padding: 12px 0;
    }

    #slovomuj {
        max-width: 120px;
    }
}

/* Tablety portrait (do 768px) */
@media (max-width: 768px) {
    #banner {
        height: 50vw;
        min-height: 280px;
        padding: 15px 0 !important;
    }

    #leticiIkony {
        opacity: 0.5;
        width: 28vw;
        max-width: 350px;
        right: 1%;
    }

    #koule {
        max-width: 90px;
        left: 20%;
        bottom: -40px;
    }

    #banner > article {
        left: 3%;
        max-width: 60%;
        font-size: 1.1rem;
        line-height: 1.6em;
        padding: 15px;
    }

    #banner h1 {
        font-size: 1.1em;
        line-height: 1.3em;
        padding: 10px 0;
    }

    #slovomuj {
        max-width: 100px;
    }
}

/* Mobily (do 600px) - leticiIkony zmizí */
@media (max-width: 600px) {
    #banner {
        height: 60vw;
        min-height: 250px;
        padding: 15px 0 !important;
    }

    #leticiIkony {
        opacity: 0;
        display: none;
    }

    #koule {
        max-width: 75px;
        left: 18%;
        bottom: -30px;
    }

    #banner > article {
        left: 3%;
        max-width: 65%;
        font-size: 1rem;
        line-height: 1.5em;
        padding: 12px 10px;
    }

    #banner h1 {
        font-size: 1em;
        line-height: 1.3em;
        padding: 8px 0;
    }

    #slovomuj {
        max-width: 85px;
    }
}

/* Velmi malé mobily (do 480px) */
@media (max-width: 480px) {
    #banner {
        height: 65vw;
        min-height: 240px;
        padding: 12px 0 !important;
    }

    #koule {
        max-width: 65px;
        left: 15%;
        bottom: -25px;
    }

    #banner > article {
        left: 2%;
        max-width: 70%;
        font-size: 0.9rem;
        line-height: 1.4em;
        padding: 10px;
    }

    #banner h1 {
        font-size: 0.95em;
        line-height: 1.25em;
        padding: 6px 0;
    }

    #slovomuj {
        max-width: 75px;
    }
}

/* Velmi malé mobily (do 360px) */
@media (max-width: 360px) {
    #banner {
        height: 70vw;
        min-height: 220px;
        padding: 10px 0 !important;
    }

    #koule {
        max-width: 55px;
        left: 12%;
        bottom: -20px;
    }

    #banner > article {
        max-width: 75%;
        font-size: 0.8rem;
        line-height: 1.35em;
        padding: 8px;
    }

    #banner h1 {
        font-size: 0.85em;
        line-height: 1.2em;
        padding: 5px 0;
    }

    #slovomuj {
        max-width: 65px;
    }
}

/* Landscape orientace na mobilech */
@media (max-height: 500px) and (orientation: landscape) {
    #banner {
        height: 85vh;
        min-height: 220px;
        padding: 10px 0 !important;
    }

    #banner > article {
        font-size: 0.85rem;
        line-height: 1.4em;
        padding: 8px;
    }

    #banner h1 {
        font-size: 0.9em;
        line-height: 1.2em;
        padding: 5px 0;
    }

    #koule {
        max-width: 70px;
        bottom: -30px;
    }

    #slovomuj {
        max-width: 80px;
    }
}

/* Specifické řešení pro rozlišení okolo 1160x665 */
@media (max-width: 1200px) and (max-height: 700px) {
    #banner {
        min-height: 400px;
        padding: 30px 0 !important;
    }

    #banner > article {
        padding: 30px 20px;
    }

    #banner h1 {
        line-height: 1.6em;
        padding: 20px 0;
    }

    #leticiIkony {
        width: 30vw;
        max-width: 400px;
        right: 2%;
    }
}


/* RESPONZIVITA PRO SEKCI S OBRÁZKEM A SEZNAMEM */

/* Střední obrazovky (do 1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 1em 0 0 1.5em;
    }

    #first-img-kontejner {
        left: 30px;
    }

    #first-img {
        width: 38vw;
    }

    h2 {
        font-size: 1.2em;
        margin-left: 60px;
    }

    ul {
        padding: 0 5px 0 70px;
        font-size: 0.95em;
    }

    ul > li {
        padding-left: 35px;
    }

    li::before {
        margin-right: 25px;
        margin-left: -55px;
    }
}

/* Tablety a menší (do 1024px) */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        padding: 1em 2em;
        align-items: center;
    }

    #first-img-kontejner {
        left: 0;
        margin: 0 auto 1.5em auto;
    }

    #first-img {
        width: 60vw;
        max-width: 400px;
    }

    .kontejner-vertikal-stred {
        width: 100%;
    }

    h2 {
        font-size: 1.15em;
        margin-left: 40px;
        text-align: center;
    }

    ul {
        padding: 0 20px 0 50px;
        font-size: 0.9em;
    }

    ul > li {
        padding-left: 30px;
    }

    li::before {
        font-size: 1.8em;
        margin-right: 20px;
        margin-left: -50px;
    }
}

/* Tablety portrait (do 768px) */
@media (max-width: 768px) {
    .container {
        padding: 1em 1.5em;
    }

    #first-img {
        width: 70vw;
        max-width: 350px;
    }

    h2 {
        font-size: 1.1em;
        margin-left: 20px;
    }

    ul {
        padding: 0 15px 0 40px;
        font-size: 0.85em;
        line-height: 1.4em;
    }

    ul > li {
        padding-top: 0.4em;
        padding-bottom: 0.4em;
        padding-left: 25px;
    }

    li::before {
        font-size: 1.6em;
        margin-right: 18px;
        margin-left: -45px;
    }

    strong {
        margin-left: 6px;
        margin-right: 6px;
    }
}

/* Mobily (do 600px) */
@media (max-width: 600px) {
    .container {
        padding: 1em;
    }

    #first-img-kontejner {
        margin: 0 auto 1em auto;
    }

    #first-img {
        width: 75vw;
        max-width: 300px;
    }

    h2 {
        font-size: 1em;
        margin-left: 10px;
        margin-right: 10px;
        text-align: center;
    }

    ul {
        padding: 0 10px 0 30px;
        font-size: 0.8em;
        line-height: 1.35em;
    }

    ul > li {
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        padding-left: 20px;
        white-space: normal;
    }

    li::before {
        font-size: 1.5em;
        margin-right: 15px;
        margin-left: -40px;
        margin-top: 3px;
    }

    strong {
        margin-left: 4px;
        margin-right: 4px;
    }

    .odrazky-kruh {
        white-space: normal;
    }
}

/* Velmi malé mobily (do 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0.8em;
    }

    #first-img {
        width: 80vw;
        max-width: 280px;
    }

    h2 {
        font-size: 0.95em;
        margin-left: 5px;
        margin-right: 5px;
    }

    ul {
        padding: 0 5px 0 25px;
        font-size: 0.75em;
        line-height: 1.3em;
    }

    ul > li {
        padding-left: 18px;
    }

    li::before {
        font-size: 1.4em;
        margin-right: 12px;
        margin-left: -35px;
    }

    strong {
        margin-left: 3px;
        margin-right: 3px;
    }
}

/* Velmi malé mobily (do 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0.5em;
    }

    #first-img {
        width: 85vw;
        max-width: 250px;
    }

    h2 {
        font-size: 0.9em;
        margin-left: 0;
        margin-right: 0;
    }

    ul {
        padding: 0 5px 0 20px;
        font-size: 0.7em;
    }

    ul > li {
        padding-left: 15px;
    }

    li::before {
        font-size: 1.3em;
        margin-right: 10px;
        margin-left: -30px;
    }

    strong {
        margin-left: 2px;
        margin-right: 2px;
    }
}

/* Landscape orientace na mobilech */
@media (max-height: 500px) and (orientation: landscape) {
    .container {
        flex-direction: row;
        padding: 0.5em 1em;
    }

    #first-img-kontejner {
        margin: 0 1em 0 0;
    }

    #first-img {
        width: 35vw;
        max-width: 250px;
    }

    h2 {
        font-size: 0.9em;
        margin-left: 20px;
    }

    ul {
        padding: 0 10px 0 30px;
        font-size: 0.7em;
        line-height: 1.25em;
    }

    ul > li {
        padding-top: 0.3em;
        padding-bottom: 0.3em;
        padding-left: 15px;
    }

    li::before {
        font-size: 1.3em;
        margin-right: 10px;
        margin-left: -30px;
    }
}


/* NEW FEATURES - RESPONZIVITA */

/* Střední obrazovky (do 1200px) */
@media (max-width: 1200px) {
    #new-features {
        padding: 1em 0 50px 0;
        gap: 0.5em;
    }

    .kont-vertikal-stred-2 {
        height: auto;
        padding: 0 1.5em;
    }

    #new-features h2 {
        font-size: 1.2em;
        margin-left: 60px;
    }

    #new-features p {
        padding: 0 1.5em 0 0;
        margin-left: 60px;
        font-size: 0.95em;
    }

    .komplet-obrazek {
        width: auto;
    }

    #obr5 {
        width: 320px;
        margin-right: 15px;
    }

    #montaz-obr5aBublina5 {
        height: 450px;
        width: 650px;
    }

    #bublina5 {
        width: 400px;
    }
}

/* Tablety a menší (do 1024px) */
@media (max-width: 1024px) {
    #new-features {
        flex-direction: column-reverse;
        padding: 1em 2em 40px 2em;
        align-items: center;
    }

    .komplet-obrazek {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 1.5em;
    }

    #obr5 {
        width: 280px;
        margin: 0 auto;
    }

    #montaz-obr5aBublina5 {
        height: 400px;
        width: 550px;
        margin: 0 auto;
    }

    #bublina5 {
        width: 350px;
        left: 15%;
    }

    .kont-vertikal-stred-2 {
        width: 100%;
        height: auto;
        padding: 0 1em;
    }

    #new-features h2 {
        font-size: 1.15em;
        margin-left: 40px;
        text-align: center;
    }

    #new-features p {
        padding: 0 1em 0 0;
        margin-left: 40px;
        font-size: 0.9em;
    }

    #nazor {
        width: 80%;
        margin-left: 40px;
    }

    #send {
        margin-left: 40px;
    }
}

/* Tablety portrait (do 768px) */
@media (max-width: 768px) {
    #new-features {
        padding: 1em 1.5em 35px 1.5em;
    }

    #obr5 {
        width: 250px;
    }

    #montaz-obr5aBublina5 {
        height: 350px;
        width: 480px;
    }

    #bublina5 {
        width: 300px;
        left: 12%;
        top: -8%;
    }

    #new-features h2 {
        font-size: 1.1em;
        margin-left: 20px;
    }

    #new-features p {
        padding: 0 0.8em 0 0;
        margin-left: 20px;
        font-size: 0.85em;
        line-height: 1.4em;
    }

    #mail {
        font-size: 0.95em;
    }

    #nazor {
        width: 85%;
        margin-left: 20px;
        font-size: 1em;
    }

    #send {
        margin-left: 20px;
        font-size: 1.8em;
    }

    .robot-check-label {
        margin-left: 20px;
        font-size: 0.9em;
    }
}

/* Mobily (do 600px) - obrázek zmizí */
@media (max-width: 600px) {
    #new-features {
        padding: 1em 1em 30px 1em;
    }

    .komplet-obrazek {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    #obr5 {
        display: none;
    }

    #montaz-obr5aBublina5 {
        display: none;
    }

    #bublina5 {
        display: none;
    }

    .kont-vertikal-stred-2 {
        padding: 0 0.5em;
        width: 100%;
    }

    #new-features h2 {
        font-size: 1em;
        margin-left: 10px;
        margin-right: 10px;
    }

    #new-features p {
        padding: 0 0.5em 0 0;
        margin-left: 10px;
        font-size: 0.8em;
        line-height: 1.35em;
    }

    #mail {
        font-size: 0.9em;
        display: inline-block;
        word-break: break-all;
    }

    #nazor {
        width: 90%;
        margin-left: 10px;
        font-size: 0.95em;
        height: 4em;
    }

    #send {
        margin-left: 10px;
        font-size: 1.6em;
        padding: 0.4ex 0.8ex;
    }

    .odeslat-vzkaz {
        font-size: 18px;
    }

    .robot-check-label {
        margin-left: 10px;
        font-size: 0.85em;
    }

    .checkmark {
        height: 20px;
        width: 20px;
    }
}

/* Velmi malé mobily (do 480px) */
@media (max-width: 480px) {
    #new-features {
        padding: 0.8em 0.8em 25px 0.8em;
    }

    .komplet-obrazek {
        display: none;
    }

    #new-features h2 {
        font-size: 0.95em;
        margin-left: 5px;
        margin-right: 5px;
    }

    #new-features p {
        padding: 0 0.3em 0 0;
        margin-left: 5px;
        font-size: 0.75em;
    }

    #mail {
        font-size: 0.85em;
    }

    #nazor {
        width: 95%;
        margin-left: 5px;
        font-size: 0.9em;
    }

    #send {
        margin-left: 5px;
        font-size: 1.4em;
    }

    .odeslat-vzkaz {
        font-size: 16px;
    }

    .robot-check-label {
        margin-left: 5px;
        font-size: 0.8em;
    }
}

/* Velmi malé mobily (do 360px) */
@media (max-width: 360px) {
    #new-features {
        padding: 0.5em 0.5em 20px 0.5em;
    }

    .komplet-obrazek {
        display: none;
    }

    #new-features h2 {
        font-size: 0.9em;
        margin-left: 0;
        margin-right: 0;
    }

    #new-features p {
        padding: 0 0.2em 0 0;
        margin-left: 0;
        font-size: 0.7em;
    }

    #mail {
        font-size: 0.8em;
    }

    #nazor {
        width: 100%;
        margin-left: 0;
        font-size: 0.85em;
    }

    #send {
        margin-left: 0;
        font-size: 1.2em;
    }

    .odeslat-vzkaz {
        font-size: 14px;
    }

    .robot-check-label {
        margin-left: 0;
        font-size: 0.75em;
    }
}

/* Landscape orientace na mobilech */
@media (max-height: 500px) and (orientation: landscape) {
    #new-features {
        flex-direction: row;
        padding: 0.5em 1em;
        gap: 1em;
    }

    .komplet-obrazek {
        flex: 0 0 40%;
        margin-bottom: 0;
        display: flex;
    }

    #obr5 {
        width: 180px;
        display: block;
    }

    #montaz-obr5aBublina5 {
        height: 250px;
        width: 350px;
        display: block;
    }

    #bublina5 {
        width: 200px;
        left: 10%;
        display: block;
    }

    .kont-vertikal-stred-2 {
        flex: 0 0 60%;
        height: auto;
    }

    #new-features h2 {
        font-size: 0.9em;
        margin-left: 20px;
    }

    #new-features p {
        font-size: 0.7em;
        margin-left: 20px;
    }

    #nazor {
        height: 3.5em;
        margin-left: 20px;
    }

    #send {
        margin-left: 20px;
        font-size: 1.2em;
    }
}


/* TESTIMONIALS - RESPONZIVITA */

/* Střední obrazovky (do 1200px) */
@media (max-width: 1200px) {
    #testimonials {
        padding: 1em 1.5em 50px 1.5em;
    }

    #stred_h2 {
        font-size: 1.2em;
        margin-bottom: 1em;
    }

    #kontejner {
        padding: 0 1.5em;
    }

    .citace {
        width: 28%;
        margin: 6px 1% 6px 1%;
        font-size: 0.95em;
    }

    .autorCitace-foto {
        width: 180px;
        height: 180px;
        margin: 0 0 -210px 0;
    }

    .citace p {
        font-size: 0.9em;
    }

    .autor {
        padding: 0.65em 0 0 0;
    }
}

/* Tablety a menší (do 1024px) */
@media (max-width: 1024px) {
    #testimonials {
        padding: 1em 1.5em 40px 1.5em;
    }

    #stred_h2 {
        font-size: 1.15em;
        margin-bottom: 0.8em;
    }

    #kontejner {
        padding: 0 1em;
        gap: 1em;
    }

    .citace {
        width: 30%;
        margin: 6px 0.5% 6px 0.5%;
        font-size: 0.9em;
        padding-bottom: 1.2em;
    }

    .autorCitace-foto {
        width: 160px;
        height: 160px;
        margin: 0 0 -190px 0;
    }

    .citace span {
        font-size: 0.95em;
        line-height: 1.3em;
    }

    .autor {
        padding: 0.6em 0 0 0;
        font-size: 0.85em;
    }
}

/* Tablety portrait (do 768px) - přechod na 1 sloupec */
@media (max-width: 768px) {
    #testimonials {
        padding: 1em 1em 35px 1em;
    }

    #stred_h2 {
        font-size: 1.1em;
        margin-bottom: 1em;
    }

    #kontejner {
        flex-direction: column;
        padding: 0 2em;
        align-items: center;
    }

    .citace {
        width: 80%;
        max-width: 500px;
        margin: 1em auto;
        padding-bottom: 1.5em;
        font-size: 0.85em;
    }

    .autorCitace-foto {
        width: 150px;
        height: 150px;
        margin: 0 0 -180px 0;
    }

    .citace span {
        font-size: 1em;
        line-height: 1.35em;
    }

    .autor {
        padding: 0.7em 0 0 0;
        font-size: 0.9em;
    }

    .citace strong {
        font-size: 1em;
    }
}

/* Mobily (do 600px) */
@media (max-width: 600px) {
    #testimonials {
        padding: 1em 0.8em 30px 0.8em;
    }

    #stred_h2 {
        font-size: 1em;
        margin-bottom: 0.8em;
    }

    #kontejner {
        padding: 0 1em;
    }

    .citace {
        width: 90%;
        max-width: 450px;
        margin: 0.8em auto;
        padding-bottom: 1.3em;
        font-size: 0.8em;
    }

    .autorCitace-foto {
        width: 130px;
        height: 130px;
        margin: 0 0 -160px 0;
    }

    .citace span {
        font-size: 1em;
        line-height: 1.3em;
        text-align: left;
    }

    .autor {
        padding: 0.65em 0 0 0;
        font-size: 0.85em;
    }

    .citace strong {
        font-size: 0.95em;
    }
}

/* Velmi malé mobily (do 480px) */
@media (max-width: 480px) {
    #testimonials {
        padding: 0.8em 0.5em 25px 0.5em;
    }

    #stred_h2 {
        font-size: 0.95em;
        margin-bottom: 0.7em;
    }

    #kontejner {
        padding: 0 0.5em;
    }

    .citace {
        width: 95%;
        max-width: 400px;
        margin: 0.6em auto;
        padding-bottom: 1.2em;
        font-size: 0.75em;
    }

    .autorCitace-foto {
        width: 110px;
        height: 110px;
        margin: 0 0 -140px 0;
    }

    .citace span {
        font-size: 1em;
        line-height: 1.25em;
    }

    .autor {
        padding: 0.6em 0 0 0;
        font-size: 0.8em;
    }

    .citace strong {
        font-size: 0.9em;
    }
}

/* Velmi malé mobily (do 360px) */
@media (max-width: 360px) {
    #testimonials {
        padding: 0.5em 0.3em 20px 0.3em;
    }

    #stred_h2 {
        font-size: 0.9em;
        margin-bottom: 0.6em;
    }

    #kontejner {
        padding: 0 0.3em;
    }

    .citace {
        width: 100%;
        max-width: 350px;
        margin: 0.5em auto;
        padding-bottom: 1em;
        font-size: 0.7em;
    }

    .autorCitace-foto {
        width: 100px;
        height: 100px;
        margin: 0 0 -130px 0;
    }

    .citace span {
        font-size: 1em;
        line-height: 1.2em;
    }

    .autor {
        padding: 0.55em 0 0 0;
        font-size: 0.75em;
    }

    .citace strong {
        font-size: 0.85em;
    }
}

/* Landscape orientace na mobilech */
@media (max-height: 500px) and (orientation: landscape) {
    #testimonials {
        padding: 0.5em 1em 25px 1em;
    }

    #stred_h2 {
        font-size: 0.9em;
        margin-bottom: 0.5em;
    }

    #kontejner {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0 0.5em;
        justify-content: center;
    }

    .citace {
        width: 45%;
        max-width: 300px;
        margin: 0.5em 1%;
        padding-bottom: 1em;
        font-size: 0.65em;
    }

    .autorCitace-foto {
        width: 90px;
        height: 90px;
        margin: 0 0 -120px 0;
    }

    .citace span {
        font-size: 1em;
        line-height: 1.2em;
    }

    .autor {
        padding: 0.5em 0 0 0;
        font-size: 0.75em;
    }
}

/* ORDER-FORM - RESPONZIVITA - OPRAVENÁ VERZE */

/* Střední obrazovky (do 1200px) */
@media (max-width: 1200px) {
    #order-form {
        padding: 0.5em 2.5em 2.5em 2.5em;
    }

    #order-form h2 {
        font-size: 1.2em;
        padding: 10px 8% 10px 8%;
    }

    #skol_kal {
        font-size: 1.2em;
    }

    .kontejner-obj {
        padding: 0 2em;
    }

    #objednavka {
        max-width: 480px;
        font-size: 0.95em;
    }

    .objednavka-header {
        font-size: 1.05em;
        margin-bottom: 16px;
    }

    .objednavka-radek {
        padding: 11px 0;
        margin-bottom: 7px;
    }

    .pomocny1 {
        position: relative;
    }

    #sleva1 {
        position: absolute;
        width: 2.6em;
        height: 2.6em;
        line-height: 2.6em;
        font-size: 22px;
        right: -3em;
        top: 50%;
        left: auto;
        transform: translateY(-50%);
    }

    #doprava {
        font-size: 0.95em;
        padding: 0 1em;
        display: block;
        max-width: 100%;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.5em;
    }

    #objednat-tlac {
        font-size: 0.95em;
        width: 9em;
    }
}

/* Tablety a menší (do 1024px) */
@media (max-width: 1024px) {
    #order-form {
        padding: 0.5em 2em 2em 2em;
    }

    #order-form h2 {
        font-size: 1.15em;
        padding: 10px 5% 10px 5%;
    }

    #skol_kal {
        font-size: 1.15em;
    }

    .kontejner-obj {
        padding: 0 1.5em;
    }

    #objednavka {
        max-width: 460px;
        font-size: 0.9em;
    }

    .objednavka-header {
        font-size: 1em;
        margin-bottom: 15px;
    }

    .objednavka-radek {
        padding: 10px 0;
        margin-bottom: 6px;
    }

    .pomocny1 {
        position: relative;
    }

    #sleva1 {
        position: absolute;
        width: 2.5em;
        height: 2.5em;
        line-height: 2.5em;
        font-size: 20px;
        right: -45px;
        top: 50%;
        left: auto;
        transform: translateY(-50%);
    }

    #doprava {
        font-size: 0.9em;
        padding: 0 0.8em;
        display: block;
        text-align: center;
        max-width: 100%;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.5em;
    }

    #objednat-tlac {
        font-size: 0.9em;
        width: 9.5em;
        margin-top: 10px;
    }
}

/* Tablety portrait (do 768px) */
@media (max-width: 768px) {
    #order-form {
        padding: 0.5em 1.5em 2em 1.5em;
    }

    #order-form h2 {
        font-size: 1.1em;
        padding: 8px 3% 8px 3%;
    }

    #skol_kal {
        font-size: 1.1em;
        margin-bottom: 15px;
    }

    .kontejner-obj {
        padding: 0 1em;
    }

    .pomocny1 {
        position: relative;
        padding: 0;
    }

    #objednavka {
        max-width: 420px;
        font-size: 0.85em;
        padding: 0 10px;
    }

    .objednavka-header {
        font-size: 0.95em;
        margin-bottom: 14px;
        padding: 0 15px;
    }

    .objednavka-radek {
        padding: 9px 0;
        margin-bottom: 5px;
    }

    .objednavka-nazev {
        flex: 0 0 55%;
        padding-right: 15px;
    }

    .objednavka-hodnota {
        flex: 0 0 45%;
    }

    #sleva1 {
        position: absolute;
        width: 2.4em;
        height: 2.4em;
        line-height: 2.4em;
        font-size: 18px;
        right: -40px;
        top: 50%;
        left: auto;
        transform: translateY(-50%);
    }

    #doprava {
        font-size: 0.85em;
        padding: 0 0.5em;
        line-height: 1.5em;
        display: block;
        text-align: center;
        max-width: 100%;
        white-space: normal;
        word-wrap: break-word;
    }

    #objednat-tlac {
        font-size: 0.85em;
        width: 10em;
        padding: 0.3em 1.2ex;
    }
}

/* Mobily (do 600px) */
@media (max-width: 600px) {
    #order-form {
        padding: 0.5em 1em 1.5em 1em;
    }

    #order-form h2 {
        font-size: 1em;
        padding: 8px 2% 8px 2%;
        margin-left: 0;
    }

    #skol_kal {
        font-size: 1em;
        margin-bottom: 12px;
        text-align: center;
    }

    .kontejner-obj {
        padding: 0 0.5em;
    }

    .pomocny1 {
        position: relative;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #objednavka {
        max-width: 100%;
        width: 100%;
        font-size: 0.8em;
        padding: 0 5px;
    }

    .objednavka-header {
        font-size: 0.9em;
        margin-bottom: 12px;
        padding: 0 10px;
    }

    .objednavka-header b {
        display: block;
        margin-top: 3px;
    }

    .objednavka-radek {
        padding: 8px 0;
        margin-bottom: 4px;
    }

    .objednavka-nazev {
        flex: 0 0 50%;
        font-size: 0.95em;
    }

    .objednavka-hodnota {
        flex: 0 0 50%;
        font-size: 0.95em;
    }

    #sleva1 {
        position: absolute;
        width: 2.2em;
        height: 2.2em;
        line-height: 2.2em;
        font-size: 16px;
        right: -30px;
        top: 50%;
        left: auto;
        transform: translateY(-50%);
    }

    #doprava {
        font-size: 0.8em;
        padding: 0 0.3em;
        line-height: 1.4em;
        display: block;
        text-align: center;
        margin: 0 auto;
        max-width: 100%;
        white-space: normal;
        word-wrap: break-word;
    }

    #doprava b {
        white-space: nowrap;
    }

    #objednat-tlac {
        font-size: 0.8em;
        width: 11em;
        padding: 0.35em 1ex;
        margin-top: 8px;
    }
}

/* Velmi malé mobily (do 480px) */
@media (max-width: 480px) {
    #order-form {
        padding: 0.5em 0.8em 1.2em 0.8em;
    }

    #order-form h2 {
        font-size: 0.95em;
        padding: 6px 1% 6px 1%;
    }

    #skol_kal {
        font-size: 0.95em;
        margin-bottom: 10px;
    }

    .kontejner-obj {
        padding: 0 0.3em;
    }

    .pomocny1 {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #objednavka {
        font-size: 0.75em;
        padding: 0 3px;
    }

    .objednavka-header {
        font-size: 0.85em;
        margin-bottom: 10px;
        padding: 0 8px;
    }

    .objednavka-radek {
        padding: 7px 0;
        margin-bottom: 3px;
    }

    .objednavka-nazev {
        font-size: 0.9em;
    }

    .objednavka-hodnota {
        font-size: 0.9em;
    }

    #sleva1 {
        position: absolute;
        width: 2em;
        height: 2em;
        line-height: 2em;
        font-size: 14px;
        right: -25px;
        top: 50%;
        left: auto;
        transform: translateY(-50%);
    }

    #doprava {
        font-size: 0.75em;
        padding: 0 0.2em;
        line-height: 1.4em;
        max-width: 100%;
        white-space: normal;
        word-wrap: break-word;
    }

    #objednat-tlac {
        font-size: 0.75em;
        width: 12em;
        padding: 0.4em 0.8ex;
    }
}

/* Velmi malé mobily (do 360px) */
@media (max-width: 360px) {
    #order-form {
        padding: 0.5em 0.5em 1em 0.5em;
    }

    #order-form h2 {
        font-size: 0.9em;
        padding: 5px 0;
    }

    #skol_kal {
        font-size: 0.9em;
        margin-bottom: 8px;
    }

    .kontejner-obj {
        padding: 0 0.2em;
    }

    .pomocny1 {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #objednavka {
        font-size: 0.7em;
        padding: 0 2px;
    }

    .objednavka-header {
        font-size: 0.8em;
        margin-bottom: 8px;
        padding: 0 5px;
    }

    .objednavka-radek {
        padding: 6px 0;
        margin-bottom: 2px;
    }

    .objednavka-nazev,
    .objednavka-hodnota {
        font-size: 0.85em;
    }

    #sleva1 {
        position: absolute;
        width: 1.8em;
        height: 1.8em;
        line-height: 1.8em;
        font-size: 12px;
        right: -20px;
        top: 50%;
        left: auto;
        transform: translateY(-50%);
    }

    #doprava {
        font-size: 0.7em;
        padding: 0;
        line-height: 1.35em;
        max-width: 100%;
        white-space: normal;
        word-wrap: break-word;
    }

    #objednat-tlac {
        font-size: 0.7em;
        width: 13em;
        padding: 0.45em 0.6ex;
    }
}

/* Landscape orientace na mobilech */
@media (max-height: 500px) and (orientation: landscape) {
    #order-form {
        padding: 0.5em 1em 1em 1em;
    }

    #skol_kal {
        font-size: 0.9em;
        margin-bottom: 8px;
    }

    .pomocny1 {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #objednavka {
        max-width: 400px;
        font-size: 0.7em;
    }

    .objednavka-header {
        font-size: 0.85em;
        margin-bottom: 10px;
    }

    .objednavka-radek {
        padding: 6px 0;
        margin-bottom: 3px;
    }

    #sleva1 {
        position: absolute;
        width: 2em;
        height: 2em;
        line-height: 2em;
        font-size: 14px;
        right: -30px;
        top: 50%;
        left: auto;
        transform: translateY(-50%);
    }

    #doprava {
        font-size: 0.7em;
        line-height: 1.3em;
        max-width: 100%;
        white-space: normal;
        word-wrap: break-word;
    }

    #objednat-tlac {
        font-size: 0.75em;
        margin-top: 5px;
    }
}

/* Sleva umístěná přímo v řádku */
.objednavka-radek {
    position: relative;
}

#sleva1 {
    position: absolute;
    right: -3em;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

/* RESPONZIVITA */

@media (max-width: 1200px) {
    #sleva1 {
        right: -2.7em;
    }
}

@media (max-width: 1024px) {
    #sleva1 {
        right: -50px;
    }
}

@media (max-width: 768px) {
    #sleva1 {
        right: -45px;
    }
}

@media (max-width: 600px) {
    #sleva1 {
        right: -35px;
    }
}

@media (max-width: 480px) {
    #sleva1 {
        right: -30px;
    }
}

@media (max-width: 360px) {
    #sleva1 {
        right: -25px;
    }
}


.na-stred bily-text {
    display: flex;
    align-content: center;
}



