/* ==========================================================================
   BYLINKY OD SVĚTA - CUSTOM CSS
   ==========================================================================
   Obsah:
   1. Base/Reset
   2. Typografie
   3. Tlačítka
   4. Header
   5. Navigace/Menu
   6. Vyhledávání
   7. Carousel/Bannery
   8. Produkty - listing
   9. Produkty - detail
   10. Kategorie
   11. Sidebar
   12. Košík/Objednávkový proces
   13. Footer
   14. Cookies
   15. Hodnocení/Reviews
   16. Zprávy/Notifikace
   17. Utility/Helpers
   18. Media queries
   ========================================================================== */

/* ==========================================================================
   1. BASE/RESET
   ========================================================================== */

body {
    font-size: 16px;
}

*,
input,
select,
textarea,
option,
button {
    outline: none !important;
}

.button-wrap {
    border-style: none !important;
}

/* ==========================================================================
   2. TYPOGRAFIE
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
.category-title,
.p-detail-inner h1,
.products-related-header {
    font-weight: 600;
    text-transform: none !important;
    font-family: 'Alegreya', sans-serif !important;
}

h1 {
    font-size: 2.5em;
}

.h4,
.name,
.content .homepage-group-title {
    font-family: 'Alegreya', sans-serif !important;
}

p,
a,
li {
    font-weight: 400;
}

.p-name {
    font-weight: 700;
    text-transform: none;
}

#description p * {
    font-family: 'Open Sans' !important;
    font-size: 14px !important;
}

.p-short-description p *,
.p-short-description p {
    font-family: 'Open Sans' !important;
    font-size: 14px !important;
}

.p-short-description {
    float: initial !important;
}

.story-body p {
    color: #696969;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 23px;
}

.text,
.text p,
.text h2,
.text b,
.text i,
.text a,
.sample,
#blog-list strong {
    line-height: normal;
}

.text,
.text li {
    font-size: medium !important;
    color: #000;
}

p.small {
    font-size: 14px;
    line-height: 120%;
    color: #000;
}

.small-list,
.zdravotni-tvrzeni {
    line-height: normal !important;
}

.small-list {
    font-size: 14px;
    line-height: 120%;
    color: #000;
    list-style-type: disc;
}

.zdravotni-tvrzeni-nadpis {
    font-weight: 700 !important;
}

.zdravotni-tvrzeni {
    margin-bottom: 20px;
}

.meta {
    color: #000;
    font-size: 14px;
    margin-top: 50px;
}

/* ==========================================================================
   3. TLACITKA
   ========================================================================== */

.unveil-button,
.product a.btn.btn-primary,
button.loadMore__button,
button.toggle-top-products,
a.goToTop__button,
.vote-form input[type="submit"],
.discussion-form input[type="submit"],
.add-comment .link-like {
    background: #8eb459 !important;
    border: 1px solid #91b35f !important;
    border-radius: 5px !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 100% !important;
    padding: 12px 32px !important;
    text-decoration: none !important;
    width: auto !important;
    height: auto !important;
    letter-spacing: normal !important;
}

.product .btn {
    margin: 0px 0px 14px 0px;
}

.unveil-button:hover,
.product a.btn.btn-primary:hover,
button.loadMore__button:hover,
button.toggle-top-products:hover,
a.goToTop__button:hover,
.vote-form input[type="submit"]:hover,
.discussion-form input[type="submit"]:hover,
.add-comment .link-like:hover {
    background-color: #709241 !important;
    border: 1px solid #709241 !important;
    opacity: 1 !important;
}

.button.success {
    background-color: #8EB459;
    color: #FFF;
    border: none;
    border-radius: 5px;
}

.b-delete {
    background: none !important;
    color: #fd3636;
}

/* ==========================================================================
   4. HEADER
   ========================================================================== */

#header {
    background-color: #e4eed3 !important;
}

#header-in .row {
    background-color: #fff !important;
}

header h1 {
    text-align: center;
    margin-top: 30px;
}

.top-navigation-bar {
    background: #fff;
}

#header .header-top .top-nav-button-login:before {
    background-color: #ffffff;
}

#header .navigation-buttons .btn .cart-price {
    color: #000000;
}

#header .top-navigation-contacts {
    width: auto;
}

#a-home:before,
.icon-account-login:before {
    color: #544741;
}

.header-contacts a:before {
    color: #544741 !important;
}

/* ==========================================================================
   5. NAVIGACE/MENU
   ========================================================================== */

.navigation-in a {
    font-size: 14px !important;
}

.navigation-in > ul > li.ext > ul > li > div > a {
    font-weight: 400 !important;
}

#menu li a,
.navigation-menu li a {
    font-weight: 600;
    text-transform: none;
}

#menu li,
.navigation-menu li {
    height: 2.3rem;
}

.menu-item-764,
.menu-item-770 {
    background-color: #d84343;
}

#menu-helper-box a {
    color: #000 !important;
}

#content-in #navigation {
    display: none;
}

.type-detail p#navigation {
    display: none;
}

/* ==========================================================================
   6. VYHLEDAVANI
   ========================================================================== */

.b-search-wrap {
    margin-left: -6px;
}

.searchform .s-word,
#s-word {
    background: none;
    padding: 0 0.625rem 0 1rem;
}

.searchform .s-word {
    border: none;
    background-color: #e0e0e0 !important;
    border-radius: 5px;
}

.searchform .s-word:focus {
    border: none !important;
}

/* ==========================================================================
   7. CAROUSEL/BANNERY
   ========================================================================== */

#next-carousel:before,
#prev-carousel:before {
    position: absolute;
    left: 0;
    top: 50%;
    display: block;
    width: 40px;
    height: 83px;
    margin-top: -42px;
    font-family: shoptet;
    font-size: 36px;
    line-height: 83px;
    text-align: center;
    background: none !important;
}

#carousel-banner a,
.link-like {
    color: #fff !important;
}

.carousel-slide-box a {
    font-weight: 600;
}

.carousel-slide-box h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
}

.next-to-carousel-banners {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.small-banner .icon-box img {
    max-height: 65px !important;
}

.small-banner .icon-box {
    border: none !important;
}

.small-banner .desc-box h3 {
    font-size: 1.3rem !important;
}

.small-banner .desc-box p {
    font-size: 1.2em !important;
}

.small-banner:hover .icon-box {
    background: none !important;
}

.banner,
.banner-wrapper,
.banner-category,
.carousel-inner {
    color: #000;
}

.banner,
.banner-wrapper {
    position: relative;
}

.body-banners {
    margin: 0px 0px 50px 0px;
}

.body-banners .banner-wrapper {
    margin: 0 10px;
    display: inline-block;
}

.body-banners img {
    max-width: 350px;
}

/* ==========================================================================
   8. PRODUKTY - LISTING
   ========================================================================== */

.products-block.products .product .p .name {
    font-size: 1.3em;
}

.products .product .prices .price-final strong {
    color: #000;
    font-weight: 600;
}

.products-block.products .product .btn {
    font-weight: 600;
}

.products-block.products .product .prices .price-final strong {
    font-weight: 600;
    font-size: 1.2em;
}

.products-block.products .product .p-desc {
    font-size: 14px;
}

.products-block.products .product:hover .p {
    box-shadow: none !important;
}

.product > .columns:hover {
    border-color: #e0e0e0 !important;
}

.listing-product-more-images a {
    border: 1px solid #e0e0e0;
    margin-top: 5px;
    border-radius: 5px;
    overflow: auto;
}

ol.top-products li a strong {
    color: #222222;
    font-size: 15px;
}

/* Ceny */
span.price-measure {
    font-size: 14px;
    color: #222222;
}

/* Priznaky */
.flags .flag {
    padding: 6px 10px;
    font-weight: 600;
    color: #fff;
    font-size: 0.875em;
    max-width: inherit;
}

/* ==========================================================================
   9. PRODUKTY - DETAIL
   ========================================================================== */

.product-top .price-line .price-final {
    color: #222222;
    font-size: 2rem;
}

.pdp-syrup__usage-photo, .pdp-syrup__intro-media {
    margin: 0 !important;
}

.product-top .add-to-cart button.add-to-cart-button {
    width: auto !important;
    height: 58px;
    border: 1px solid #91b35f !important;
    font-weight: 500 !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    color: #fff !important;
    letter-spacing: normal !important;
    line-height: normal !important;
    margin-left: 12px;
}

.product-top .p-detail-info .stars-wrapper .stars .star:before {
    font-size: 16px;
}

.product-top .p-detail-info .stars-wrapper .stars-label {
    font-size: 14px;
}

.stars a.star::before, .stars span.star::before {
    color: #ffb412 !important;
}

a.shp-tab-link, .listSorting__control {
    font-size: 14px !important;
}

.social-buttons-wrapper,
.body-banners,
.product-top #choose-variant,
.extended-description,
.p-info-wrapper .chevron-down-after,
.variant-table .variant-image,
.extended-banner-link,
.in-darkovy-balicek .breadcrumbs-wrapper {
    display: none !important;
}

.type-page .sidebar {
    display: none;
}

#product-detail-h1 {
    margin: 1.5rem 0;
}

.p-detail-inner {
    margin-top: 0px;
}

#product {
    padding: 0;
}

#product .banners-content {
    text-align: center;
}

#product h2 {
    font-weight: 700;
    font-size: 1.5rem;
}

#product p,
#product h2 {
    text-align: left;
}

#tab-content {
    padding-top: 0;
}

table#product-detail-info {
    display: none;
}

#product-detail tr {
    border: none;
}

#product-detail {
    margin-bottom: 20px;
}

#short-description p {
    font-size: medium;
    color: #000;
    line-height: normal;
}

#short-description {
    padding-bottom: 0;
}

ul#tabs {
    display: none;
}

#note-for-vendor {
    display: none;
}

#note-box {
    margin-top: 15px;
    background: none;
}

#note-box legend {
    display: initial;
}

legend {
    display: none;
}

/* Varianty */
#product-variants {
    margin-bottom: 10px;
}

#product-variants .variant-additional-price,
#product-variants .variant-code {
    display: none;
}

#product-variants .variant-code {
    padding-left: 6px;
    padding-right: 6px;
}

.variant-image {
    display: none;
}

#product-variants .f-border-in {
    padding: 10px 15px !important;
}

.variant-price {
    display: block;
    margin: 6px 0;
}

td.tar.variant-submit {
    text-align: left !important;
    margin-top: 10px;
}

.pr-list-unit {
    display: none;
}

.f-border {
    background-color: #f6f6f6;
    border-radius: 5px;
}

.availability-amount {
    line-height: normal;
}

#content-in #product-variants th,
#content-in #product-variants td:not(.tar) {
    padding: 5px;
    font-weight: 500;
}

/* Stranky */
.page-detail p,
.page-detail h1,
.page-detail h2 {
    color: #000 !important;
}

.page-detail h1 {
    font-weight: 700;
}

/* Skryti systemoveho nadpisu "Detailni popis produktu" */
.basic-description > h3 {
    display: none;
}

/* ZAKLAD POPISU SIRUPU */
.pdp-syrup {
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
}

/* UVODNI DVOU SLOUPEC */
.pdp-syrup__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
}

.pdp-syrup__title {
    font-size: 26px;
    margin-bottom: 12px;
}

.pdp-syrup__intro-text p {
    margin-bottom: 10px;
}

.pdp-syrup__intro-media img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

/* HIGHLIGHTY POD NADPISEM */
.pdp-syrup__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.pdp-syrup__highlight {
    background: #f8f8f8;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
}

.pdp-syrup__highlight-label {
    font-weight: 500;
    margin-right: 4px;
}

.pdp-syrup__highlight-value {
    font-weight: 600;
    color: #7ea437;
}

/* OBECNE SEKCE */
.pdp-syrup__section {
    margin-bottom: 42px;
    margin-top: 42px;
}

.pdp-syrup__section h2 {
    font-size: 20px;
    margin-bottom: 6px;
}

.pdp-syrup__section-header p {
    margin: 0 0 14px;
}

/* LAYOUT POUZITI: FOTO VLEVO, TEXT VPRAVO */
.pdp-syrup__usage-section {
    margin-bottom: 32px;
}

.pdp-syrup__usage-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: flex-start;
}

/* FOTO VLEVO */
.pdp-syrup__usage-photo img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    display: block;
}

/* TEXT VPRAVO */
.pdp-syrup__usage-text {
    line-height: 1.6;
}

.pdp-syrup__usage-text h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #222222;
}

.pdp-syrup__usage-intro {
    margin-bottom: 18px;
    color: #666666;
}

.pdp-syrup__usage-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 16px 0 4px;
    color: #333333;
}

.pdp-syrup__usage-text h3:first-of-type {
    margin-top: 0;
}

.pdp-syrup__usage-text p {
    margin: 0 0 4px;
    color: #555555;
}

/* STITKY POUZITI */
.pdp-syrup__usage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.pdp-syrup__usage-tag {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #e0e0e0;
    font-size: 13px;
    background-color: #ffffff;
}

/* SPLIT BLOK SLOZENI / POUZITI */
.pdp-syrup__section--split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.pdp-syrup__list {
    margin: 8px 0 12px;
    padding-left: 18px;
}

.pdp-syrup__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.pdp-syrup__badge {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f0f6e6;
    color: #4c6c24;
}

/* VYROBCE */
.pdp-syrup__producer {
    background: #f8f8f8;
    border-radius: 14px;
    padding: 16px 18px;
}

.pdp-syrup__producer-text p {
    margin-bottom: 8px;
}

/* DVOUSLOUPEC VYROBCE S FOTKOU */
.pdp-syrup__producer--with-photo {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
}

.pdp-syrup__producer-photo img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

/* CTA NAVSTIVTE NAS OSOBNE */
.pdp-syrup__producer-link a {
    color: #7ea437;
    text-decoration: none;
}

.pdp-syrup__producer-link a:hover {
    text-decoration: underline;
}

.pdp-syrup__cta {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 32px;
    border-radius: 5px;
    font-weight: 500;
    background: #8eb459;
    border: 1px solid #91b35f;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    line-height: 100%;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pdp-syrup__cta:hover {
    background-color: #709241;
    border-color: #709241;
    color: #ffffff;
}

/* RESPONSIVITA */
@media (max-width: 960px) {
    .pdp-syrup__intro {
        grid-template-columns: 1fr;
    }

    .pdp-syrup__section--split {
        grid-template-columns: 1fr;
    }

    .pdp-syrup__producer--with-photo {
        grid-template-columns: 1fr;
    }

    .pdp-syrup__producer-photo {
        order: -1;
    }

    .pdp-syrup__usage-layout {
        grid-template-columns: 1fr;
    }

    .pdp-syrup__usage-photo {
        order: -1;
    }
}

@media (max-width: 640px) {
    .pdp-syrup__title {
        font-size: 22px;
    }
}


/* ==========================================================================
   10. KATEGORIE
   ========================================================================== */

.type-category #content h1 {
    margin-bottom: 10px;
}

#category-tabs,
.cat-paging {
    border-bottom: none !important;
}

.in-podzimni-vyber h1 {
    text-align: center;
    margin-top: 20px;
}

/* ==========================================================================
   11. SIDEBAR
   ========================================================================== */

.sidebar h4 {
    font-weight: 600;
    font-size: 1.6em;
}

/* ==========================================================================
   12. KOSIK/OBJEDNAVKOVY PROCES
   ========================================================================== */

.ordering-process .checkout-logo {
    text-align: center;
    padding: 20px;
}

.ordering-process #header,
.contacts-facebook,
.contacts-instagram {
    display: none !important;
}

.tabulka-doprava td {
    padding: 10px 0px;
    font-weight: 600;
}

.consents {
    line-height: normal;
    font-weight: 500;
}

.free-shipping {
    margin-top: 10px;
    background-color: #f6f6f6;
    width: 100%;
    padding: 10px 10px 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    border: solid 1px;
    border-color: #e0e0e0;
    font-family: inherit;
}

.free-shipping img {
    max-width: 50px;
    display: inline-block;
    position: relative;
    margin-right: 20px;
}

.free-shipping a {
    display: block;
    margin: 10px 0px;
    color: #8eb459;
    font-weight: 600;
}

.shipping-text {
    display: inline-block;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */

footer {
    margin-top: 50px;
}

footer a {
    font-size: 14px;
}

#footer-in {
    border: none !important;
    padding-top: 20px;
}

#footer-in ul {
    padding-bottom: 20px;
}

#copyright {
    background: #544741;
    padding: 10px !important;
}

#tr-links {
    display: none !important;
}

.copy,
.copy strong,
#copyright a:hover,
#copyright a {
    color: #fff;
}

.instagram-widget a {
    padding: 2px;
}

.instagram-follow-btn {
    display: none;
}

/* ==========================================================================
   14. COOKIES
   ========================================================================== */

.site-msg.cookies {
    color: #ffffff;
    background: #272727;
}

.cookie-ag-wrap {
    opacity: 1 !important;
}

.siteCookies .siteCookies__form .siteCookies__buttonWrap button[value="all"],
.siteCookies .siteCookies__form .siteCookies__buttonWrap .js-cookies-settings[value="all"] {
    background: #8eb459;
    color: #fff;
    border-radius: 5px;
    border: 1px solid #8eb459;
    margin-left: 0;
    padding: 10px 25px !important;
    height: auto;
    font-size: initial;
    min-width: auto;
    line-height: normal;
}

.siteCookies .siteCookies__form .siteCookies__content a {
    text-decoration: none;
}

p.siteCookies__links {
    margin-bottom: 0;
}

.siteCookies:before {
    content: none;
}

/* ==========================================================================
   15. HODNOCENI/REVIEWS
   ========================================================================== */

.vote-wrap {
    border-top-color: #e2e2e2;
}

.rate-bar {
    background-color: #8eb459;
}

#rate-form {
    display: block;
    transform: none !important;
    max-height: inherit;
    position: inherit;
}

#ratingTab .col-xs-12 {
    width: 100%;
}

#reviews {
    display: flex;
    flex-direction: column;
}

.grey {
    background-color: #fff9db;
    padding: 40px 0;
    margin-top: 50px;
}

.heading-row h2 {
    text-align: center;
    margin: 0;
    font-size: 2rem;
}

.content-row {
    display: flex;
    flex-direction: row;
}

.review {
    padding: 20px;
}

.review-block {
    margin: 0;
}

.comment {
    padding: 10px 0 10px 0;
    display: block;
    font-style: italic;
}

.review-name {
    margin: 0;
    font-size: 1.2rem;
    text-align: left;
}

:where(body.ums_a11y_pagination--on) .pagination {
    justify-content: flex-end;
}

/* Kontejner s recenzemi */
#ratingsList.votes-wrap.simple-vote {
    column-count: 3;            /* počet sloupců na desktopu */
    column-gap: 20px;           /* mezera mezi sloupci */
}

/* Jednotlivá recenze jako kartička */
#ratingsList .vote-wrap {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    background: #f3f3f3;
    border-radius: 10px;
    padding: 14px 16px;
    border: solid 1px #e0e0e0;
}

/* Hlavička recenze */
#ratingsList .vote-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

/* Avatar a iniciály */
#ratingsList .vote-pic {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#ratingsList .vote-initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}

/* Jméno a hodnocení */
#ratingsList .vote-summary {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#ratingsList .vote-name span {
    font-weight: 600;
    font-size: 15px;
}

#ratingsList .vote-rating {
    font-size: 13px;
    color: #666666;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

/* Text recenze */
#ratingsList .vote-content {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
}

.vote-pic {
    display: none !important;
}

/* Responsivita */
@media (max-width: 1024px) {
    #ratingsList.votes-wrap.simple-vote {
        column-count: 2;
    }
}

@media (max-width: 640px) {
    #ratingsList.votes-wrap.simple-vote {
        column-count: 1;
    }
}

/* Obecné odsazení rating bloku */
#ratingWrapper {
    margin-top: 24px;
}

/* Horní řádek: průměr + rozpad hvězdiček */
#ratingWrapper .rate-wrap.row {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin: 0 0 20px;
}

/* zrušení bootstrap floatů, chceme čistý flex */
#ratingWrapper .rate-wrap .col-xs-12.col-sm-6 {
    float: none;
    padding: 0;
}

/* levý blok s průměrem */
#ratingWrapper .rate-average-wrap {
    text-align: left;
    max-width: 260px;
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* číslo 5,0 */
#ratingWrapper .rate-average-inner .rate-average {
    display: block;
    font-size: 42px;
    line-height: 1;
    font-weight: 700;
    color: #2f2f2f;
    margin-bottom: 4px;
}

/* hvězdičky + počet hodnocení */
#ratingWrapper .rate-star-wrap {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

#ratingWrapper .rate-star-wrap .stars {
    margin-right: 4px;
}

.vote-form .row {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
}

.vote-form textarea, .vote-form input[type="text"], .vote-form input[type="email"] {
    width: inherit !important;
}

.form-group {
    width: 100% !important;
}

#ratingWrapper .stars-label {
    font-size: 14px;
    color: #666666;
}

/* tlačítko "Přidat hodnocení" pod průměrem */
.rate-form-trigger {
    display: none !important;
}

/* pravý blok s rozložením hodnocení */
#ratingWrapper .rate-wrap > .col-xs-12.col-sm-6:last-child {
    flex: 1 1 260px;
}

#ratingWrapper .rate-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

#ratingWrapper .rate-star {
    width: 40px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #555555;
}

#ratingWrapper .rate-block {
    flex: 1;
}

#ratingWrapper .rate-bar {
    display: block;
    position: relative;
    height: 6px;
    border-radius: 999px;
    background: #e8e8e8;
    overflow: hidden;
}

/* vnitřní proužek je už řešen inline width, jen ho obarvíme */
#ratingWrapper .rate-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #8fb63b;
}

/* počet vpravo od proužku */
#ratingWrapper .rate-count {
    position: absolute;
    right: -36px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #555555;
}

/* formulář pod tím – navázání na předchozí úpravu */
#rate-form {
    margin-top: 24px;
}

#rate-form #formRating {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 20px 24px 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.03);
}

#rate-form .col-xs-12.col-sm-6 {
    margin-bottom: 10px;
}

#rate-form .form-control {
    border-radius: 10px;
    border: 1px solid #dddddd;
    padding: 10px 12px;
    font-size: 15px;
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#rate-form .form-control:focus {
    border-color: #8fb63b;
    box-shadow: 0 0 0 2px rgba(143,182,59,0.2);
    outline: none;
}

#rate-form textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

/* hvězdičky ve formuláři */
#rate-form .star-wrap {
    margin: 4px 0 10px;
}

/* tlačítko ve formuláři */
#rate-form .btn.btn-sm.btn-primary {
    background: #8fb63b;
    border-color: #8fb63b;
    border-radius: 999px;
    padding: 10px 26px;
    font-weight: 600;
    font-size: 15px;
    text-transform: none;
}

#rate-form .btn.btn-sm.btn-primary:hover {
    background: #7aa52f;
    border-color: #7aa52f;
}

/* responsivita */
@media (max-width: 767px) {
    #ratingWrapper .rate-wrap.row {
        gap: 18px;
    }

    #ratingWrapper .rate-average-wrap {
        max-width: 100%;
        flex: 1 1 100%;
    }

    #ratingWrapper .rate-wrap > .col-xs-12.col-sm-6:last-child {
        flex: 1 1 100%;
    }

    #rate-form #formRating {
        padding: 16px;
    }

    #rate-form .btn.btn-sm.btn-primary {
        width: 100%;
        text-align: center;
    }

    #ratingWrapper .rate-count {
        position: static;
        transform: none;
        margin-left: 6px;
    }
}

/* Sekce recenzí v detailu produktu */
.reviews-product .reviews-heading {
    margin-bottom: 20px;
    text-align: center;
}

.reviews-product .homepage-group-title.h4 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

/* Grid recenzí - 4 sloupce na desktopu */
.reviews-product .reviewsFeed {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

/* Kartička recenze */
.reviews-product .review-item .inner {
    background: #ffffff;
    border-radius: 10px;
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #e0e0e0;
}

/* Hlavička recenze */
.reviews-product .review-item .header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Hvězdičky */
.reviews-product .review-stars .stars {
    display: inline-flex;
    gap: 2px;
}

.reviews-product .review-stars .star::before {
    color: #ffb412 !important;
    font-size: 14px;
}

/* Jméno */
.reviews-product .review-name {
    font-weight: 600;
    font-size: 15px;
    color: #222222;
}

/* Text recenze */
.reviews-product .review-description {
    font-size: 14px;
    line-height: 1.5;
    color: #444444;
    flex-grow: 1;
}

/* Tlačítko pod gridem */
.reviews-product .reviews-button {
    margin-top: 8px;
    text-align: center;
}

.reviews-product .reviews-button .btn.btn-primary {
    background: #8eb459 !important;
    border: 1px solid #91b35f !important;
    border-radius: 5px !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 12px 32px !important;
    text-decoration: none !important;
}

.reviews-product .reviews-button .btn.btn-primary:hover {
    background-color: #709241 !important;
    border-color: #709241 !important;
}

/* Responsivita */
@media (max-width: 1024px) {
    .reviews-product .reviewsFeed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .reviews-product .reviewsFeed {
        grid-template-columns: 1fr;
    }

    .reviews.reviews-product {
        padding: 20px 15px;
    }
}



/* ==========================================================================
   16. ZPRAVY/NOTIFIKACE
   ========================================================================== */

.msg .container:before,
div.message:before {
    display: none;
}

.fixed-message {
    z-index: 10001;
    position: fixed;
    text-align: center !important;
    left: 30px !important;
    right: 0 !important;
    bottom: 30px !important;
    top: auto !important;
    max-width: 400px;
    height: 80px;
    line-height: normal;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    border-radius: 5px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.notice-message,
.success-message {
    border: 1px solid #8eb459;
    border-radius: 5px;
    background: #e4f7b6;
    color: #222;
}

.site-msg:after {
    background-color: #ffbc4c;
}

.site-msg .text {
    font-size: 14px !important;
    padding-right: 20px;
    line-height: normal;
    font-weight: 600;
    text-align: center;
    padding: 5px;
}

.site-msg .close:before,
.site-msg .close:after {
    background: #000000;
}

.upozorneni-vanoce {
    background-color: #f8a102;
    color: #FFF;
    font-weight: 600;
    line-height: initial;
    padding: 10px;
}

/* ==========================================================================
   17. UTILITY/HELPERS
   ========================================================================== */

.red {
    color: #8EB459 !important;
}

.w100 {
    width: 100%;
}

.icons {
    margin-bottom: 40px;
    font-size: 13px;
    padding: 0;
}

.icons li {
    width: 150px;
    display: inline-block;
    vertical-align: top;
    float: none;
    margin-right: 20px;
    text-align: center;
    color: #000;
    font-weight: 600;
}

.icons img {
    width: 50%;
    margin: 5%;
}

.ui-state-active a,
.ui-state-default a:hover,
.ui-state-default a:focus {
    background: #544741;
}

/* ==========================================================================
   18. MEDIA QUERIES
   ========================================================================== */

/* Tablet a vys (min 640px) */
@media only screen and (min-width: 40.063em) {
    #header-in {
        border-bottom: none;
    }

    #menu {
        border-top: none;
        background-color: #8eb459;
        min-height: 37px;
        border-radius: 5px;
    }

    #menu li a,
    #a-home:before {
        color: #fff;
    }

    #menu li a {
        line-height: inherit;
    }

    #menu .list-inline > li:hover > a {
        border-top: none !important;
        border-bottom: none !important;
        color: #fff;
        top: auto;
        height: inherit;
        line-height: inherit;
        background-color: #7c9a52;
    }

    #menu-helper:before {
        display: initial;
        height: 37px;
        line-height: 40px;
    }

    #a-home {
        margin-left: 10px;
    }

    #menu .inline-list > li:hover > a#a-home:before {
        top: 6px;
        color: #fff;
    }

    #product-detail-h1 h1 {
        font-size: 1.7rem;
    }
}

/* Desktop (min 992px) */
@media (min-width: 992px) {
    .multiple-columns-body .variant-table .table-row .table-col.variant-name-wrapper {
        width: auto;
    }
}

/* Mobil (max 767px) */
@media only screen and (max-width: 767px) {
    .hp-middle-banner .middle-banner-caption {
        background: rgb(0 0 0 / 20%) !important;
    }

    .in-darkovy-balicek #content-wrapper {
        padding-top: 20px !important;
    }

    .in-darkovy-balicek .grey {
        padding-top: 110px !important;
        padding-bottom: 30px;
        margin-top: 0px;
    }

    .content-row {
        display: flex;
        flex-direction: column;
    }

    .review {
        padding: 10px 15px 0px 15px;
    }
}

/* Mobil (max 650px) */
@media screen and (max-width: 650px) {
    #a-home {
        display: none !important;
    }

    .body-banners .banner-wrapper {
        margin: 0px 0px 25px 0px;
    }
}

/* Mobil (max 640px) */
@media only screen and (max-width: 40em) {
    #header-cart {
        top: 0 !important;
        height: auto;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 1;
    }

    #header-cart-wrapper {
        top: 13% !important;
    }

    #header-in .header-phone {
        width: 40%;
    }

    #header-in .header-email {
        width: 50%;
    }

    #product-variants .t-01 td.variant-price {
        width: 40%;
        display: block;
        font-size: 20px;
        margin: 0 !important;
    }

    #product-variants .t-01 td.variant-submit {
        width: 60%;
    }

    .p-type-descr {
        display: inherit !important;
    }
}

/* Tablet (max 1024px) */
@media only screen and (max-width: 64em) {
    #logo img {
        max-width: 130%;
    }
}
