/* =========================================================
   ESHOP-SPORT 6.0.0
   Vánoční homepage V6
   ========================================================= */


/* ---------------------------------------------------------
   HLAVNÍ VÁNOČNÍ BLOK
   --------------------------------------------------------- */

.christmas-home-v6 {
    width: 100%;
    margin: 25px 0 30px 0;
    padding: 20px 15px 30px 15px;
    box-sizing: border-box;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.70),
            rgba(255,255,255,0.84)
        ),
        url('/img/christmas/christmas-home.webp');

    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;

    border: 1px solid #e1e1e1;
    border-radius: 5px;
    overflow: hidden;
}


/* ---------------------------------------------------------
   HLAVNÍ NADPIS
   --------------------------------------------------------- */

.christmas-home-v6 > .wrapper-v6 {
    position: relative;
    z-index: 2;
    text-align: center;

    margin: 5px 0 20px 0;
}

.christmas-home-v6 > .wrapper-v6 .even-nor {
    display: inline-block;

    position: relative;

    padding: 0 35px;

    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    background: transparent;
    color: #145c31;
}


/*
 * Dárková ikonka před nadpisem
 */

.christmas-home-v6 > .wrapper-v6 .fa-gift {
    color: #46a935;
    margin-right: 8px;
}


/*
 * Jemné zelené čáry po stranách nadpisu
 */

.christmas-home-v6 > .wrapper-v6 .even-nor::before,
.christmas-home-v6 > .wrapper-v6 .even-nor::after {
    content: "";

    position: absolute;
    top: 50%;

    width: 70px;
    height: 2px;

    background: #46a935;

    opacity: 0.75;
}

.christmas-home-v6 > .wrapper-v6 .even-nor::before {
    right: 100%;
}

.christmas-home-v6 > .wrapper-v6 .even-nor::after {
    left: 100%;
}


/* ---------------------------------------------------------
   NADPISY SEKCE
   --------------------------------------------------------- */

.christmas-home-v6-title {
    position: relative;
    z-index: 2;

    margin: 25px 0 14px 0;

    text-align: center;
}

.christmas-home-v6-title h3 {
    display: inline-block;

    position: relative;

    margin: 0;

    padding: 0 35px;

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

    color: #145c31;
}


/*
 * Jemné dekorativní čáry
 */

.christmas-home-v6-title h3::before,
.christmas-home-v6-title h3::after {
    content: "";

    position: absolute;
    top: 50%;

    width: 65px;
    height: 2px;

    background: #46a935;

    opacity: 0.65;
}

.christmas-home-v6-title h3::before {
    right: 100%;
}

.christmas-home-v6-title h3::after {
    left: 100%;
}


/* ---------------------------------------------------------
   SPORTOVNÍ SKUPINY
   --------------------------------------------------------- */

.christmas-home-v6-groups {
    position: relative;
    z-index: 2;

    display: grid;

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

    gap: 12px;

    margin: 0 auto;

    max-width: 1100px;
}


/* ---------------------------------------------------------
   SPORT – KARTA
   --------------------------------------------------------- */

.christmas-home-v6-group {
    display: flex;

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

    min-height: 145px;

    padding: 15px;

    box-sizing: border-box;

    text-decoration: none;

    color: #145c31;

    background:
        rgba(255,255,255,0.90);

    border: 1px solid rgba(215,215,215,0.95);

    border-radius: 7px;

    box-shadow:
        0 3px 10px rgba(0,0,0,0.07);

    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}


/* ---------------------------------------------------------
   SPORT – HOVER
   --------------------------------------------------------- */

.christmas-home-v6-group:hover {
    transform: translateY(-3px);

    color: #145c31;

    background:
        rgba(255,255,255,0.97);

    border-color: #46a935;

    box-shadow:
        0 6px 16px rgba(0,0,0,0.12);

    text-decoration: none;
}


/* ---------------------------------------------------------
   SPORT – IKONA
   --------------------------------------------------------- */

.christmas-home-v6-group-icon {
    display: block;

    margin-bottom: 12px;

    font-size: 42px;

    line-height: 1;

    color: #16803d;
}


/* ---------------------------------------------------------
   SPORT – NÁZEV
   --------------------------------------------------------- */

.christmas-home-v6-group-name {
    display: block;

    font-size: 18px;
    line-height: 1.25;

    font-weight: 700;

    color: #145c31;
}


/*
 * Malá zelená dekorativní čára pod názvem
 */

.christmas-home-v6-group-name::after {
    content: "";

    display: block;

    width: 45px;
    height: 2px;

    margin: 10px auto 0 auto;

    background: #46a935;
}


/* ---------------------------------------------------------
   AKTIVNÍ SPORT
   --------------------------------------------------------- */

.christmas-home-v6-group-active {
    background:
        rgba(255,255,255,0.98);

    border-color: #46a935;

    box-shadow:
        0 5px 15px rgba(70,169,53,0.20);
}

.christmas-home-v6-group-active
.christmas-home-v6-group-icon {
    color: #46a935;
}


/* ---------------------------------------------------------
   CENOVÉ SKUPINY
   --------------------------------------------------------- */

.christmas-home-v6-prices {
    position: relative;
    z-index: 2;

    display: grid;

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

    gap: 10px;

    max-width: 1200px;

    margin: 0 auto;
}


/* ---------------------------------------------------------
   CENA – TLAČÍTKO
   --------------------------------------------------------- */

.christmas-home-v6-price {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 58px;

    padding: 10px 12px 10px 40px;

    box-sizing: border-box;

    text-decoration: none;
    text-align: center;

    font-size: 16px;
    line-height: 1.2;

    font-weight: 700;

    color: #145c31;

    background:
        rgba(255,255,255,0.92);

    border: 2px solid #46a935;

    border-radius: 7px;

    box-shadow:
        0 2px 7px rgba(0,0,0,0.05);

    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}


/* ---------------------------------------------------------
   DÁREK – IKONA V TLAČÍTKU
   --------------------------------------------------------- */

.christmas-home-v6-price::before {
    content: "\f06b";

    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    font-family: "Font Awesome 5 Free";
    font-weight: 900;

    font-size: 21px;

    color: #d9a300;
}


/* ---------------------------------------------------------
   CENA – HOVER
   --------------------------------------------------------- */

.christmas-home-v6-price:hover {
    color: #ffffff;

    background: #46a935;

    border-color: #46a935;

    transform: translateY(-2px);

    box-shadow:
        0 5px 13px rgba(0,0,0,0.12);

    text-decoration: none;
}


/*
 * Dárek při hoveru
 */

.christmas-home-v6-price:hover::before {
    color: #ffffff;
}


/* ---------------------------------------------------------
   AKTIVNÍ CENA
   --------------------------------------------------------- */

.christmas-home-v6-price-active {
    color: #ffffff;

    background: #46a935;

    border-color: #46a935;
}

.christmas-home-v6-price-active::before {
    color: #ffffff;
}


/* ---------------------------------------------------------
   PRODUKTOVÁ ČÁST
   --------------------------------------------------------- */
.christmas-home-v6 #product-container {
    width: 100%;
    margin: 0px auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    background: transparent;
}   
.christmas-home-v6 #product-container .product-item {
    width: 276px;
    margin: 4px 4px;
    padding: 4px 4px;
    border: 2px solid #fff;
    border-bottom-color: #e0e0e0;
    position: relative;
    background-color: #fff;
}

.christmas-home-v6 .products_home {
    position: relative;
    z-index: 2;

    margin-top: 15px;
}


/*
 * Nadpis vybraného tipu
 */

.christmas-home-v6 .products_home
.christmas-home-v6-title {
    margin-top: 35px;
    margin-bottom: 18px;
}


/* ---------------------------------------------------------
   PRODUKTY – LEHKÉ ODDĚLENÍ OD POZADÍ
   --------------------------------------------------------- */

.christmas-home-v6 #product-container {
    position: relative;
    z-index: 2;
}


/* ---------------------------------------------------------
   VÁNOČNÍ DEKORACE NAD PRODUKTY
   --------------------------------------------------------- */

.christmas-home-v6 .products_home
.christmas-home-v6-title h3::before,
.christmas-home-v6 .products_home
.christmas-home-v6-title h3::after {
    background: #c51f1f;
}


/*
 * Sněhová vločka u produktového nadpisu
 */

.christmas-home-v6 .products_home
.christmas-home-v6-title h3 {
    color: #145c31;
}


/* ---------------------------------------------------------
   ŽÁDNÉ PRODUKTY
   --------------------------------------------------------- */

.christmas-no-products {
    position: relative;
    z-index: 2;

    margin: 20px auto;

    padding: 15px;

    max-width: 700px;

    text-align: center;

    color: #555555;

    background:
        rgba(255,255,255,0.90);

    border: 1px solid #e5e5e5;

    border-radius: 5px;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 920px) {

    .christmas-home-v6 {
        padding: 20px 15px 25px 15px;

        background-image:
            linear-gradient(
                rgba(255,255,255,0.78),
                rgba(255,255,255,0.88)
            ),
            url('/img/christmas/christmas-home.jpg');

        background-position: center top;
    }


    .christmas-home-v6 > .wrapper .even-nor {
        font-size: 24px;
    }


    .christmas-home-v6-groups {
        grid-template-columns: repeat(2, 1fr);
    }


    .christmas-home-v6-group {
        min-height: 120px;
    }


    .christmas-home-v6-prices {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* ---------------------------------------------------------
   MOBIL
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .christmas-home-v6 {
        margin-top: 20px;

        padding: 15px 10px 20px 10px;

        border-radius: 3px;

        background-image:
            linear-gradient(
                rgba(255,255,255,0.86),
                rgba(255,255,255,0.93)
            ),
            url('/img/christmas/christmas-home.jpg');

        background-position: center top;
    }


    .christmas-home-v6 > .wrapper {
        margin-bottom: 15px;
    }


    .christmas-home-v6 > .wrapper .even-nor {
        padding: 0 15px;

        font-size: 22px;
    }


    /*
     * Na mobilu schováme dekorativní čáry,
     * aby nepřekážely.
     */

    .christmas-home-v6 > .wrapper .even-nor::before,
    .christmas-home-v6 > .wrapper .even-nor::after {
        display: none;
    }


    .christmas-home-v6-title {
        margin: 22px 0 10px 0;
    }


    .christmas-home-v6-title h3 {
        padding: 0 10px;

        font-size: 19px;
    }


    .christmas-home-v6-title h3::before,
    .christmas-home-v6-title h3::after {
        display: none;
    }


    .christmas-home-v6-groups {
        grid-template-columns: repeat(2, 1fr);

        gap: 8px;
    }


    .christmas-home-v6-group {
        min-height: 105px;

        padding: 10px 5px;

        border-radius: 5px;
    }


    .christmas-home-v6-group-icon {
        margin-bottom: 8px;

        font-size: 30px;
    }


    .christmas-home-v6-group-name {
        font-size: 15px;
    }


    .christmas-home-v6-group-name::after {
        width: 35px;

        margin-top: 7px;
    }


    .christmas-home-v6-prices {
        grid-template-columns: repeat(2, 1fr);

        gap: 8px;
    }


    .christmas-home-v6-price {
        min-height: 50px;

        padding: 8px 7px 8px 34px;

        font-size: 14px;
    }


    .christmas-home-v6-price::before {
        left: 10px;

        font-size: 18px;
    }


    .christmas-home-v6 .products_home
    .christmas-home-v6-title {
        margin-top: 28px;
    }

}

