/* ==================================================
   YUME – MADE IN CZECHIA
   ================================================== */

.yume-made {
    width: 100%;

    background: var(--yume-green);
    color: var(--yume-white);

    /* Bez mezery mezi Ritual a Made */
    border-top: 0;

    padding: 82px 0 88px;
}


/* ==================================================
   VNITŘNÍ CONTAINER
   ================================================== */

.yume-made__inner {
    width: min(
        calc(100% - 64px),
        var(--yume-container)
    );

    max-width: var(--yume-container);

    margin-inline: auto;
}


/* ==================================================
   HEADER SEKCE
   ================================================== */

.yume-made__header {
    max-width: 920px;

    margin-bottom: 42px;
}


/* ==================================================
   HLAVNÍ NADPIS
   Typografii velikosti řeší base.css
   ================================================== */

.yume-made__title {
    max-width: 900px;

    margin-top: 0;
    margin-bottom: 28px;

    color: var(--yume-white) !important;

    font-family: var(--yume-heading-font) !important;

    text-transform: none !important;
}


/* ==================================================
   ÚVODNÍ TEXT
   ================================================== */

.yume-made__intro {
    max-width: 820px;
}

.yume-made__intro p {
    margin: 0 0 14px !important;

    color: var(--yume-white) !important;

    font-family: var(--yume-font) !important;
}

.yume-made__intro p:last-child {
    margin-bottom: 0 !important;
}

.yume-made__intro strong {
    color: var(--yume-white) !important;

    font-weight: 700;
}


/* ==================================================
   ROZBALOVACÍ TLAČÍTKO
   ================================================== */

.yume-made__toggle {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin: 0;

    padding: 16px 0;

    border: 0;
    border-top: 1px solid rgba(245, 245, 245, 0.35);
    border-bottom: 1px solid rgba(245, 245, 245, 0.35);

    background: transparent;

    color: var(--yume-white);

    font-family: var(--yume-font) !important;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;

    text-align: left;

    cursor: pointer;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}


/* ==================================================
   HOVER – TMAVĚ RŮŽOVÝ
   ================================================== */

.yume-made__toggle:hover {
    color: var(--yume-hot-pink);

    border-top-color: rgba(244, 42, 162, 0.7);
    border-bottom-color: rgba(244, 42, 162, 0.7);
}


/* ==================================================
   ŠIPKA
   ================================================== */

.yume-made__arrow {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
    line-height: 1;

    color: currentColor;

    transition: transform 0.25s ease;
}

.yume-made.is-open .yume-made__arrow {
    transform: rotate(180deg);
}


/* ==================================================
   ROZBALOVACÍ DETAIL
   ================================================== */

.yume-made__details {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height 0.5s ease,
        opacity 0.3s ease;
}

.yume-made.is-open .yume-made__details {
    opacity: 1;
}

.yume-made__details-inner {
    padding-top: 42px;
}


/* ==================================================
   TABULKA – WRAPPER
   ================================================== */

.yume-made__table-wrap {
    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}


/* ==================================================
   TABULKA
   ================================================== */

.yume-made__table {
    width: 100%;

    border-collapse: collapse;
    border-spacing: 0;

    color: var(--yume-white);

    font-family: var(--yume-font) !important;

    background: transparent;
}

.yume-made__table th,
.yume-made__table td {
    padding: 18px 22px;

    border: 1px solid rgba(248, 167, 216, 0.75);

    color: var(--yume-white) !important;

    text-align: left;
    vertical-align: middle;
}


/* Hlavička */

.yume-made__table th {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}


/* Obsah */

.yume-made__table td {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}


/* První sloupec */

.yume-made__table th:first-child,
.yume-made__table td:first-child {
    width: 64%;
}


/* Množství */

.yume-made__table th:nth-child(2),
.yume-made__table td:nth-child(2) {
    width: 20%;

    white-space: nowrap;
}


/* RHP */

.yume-made__table th:nth-child(3),
.yume-made__table td:nth-child(3) {
    width: 16%;

    white-space: nowrap;
}


/* ==================================================
   PODŘÁDKY 5-HTP / L-THEANIN
   ================================================== */

.yume-made__table-subrow td:first-child {
    padding-left: 48px;

    font-weight: 500;
}

.yume-made__table em {
    color: inherit;
}


/* ==================================================
   POZNÁMKY POD TABULKOU
   ================================================== */

.yume-made__notes {
    max-width: 1050px;

    margin-top: 18px;
}

.yume-made__notes p {
    margin: 0 0 9px !important;

    color: rgba(245, 245, 245, 0.82) !important;

    font-family: var(--yume-font) !important;

    font-size: 12px !important;
    line-height: 1.55 !important;
}

.yume-made__notes p:last-child {
    margin-bottom: 0 !important;
}


/* ==================================================
   KOMPLETNÍ SLOŽENÍ
   ================================================== */

.yume-made__composition {
    max-width: 1100px;

    margin-top: 38px;
}


/* Menší technický nadpis */

.yume-made__composition-title {
    margin: 0 0 15px;

    color: var(--yume-white) !important;

    font-family: var(--yume-heading-font) !important;

    font-size: 27px;
    font-weight: 600;
    line-height: 1.1;

    letter-spacing: -0.025em;

    text-transform: none !important;
}

.yume-made__composition p {
    margin: 0 !important;

    color: rgba(245, 245, 245, 0.92) !important;

    font-family: var(--yume-font) !important;

    font-size: 13px !important;
    font-weight: 400;
    line-height: 1.7 !important;
}


/* ==================================================
   BENEFITY / IKONY
   ================================================== */

.yume-made__badges {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 0;

    margin-top: 42px;
    padding-top: 30px;

    border-top: 1px solid rgba(245, 245, 245, 0.28);
}


/* Jeden benefit */

.yume-made__badge {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 11px;

    min-height: 76px;

    padding: 5px 18px;

    border: 0;
    border-radius: 0;

    color: var(--yume-white);

    font-family: var(--yume-font) !important;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: 0.06em;

    text-align: center;
    text-transform: uppercase;
}


/* Vertikální oddělení */

.yume-made__badge + .yume-made__badge {
    border-left: 1px solid rgba(245, 245, 245, 0.22);
}


/* ==================================================
   IKONA BENEFITU
   ================================================== */

.yume-made__badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    color: var(--yume-white);

    font-size: 27px;
    font-weight: 400;
    line-height: 1;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 991px) {

    .yume-made {
        border-top: 0;

        padding: 72px 0 78px;
    }

    .yume-made__header {
        margin-bottom: 36px;
    }

    .yume-made__details-inner {
        padding-top: 36px;
    }

    .yume-made__table th,
    .yume-made__table td {
        padding: 16px 18px;
    }

    .yume-made__badges {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .yume-made__badge {
        padding-inline: 10px;

        font-size: 10px;
    }
}


/* ==================================================
   MOBIL
   ================================================== */

@media (max-width: 767px) {

    .yume-made {
        border-top: 0;

        padding: 58px 0 64px;
    }

    .yume-made__inner {
        width: min(
            calc(100% - 28px),
            var(--yume-container)
        );
    }


    /* Header */

    .yume-made__header {
        max-width: 100%;

        margin-bottom: 32px;
    }

    .yume-made__title {
        max-width: 100%;

        margin-bottom: 22px;
    }


    /* Toggle */

    .yume-made__toggle {
        padding: 14px 0;

        font-size: 14px;
    }


    /* Detail */

    .yume-made__details-inner {
        padding-top: 30px;
    }


    /* Tabulka */

    .yume-made__table {
        min-width: 600px;
    }

    .yume-made__table th,
    .yume-made__table td {
        padding: 14px 15px;
    }

    .yume-made__table th {
        font-size: 13px;
    }

    .yume-made__table td {
        font-size: 13px;
    }

    .yume-made__table-subrow td:first-child {
        padding-left: 34px;
    }


    /* Složení */

    .yume-made__composition {
        margin-top: 30px;
    }

    .yume-made__composition-title {
        font-size: 24px;
    }

    .yume-made__composition p {
        font-size: 13px !important;
    }


    /* Benefity */

    .yume-made__badges {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 24px 0;

        margin-top: 34px;
        padding-top: 26px;
    }

    .yume-made__badge {
        min-height: 68px;

        padding: 4px 10px;

        font-size: 10px;
    }

    .yume-made__badge + .yume-made__badge {
        border-left: 0;
    }

    .yume-made__badge:nth-child(even) {
        border-left: 1px solid rgba(245, 245, 245, 0.22);
    }

    .yume-made__badge:last-child {
        grid-column: 1 / -1;

        border-left: 0;
    }

    .yume-made__badge-icon {
        width: 30px;
        height: 30px;

        font-size: 24px;
    }
}