.wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
    padding: 0px ;

}

body {
    background-color: #f7e8d2;
    font-family: "Nunito Sans", "Open sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

h1 {

    font-size: 26px;
}

img.logo {
    max-width: calc(100% - 50px);

}



.logo {
    display: flex;
    justify-content: center;
}

@media (min-width:700px) {
    .popis {
        padding: 0 100px 0 100px;
    }
    .wrapper {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: column;
        align-content: center;
        padding: 0px 100px 0 100px;
        max-width: 1200px;
    }
    img.logo {
        width: 500px;
        padding: 20px;
    }
    h1 {

        font-size: 40px;
    }
}



header .title,
.title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 8px;
    color: var(--muted);
}

.stars {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.avg {
    font-size: 28px;
    font-weight: 700;
    margin-left: 10px;
}

.tags {
    margin-top: 12px;
}

.tags span {
    display: inline-block;
    background: #eef2ff;
    color: #2b2f6b;
    padding: 6px 10px;
    border-radius: 999px;
    margin-right: 6px;
    font-size: 13px;
}

/* === Recenze === */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.review {
    border-left: 4px solid #edc283;
    padding: 12px 14px;
    background: #fff8ef;
    border-radius: 8px;
}

.review .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.review .author {
    font-weight: 600;
}

.review .date {
    color: var(--muted);
    font-size: 13px;
}

.review .text {
    margin-top: 8px;
    white-space: pre-wrap;
    color: #222;
}


/* === Hvězdičky === */
.star-input {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    cursor: pointer;
}

.star {
    width: 26px;
    height: 26px;
    display: inline-block;
}

.star svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.12s ease;
}

.star:hover svg {
    transform: scale(1.12);
}

.star.filled svg path {
    fill: var(--accent);
}

.star.unfilled svg path {
    fill: #ddd;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

@media (max-width: 640px) {
    .meta {
        flex-direction: column;
        align-items: flex-start;
    }
    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }
}
