/* =========================================================
   REHAVITA – BREADCRUMBS POUZE PRO MOBIL
   768 px a více = čistě nativní Shoptet
   ========================================================= */

@media (max-width: 767px) {

    .type-product .breadcrumbs,
    .type-category .breadcrumbs {
        display: block !important;
        width: 100%;

        margin: 0 0 10px;
        padding: 8px 0 9px;

        border-bottom: 1px solid #ececec;

        font-size: 12px;
        line-height: 1.35;

        white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .type-product .breadcrumbs::-webkit-scrollbar,
    .type-category .breadcrumbs::-webkit-scrollbar {
        display: none;
    }

    /* jeden řádek */
    .type-product .breadcrumbs ol,
    .type-product .breadcrumbs ul,
    .type-category .breadcrumbs ol,
    .type-category .breadcrumbs ul {
        display: flex !important;
        align-items: center;
        flex-wrap: nowrap;

        margin: 0;
        padding: 0;

        list-style: none;
    }

    .type-product .breadcrumbs li,
    .type-category .breadcrumbs li,
    .type-product .breadcrumbs [itemprop="itemListElement"],
    .type-category .breadcrumbs [itemprop="itemListElement"] {
        display: inline-flex !important;
        align-items: center;

        margin: 0;
        padding: 0;

        white-space: nowrap;
    }

    /* původní oddělovače */
    .type-product .breadcrumbs .separator,
    .type-product .breadcrumbs .delimiter,
    .type-category .breadcrumbs .separator,
    .type-category .breadcrumbs .delimiter {
        display: none !important;
    }

    /* vlastní oddělovače */
    .type-product .breadcrumbs
    [itemprop="itemListElement"]
    + [itemprop="itemListElement"]::before,

    .type-category .breadcrumbs
    [itemprop="itemListElement"]
    + [itemprop="itemListElement"]::before,

    .type-product .breadcrumbs li + li::before,
    .type-category .breadcrumbs li + li::before {
        content: "›";

        display: inline-block;
        margin: 0 7px;

        color: #999;
        font-size: 11px;
        font-weight: 400;
        line-height: 1;
    }

    /* odkazy */
    .type-product .breadcrumbs a,
    .type-product .breadcrumbs span,
    .type-product .breadcrumbs strong,
    .type-category .breadcrumbs a,
    .type-category .breadcrumbs span,
    .type-category .breadcrumbs strong {
        color: #666;
        text-decoration: none;
    }


    /* =====================================================
       PRODUKT
       Domů + dvě nejhlubší kategorie
       název produktu skrýt
       ===================================================== */

    .type-product .breadcrumbs
    [itemprop="itemListElement"]:not(:first-child):not(:nth-last-child(-n+3)),

    .type-product .breadcrumbs
    li:not(:first-child):not(:nth-last-child(-n+3)) {
        display: none !important;
    }

    .type-product .breadcrumbs
    [itemprop="itemListElement"]:last-child,

    .type-product .breadcrumbs
    li:last-child {
        display: none !important;
    }

    .type-product .breadcrumbs
    [itemprop="itemListElement"]:nth-last-child(2) a,

    .type-product .breadcrumbs
    [itemprop="itemListElement"]:nth-last-child(2) span,

    .type-product .breadcrumbs
    li:nth-last-child(2) a,

    .type-product .breadcrumbs
    li:nth-last-child(2) span {
        color: #222;
        font-weight: 600;
    }


    /* =====================================================
       KATEGORIE
       Domů + rodič + aktuální kategorie
       ===================================================== */

    .type-category .breadcrumbs
    [itemprop="itemListElement"]:not(:first-child):not(:nth-last-child(-n+2)),

    .type-category .breadcrumbs
    li:not(:first-child):not(:nth-last-child(-n+2)) {
        display: none !important;
    }

    .type-category .breadcrumbs
    [itemprop="itemListElement"]:last-child a,

    .type-category .breadcrumbs
    [itemprop="itemListElement"]:last-child span,

    .type-category .breadcrumbs
    li:last-child a,

    .type-category .breadcrumbs
    li:last-child span {
        color: #222;
        font-weight: 600;
    }
}