.content {
    display: flex;
    justify-content: center;
    align-self: center;
    width: 1300px;
    height: 1800px;
    margin-top: 30px;
    margin-bottom: 80px;
}

.leftPanel {
    width: 200px;
}

.rightPanel {
    width: 1100px;
    border-left: 1px gray solid;
    padding-right: 0px;
    padding-left: 0px;
    padding-top: 0px;
}

.leftPanelItem {
    width: 100%;
    height: 60px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Jost, Arial;
    font-size: 18px;
}

.leftPanelItem:hover {
    background-color: rgb(230, 230, 230);
    transition: 0.2s;
}

.leftPanelItem p {
    text-align: center;
    margin-bottom: 0px;
}

#leftPanelItemSelected {
    background-color: #60dfff;
}

a {
    text-decoration: none;
    color: black;
}

.rightPanel h2,
p {
    font-family: Jost, Arial;
}

.rightPanel p {
    padding-left: 20px;
    font-size: 18px;
}

.rightPanel h2 {
    margin-bottom: 30px;
}

.footerContent {
    margin-bottom: 50px;
}

.content {
    height: auto !important;
}

.leftpanel h2 {
    text-align: center;
}

.introduction {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 50px;
    font-family: Jost, Arial;
}

.introduction p {
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

.leftpanel {
    display: flex;
    flex-direction: column;
}

.filterText {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid black;
}

.leftPanelItem p:nth-of-type(1) {
    width: 80%;
}

.leftPanelItem p:nth-of-type(2) {
    width: 20%;
}

.noBold {
    font-weight: normal;
    user-select: none;
}

.Bold {
    font-weight: bold;
    user-select: none;
}

/* Skrytí checkboxu */
.hidden-checkbox {
    display: none;
}

/* Vzhled labelu */
.leftPanelItem label {
    width: 100%;
    height: 60px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Jost, Arial;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    color: black;
}

.leftPanelItem label:hover {
    background-color: rgb(230, 230, 230);
    transition: 0.2s;
}

/* Zvýraznění vybraného checkboxu */
#checkboxMuzi:checked+label {
    background-color: #60dfff;
}

#checkboxZeny:checked+label {
    background-color: #60dfff;
}

#checkboxOstatni:checked+label {
    background-color: #60dfff;
}

input[type="checkbox"]:checked+label {
    background-color: #60dfff;
}

.leftPanelItem label p {
    text-align: center;
    margin-bottom: 0px;
}

.leftPanelItem label p:nth-of-type(1) {
    width: 80%;
}

.leftPanelItem label p:nth-of-type(2) {
    width: 20%;
    user-select: none;
}

/* Upravený grid pro produkty */
.eshopCards {
    padding-left: 25px;
    padding-right: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    justify-items: center;
}

.eshopCards::after {
    content: '';
    flex: auto;
}

.product {
    height: 500px;
    width: 100%;
    max-width: 320px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(240, 240, 240);
}

.productText {
    height: 80px;
    margin-top: 10px;
}

.productText h2 {
    font-size: 20px;
    margin-bottom: 0;
    text-align: center;
}

.productText p {
    margin: 0;
    padding: 0;
    text-align: center;
}

.sale {
    position: absolute;
    width: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: darkred;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: -40px;
    z-index: 1235;
    color: white;
    font-family: Jost, Arial;
    font-weight: bold;
    font-size: 40px;
}

.priceSale {
    color: red;
}

.sale p {
    padding-left: 0px;
    margin: 0;
}

/* Media Queries */
@media screen and (max-width: 1370px) {
    .content {
        width: 80%;
    }

    .rightPanel {
        width: auto;
        flex: 1;
    }
}

@media screen and (max-width: 850px) {
    .content {
        width: 100%;
    }

    .leftPanel {
        width: 180px;
    }
}

@media screen and (max-width: 660px) {
    .filterText {
        display: none;
    }
}

@media (max-width: 1300px) {
    .eshopCards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 770px) {
    .eshopCards {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 8px;
    }
}

@media screen and (max-width: 490px) {
    .content {
        flex-direction: column;
    }

    .leftPanel {
        display: flex;
        width: 100%;
        height: auto;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-between;
        border-bottom: 1px black solid;
        margin-bottom: 10px;
    }

    .leftPanel a {
        flex: 1;
        text-align: center;
    }

    .leftPanelItem {
        margin: 5px;
        flex: 1;
        text-align: center;
    }
}