<style>
/* =========================================================
   SCARLETT – PRODUKTOVÝ VÝPIS
   PC + MOBIL

   - zarovnání názvu / skladovosti / ceny / tlačítka
   - mobil: permanentní produktové karty
   - mobil: 2 produkty vedle sebe
   - mobil: mezera mezi kartami
   - mobil: prostor pro dlouhé názvy
   ========================================================= */


/* =========================================================
   PC
   ========================================================= */

@media (min-width: 992px) {

    .products-block .product {
        display: flex !important;
    }

    .products-block .product .p {
        width: 100%;
        display: flex !important;
        flex-direction: column !important;
    }

    .products-block .product .p-in {
        width: 100%;
        flex: 1 1 auto;
        display: flex !important;
        flex-direction: column !important;
    }


    /* NÁZEV */
    .products-block .product .name {
        height: 66px !important;
        min-height: 66px !important;
        max-height: 66px !important;

        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;

        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }


    /* SKLADOVOST */
    .products-block .product .availability {
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    /* SPODNÍ ČÁST */
    .products-block .product .p-bottom {
        margin-top: 0 !important;
        padding-top: 0 !important;

        display: flex !important;
        flex-direction: column !important;
    }


    /* CENA */
    .products-block .product .prices {
        height: 54px !important;
        min-height: 54px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        margin: 0 !important;
    }


    /* TLAČÍTKO */
    .products-block .product .p-tools {
        height: 58px !important;
        min-height: 58px !important;

        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;

        margin: 0 !important;
    }

}



/* =========================================================
   MOBIL + TABLET
   ========================================================= */

@media (max-width: 991px) {


    /* -----------------------------------------------------
       PRODUKTOVÁ KARTA
       ----------------------------------------------------- */

    .products-block .product {
        display: flex !important;

        box-sizing: border-box !important;

        background: #fff !important;

        box-shadow:
            0 2px 12px rgba(41, 39, 36, 0.12) !important;

        border-radius: 4px !important;

        padding: 12px 8px 18px !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 18px !important;

        position: relative !important;
        z-index: 1 !important;

        transition: none !important;
    }


    /* -----------------------------------------------------
       MEZERA MEZI LEVOU A PRAVOU KARTOU

       Nepoužíváme margin, protože ten Shoptetu
       rozbíjel dva produkty vedle sebe.
       ----------------------------------------------------- */

    .products-block .product:nth-child(odd) {
        border-right:
            4px solid transparent !important;

        background-clip:
            padding-box !important;
    }

    .products-block .product:nth-child(even) {
        border-left:
            4px solid transparent !important;

        background-clip:
            padding-box !important;
    }


    /* -----------------------------------------------------
       VNITŘEK KARTY
       ----------------------------------------------------- */

    .products-block .product .p {
        width: 100% !important;

        display: flex !important;
        flex-direction: column !important;

        background: #fff !important;
    }


    .products-block .product .p-in {
        width: 100% !important;

        flex: 1 1 auto;

        display: flex !important;
        flex-direction: column !important;
    }


    /* -----------------------------------------------------
       OBRÁZEK
       ----------------------------------------------------- */

    .products-block .product .image {
        background: #fff !important;

        margin-bottom: 12px !important;
    }


    .products-block .product .image img {
        max-width: 100% !important;
        height: auto !important;
    }


    /* -----------------------------------------------------
       NÁZEV PRODUKTU

       Větší prostor kvůli názvům na 5+ řádků.
       ----------------------------------------------------- */

    .products-block .product .name {
        height: 125px !important;
        min-height: 125px !important;
        max-height: 125px !important;

        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;

        box-sizing: border-box !important;

        padding-left: 4px !important;
        padding-right: 4px !important;

        margin-top: 0 !important;
        margin-bottom: 8px !important;

        text-align: center !important;
    }


    /* -----------------------------------------------------
       SKLADOVÁ DOSTUPNOST
       ----------------------------------------------------- */

    .products-block .product .availability {
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        box-sizing: border-box !important;

        margin: 0 !important;
        padding: 0 3px !important;

        text-align: center !important;
    }


    /* -----------------------------------------------------
       SPODNÍ ČÁST
       ----------------------------------------------------- */

    .products-block .product .p-bottom {
        margin-top: 0 !important;
        padding-top: 0 !important;

        display: flex !important;
        flex-direction: column !important;
    }


    /* -----------------------------------------------------
       CENA
       ----------------------------------------------------- */

    .products-block .product .prices {
        height: 58px !important;
        min-height: 58px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        box-sizing: border-box !important;

        margin: 0 !important;
        padding: 0 !important;

        text-align: center !important;
    }


    /* -----------------------------------------------------
       TLAČÍTKO DO KOŠÍKU / DETAIL
       ----------------------------------------------------- */

    .products-block .product .p-tools {
        height: 60px !important;
        min-height: 60px !important;

        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;

        box-sizing: border-box !important;

        margin: 0 !important;
        padding: 0 !important;

        text-align: center !important;
    }


    /* -----------------------------------------------------
       ODSTRANĚNÍ PŘÍPADNÝCH SHOPTET ODDĚLOVAČŮ
       ----------------------------------------------------- */

    .products-block .product::before,
    .products-block .product::after {
        border: 0 !important;
    }

}

</style>