/* ============================================================
   Kontaktní bar + Hodnocení + HP úpravy (Proč TANMAYA, loga)
   Vkládáno JS pro body.type-product nebo body.type-index
   ============================================================ */

.tm-info-bar {
    margin: 0 0 40px;
    font-family: inherit;
}

/* --- Pruh: "Potřebujete poradit?" --------------------------- */
/* Bez vlastního pozadí - používá se defaultní pozadí stránky */
.tm-info-bar__advice {
    padding: 22px 20px;
}

.tm-info-bar__advice-inner {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 32px;
}

.tm-info-bar__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.tm-info-bar__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.tm-info-bar__status-dot {
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2ecc71;
    border: 2px solid #FFFCF3;
}

.tm-info-bar__advice-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c2c2c;
}

.tm-info-bar__advice-links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.tm-info-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7A5C50;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .15s ease;
}

.tm-info-bar__link span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tm-info-bar__link:hover {
    opacity: .75;
    color: #7A5C50;
}

.tm-info-bar__link-icon {
    width: 18px;
    height: 18px;
    display: block;
}

/* --- Pruh: ikony s benefity (plná šířka) -------------------- */
.tm-info-bar__features {
    background: #fff;
    padding: 30px 20px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.tm-info-bar__features-inner {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.tm-info-bar__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 200px;
    min-width: 140px;
    max-width: 260px;
}

.tm-info-bar__feature-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    margin-bottom: 14px;
    display: block;
}

.tm-info-bar__feature-text {
    font-size: 16px;
    font-weight: 700;
    color: #1f1f1f;
    line-height: 1.3;
}

/* --- Sekce Hodnocení (Trustindex Google) -------------------- */
.tm-reviews {
    padding: 50px 20px 30px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.tm-reviews__inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.tm-reviews__title {
    margin: 0 0 14px;
    font-size: 38px;
    font-weight: 700;
    color: #7A5C50;
    line-height: 1.2;
}

.tm-reviews__subtitle {
    margin: 0 auto 30px;
    max-width: 760px;
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.5;
}

.tm-reviews__widget {
    min-height: 200px;
}

/* ============================================================
   HP - Proč TANMAYA (nadpis + horizontální benefity)
   ============================================================ */

.tm-why-heading {
    text-align: center;
    padding: 50px 20px 10px;
}

.tm-why-heading__title {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    color: #7A5C50;
    line-height: 1.2;
}

.tm-benefit-banner--horizontal {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 20px !important;
    padding: 20px 0 40px !important;
}

.tm-benefit-banner--horizontal .benefitBanner__item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    text-align: left !important;
    flex: 1 1 240px !important;
    max-width: 280px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.tm-benefit-banner--horizontal .benefitBanner__picture {
    flex-shrink: 0;
    width: 64px;
    margin: 0;
    padding: 0;
}

.tm-benefit-banner--horizontal .benefitBanner__picture img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

.tm-benefit-banner--horizontal .benefitBanner__content {
    text-align: left !important;
    flex: 1;
    margin: 0;
    padding: 0;
}

.tm-benefit-banner--horizontal .benefitBanner__title {
    display: block;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    color: #7A5C50;
    margin: 0 0 4px;
}

.tm-benefit-banner--horizontal .benefitBanner__data {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.35;
    margin: 0;
}

/* ============================================================
   HP - Loga médií nad patičkou
   ============================================================ */

.tm-logos {
    padding: 30px 20px 30px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.tm-logos__inner {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px 30px;
    align-items: center;
    justify-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.tm-logos__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: opacity .2s ease;
    width: 100%;
}

.tm-logos__logo:hover {
    opacity: .65;
}

.tm-logos__logo img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* --- Responzivita -------------------------------------------- */

@media (max-width: 992px) {
    .tm-logos__inner {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px 24px;
    }
}

@media (max-width: 768px) {
    .tm-info-bar__advice-inner {
        gap: 12px 20px;
    }

    .tm-info-bar__advice-title {
        font-size: 17px;
        flex-basis: 100%;
        text-align: center;
    }

    .tm-info-bar__avatar {
        width: 64px;
        height: 64px;
    }

    .tm-info-bar__features-inner {
        gap: 28px 15px;
    }

    .tm-info-bar__feature {
        flex: 1 1 calc(50% - 15px);
        min-width: 0;
    }

    .tm-info-bar__feature-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 10px;
    }

    .tm-info-bar__feature-text {
        font-size: 14px;
    }

    .tm-reviews {
        padding: 40px 15px 20px;
    }

    .tm-reviews__title {
        font-size: 30px;
    }

    .tm-reviews__subtitle {
        font-size: 15px;
    }

    .tm-why-heading {
        padding: 40px 15px 5px;
    }

    .tm-why-heading__title {
        font-size: 28px;
    }

    .tm-benefit-banner--horizontal .benefitBanner__item {
        flex: 1 1 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
    }

    .tm-benefit-banner--horizontal .benefitBanner__title {
        font-size: 26px;
    }

    .tm-benefit-banner--horizontal .benefitBanner__picture {
        width: 56px;
    }

    .tm-logos {
        padding: 25px 15px 25px;
    }

    .tm-logos__inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px 20px;
    }

    .tm-logos__logo img {
        max-height: 42px;
    }
}

@media (max-width: 480px) {
    .tm-info-bar__advice-links {
        gap: 18px;
        justify-content: center;
        width: 100%;
    }

    .tm-reviews__title {
        font-size: 26px;
    }

    .tm-why-heading__title {
        font-size: 24px;
    }

    .tm-benefit-banner--horizontal {
        gap: 14px !important;
    }

    .tm-benefit-banner--horizontal .benefitBanner__item {
        gap: 12px !important;
    }

    .tm-benefit-banner--horizontal .benefitBanner__title {
        font-size: 22px;
    }

    .tm-benefit-banner--horizontal .benefitBanner__data {
        font-size: 13px;
    }

    .tm-benefit-banner--horizontal .benefitBanner__picture {
        width: 48px;
    }

    .tm-logos__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 16px;
    }

    .tm-logos__logo img {
        max-height: 38px;
    }
}

@media (max-width: 360px) {
    .tm-benefit-banner--horizontal .benefitBanner__item {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}
