/* ==========================================================================
   ELMINO – Shoptet (šablóna Step)
   Zjednotenie vzhľadu s elmino.eu
   ========================================================================== */


/* ==========================================================================
   1) PÍSMO
   ========================================================================== */

@font-face {
    font-family: 'Archivo';
    src: url('https://elmino.eu/fonts/archivo.woff2') format('woff2');
    font-weight: 1 1000;
    font-display: swap;
}


/* ==========================================================================
   2) PREMENNÉ
   ========================================================================== */

:root {
    --el-green: #3F952C;
    --el-green-hover: #32A319;
    --el-green-dark: #15803d;

    --el-gray-900: #111827;
    --el-gray-600: #4B5563;
    --el-gray-500: #6B7280;
    --el-gray-400: #9CA3AF;
    --el-gray-200: #E5E7EB;
    --el-gray-100: #F3F4F6;

    --el-bg: #F9FAFB;

    --el-shadow: 0 15px 30px -4px #10182808;

    --el-font: 'Archivo', sans-serif;

    --el-hero-h: 550px;
}


/* ==========================================================================
   3) ZÁKLAD
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--el-font);
    color: var(--el-gray-900);
    background: var(--el-bg);
    -webkit-font-smoothing: antialiased;
}

body,
p,
li,
td,
th,
a,
strong,
b,
em,
label,
input,
select,
textarea,
button,
.btn {
    font-family: var(--el-font) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4 {
    font-family: var(--el-font) !important;
    font-weight: 700;
    color: var(--el-gray-900);
    line-height: 1.15;
}

a {
    color: var(--el-green);
}

a:hover {
    color: var(--el-green-hover);
}


/* ==========================================================================
   4) TLAČIDLÁ
   ========================================================================== */

.btn,
a.btn,
button.btn,
.btn-primary,
.btn-conversion,
.add-to-cart-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 16px;

    border: 0;
    border-radius: 6px;

    font-size: 16px;
    line-height: 30px;
    font-weight: 500;

    color: #fff;
    background: var(--el-green);

    transition: all .3s;
    user-select: none;
}

.btn:hover,
a.btn:hover,
button.btn:hover,
.btn-primary:hover,
.btn-conversion:hover,
.add-to-cart-button:hover {
    color: #fff;
    background: linear-gradient(
        to right,
        var(--el-green-hover),
        var(--el-green-dark)
    );

    transform: scale(1.05);

    box-shadow:
        0 10px 15px -3px rgba(0,0,0,.1),
        0 4px 6px -4px rgba(0,0,0,.1);
}

.btn:active,
.btn-conversion:active,
.add-to-cart-button:active {
    transform: scale(.95);
}

.btn-secondary,
.btn-default {
    color: var(--el-gray-900) !important;
    background: var(--el-gray-100);
}

.btn-secondary:hover,
.btn-default:hover {
    color: var(--el-gray-900) !important;

    background: linear-gradient(
        to right,
        var(--el-gray-100),
        #D1D5DB
    );
}


/* ==========================================================================
   5) KARTY A OBRÁZKY
   ========================================================================== */

.products .product .p,
.product .p,
.box {
    border-radius: 8px;
    box-shadow: var(--el-shadow);
    overflow: hidden;
}


/* ==========================================================================
   6) COOKIE LIŠTA
   ========================================================================== */

.siteCookies {
    background: var(--el-gray-900);
    color: #fff;
    border-radius: 8px;
    font-family: var(--el-font);
}

.siteCookies a {
    color: var(--el-green-hover);
}


/* ==========================================================================
   7) PÄTIČKA
   ========================================================================== */

#footer {
    background: var(--el-gray-900);
    color: #fff;
    border-top: 0;
}

#footer a {
    color: var(--el-gray-400);
}

#footer a:hover {
    color: #fff;
}

#footer .footer-bottom,
#footer .copyright,
#footer .signature {
    color: #fff;
}

#footer .footer-bottom {
    border-top: 1px solid #E5E7EB33;
}


/* ==========================================================================
   8) HLAVIČKA
   ========================================================================== */

#header {
    background: #0d1623;
    position: relative;
    z-index: 40;
    border: 0;
    box-shadow: none;
}

#header .navigation-wrapper::before,
#header .navigation-wrapper::after {
    content: none !important;
    display: none !important;
}

#header .container.navigation-wrapper,
#header .navigation-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 16px;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 12px 16px !important;

    box-sizing: border-box !important;
}

@media (min-width: 640px) {
    #header .container.navigation-wrapper,
    #header .navigation-wrapper {
        padding: 24px 42px !important;
    }
}


/* pôvodné Shoptet menu */

#header #navigation,
#header .menu-helper,
#header .navigation-buttons a[data-target="search"],
#header .navigation-buttons .top-nav-button-login,
#header .navigation-buttons a[data-target="navigation"] {
    display: none !important;
}


/* ľavá strana */

.el-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

#header .site-name {
    margin: 0;
    flex: none;
}

#header .site-name a {
    display: block;
}

#header .site-name img {
    display: block;

    height: 48px !important;
    width: auto !important;

    max-height: none !important;
    max-width: none !important;
}

@media (min-width: 640px) {
    #header .site-name img {
        height: 66px !important;
    }
}


/* hamburger */

.el-burger {
    background: none;
    border: 0;

    padding: 8px;
    margin-left: -8px;

    color: #fff;
    cursor: pointer;
}

.el-burger svg {
    width: 24px;
    height: 24px;
    display: block;
}

@media (min-width: 1024px) {
    .el-burger {
        display: none;
    }
}


/* desktopové menu */

.el-nav {
    --el-nav-gap: 8px;

    display: none;
    align-items: center;

    gap: var(--el-nav-gap);
}

@media (min-width: 1024px) {
    .el-nav {
        display: flex;
    }
}

@media (min-width: 1280px) {
    .el-nav {
        --el-nav-gap: 16px;
    }
}

@media (min-width: 1536px) {
    .el-nav {
        --el-nav-gap: 32px;
    }
}

.el-nav > a.el-nav__link {
    margin-right: var(--el-nav-gap);
}

#header .el-nav__link {
    display: inline-flex;
    align-items: center;

    gap: 2px;

    padding: 8px 0;

    background: none;
    border: 0;

    cursor: pointer;

    font-family: var(--el-font) !important;
    font-weight: 300 !important;

    font-size: 14px !important;
    line-height: 30px !important;

    color: #fff !important;
    text-decoration: none;

    transition: all .3s;
}

@media (min-width: 1280px) {
    #header .el-nav__link {
        font-size: 16px !important;
    }
}

#header .el-nav__link:hover,
#header .el-nav__link.is-active {
    color: rgba(255,255,255,.9) !important;

    text-decoration: underline;
    text-underline-offset: 4px;
}

.el-nav__link svg {
    margin-left: 4px;
}


/* dropdown */

.el-dd {
    position: relative;
}

.el-dd__menu {
    position: absolute;

    left: 0;
    top: 100%;

    display: flex;
    flex-direction: column;

    padding: 12px 0;

    background: #fff;
    border-radius: 8px;

    box-shadow:
        0 20px 25px -5px rgba(0,0,0,.1),
        0 8px 10px -6px rgba(0,0,0,.1);

    z-index: 50;

    opacity: 0;
    visibility: hidden;

    transform: scale(.95);
    transform-origin: top left;

    transition:
        opacity .2s ease-out,
        transform .2s ease-out,
        visibility .2s;
}

.el-dd__menu--lg {
    width: 256px;
}

.el-dd__menu--sm {
    width: 192px;
}

.el-dd:hover .el-dd__menu,
.el-dd:focus-within .el-dd__menu {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#header .el-dd__menu a {
    padding: 8px 16px;

    font-weight: 300 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;

    color: #111827 !important;
    text-decoration: none;

    transition: all .3s;
}

@media (min-width: 1280px) {
    #header .el-dd__menu a {
        font-size: 16px !important;
    }
}

#header .el-dd__menu a:hover {
    color: #000 !important;

    text-decoration: underline;
    text-underline-offset: 4px;
}


/* ==========================================================================
   9) E-SHOP IKONA
   ========================================================================== */

.el-shop {
    display: flex;
    align-items: center;

    padding: 4px 8px;
}

.el-shop img {
    display: block;

    height: 40px !important;
    width: auto !important;

    max-height: none !important;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.el-shop:hover img {
    transform: scale(1.2);
    opacity: .8;
}

.el-shop--m {
    padding: 0;
}

.el-shop--m img {
    height: 32px !important;

    animation: el-pulse 4s infinite alternate;
}

@keyframes el-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: .8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (min-width: 1024px) {
    .el-shop--m {
        display: none;
    }
}

@media (max-width: 1023px) {
    .el-shop--d {
        display: none;
    }
}


/* ==========================================================================
   10) PRAVÁ STRANA HLAVIČKY
   ========================================================================== */

.el-right {
    display: flex;
    align-items: center;

    gap: 12px;
    flex: none;
}

@media (min-width: 640px) {
    .el-right {
        gap: 16px;
    }
}

.el-right .navigation-buttons {
    position: static !important;

    display: flex !important;
    align-items: center;

    margin: 0;
    padding: 0;

    background: none;

    width: auto;
    height: auto;
}

.el-right .navigation-buttons a.cart-count {
    filter: brightness(0) invert(1);
}

.el-social {
    display: block;

    width: 28px;
    height: 28px;

    flex: none;

    color: #F3F4F6;

    transition: color .3s ease-out;
}

.el-social:hover {
    color: #fff;
}

.el-social svg {
    width: 28px !important;
    height: 28px !important;

    max-width: none !important;

    display: block;
}


/* ==========================================================================
   11) MOBILNÉ MENU
   ========================================================================== */

.el-mobile {
    display: none;

    position: fixed;
    inset: 0;

    z-index: 99999;

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

    gap: 24px;

    overflow-y: auto;

    padding: 80px 16px 40px;

    box-sizing: border-box;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.4),
            rgba(0,0,0,.5),
            rgba(0,100,0,.6)
        );

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.el-mobile.is-open {
    display: flex;
}

.el-mobile__close {
    position: absolute;

    top: 20px;
    left: 8px;

    background: none;
    border: 0;

    padding: 8px;

    color: #fff;
    cursor: pointer;
}

.el-mobile__close svg {
    width: 24px;
    height: 24px;

    display: block;
}

.el-mobile nav {
    display: flex;
    flex-direction: column;

    align-items: center;
    text-align: center;
}

.el-mobile__main {
    gap: 12px;
}

.el-mobile__main > a,
.el-mobile__main summary {
    font-weight: 700;

    font-size: 30px;
    line-height: 36px;

    color: #fff !important;

    text-decoration: none;

    cursor: pointer;
    list-style: none;
}

.el-mobile__main summary::-webkit-details-marker {
    display: none;
}

.el-mobile details > div {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-top: 8px;
}

.el-mobile details a {
    font-size: 20px;
    line-height: 28px;

    color: #fff !important;
    text-decoration: none;
}

.el-mobile__sub {
    gap: 6px;
}

.el-mobile__sub a {
    font-weight: 600;

    font-size: 24px;
    line-height: 32px;

    color: rgba(255,255,255,.8) !important;

    text-decoration: none;
}

@media (min-width: 640px) {

    .el-mobile__main > a,
    .el-mobile__main summary {
        font-size: 48px;
        line-height: 1.1;
    }

    .el-mobile__sub a {
        font-size: 30px;
        line-height: 36px;
    }

    .el-mobile__close {
        top: 40px;
        left: 32px;
    }
}

@media (min-width: 1024px) {
    .el-mobile {
        display: none !important;
    }
}


/* ==========================================================================
   12) HERO BANNER
   ========================================================================== */

@media (min-width: 640px) {

    .carousel,
    .carousel-inner,
    .carousel-inner > div,
    .carousel-inner .item,
    .carousel-inner .carousel-item {
        height: var(--el-hero-h) !important;
        max-height: var(--el-hero-h) !important;

        overflow: hidden;

        background-size: cover;
        background-position: right top;
    }

    .carousel img,
    .carousel-inner img {
        width: 100% !important;

        height: var(--el-hero-h) !important;
        max-height: none !important;

        object-fit: cover;
        object-position: right top;
    }
}


/* ==========================================================================
   13) ODSTRÁNENIE BIELEHO PRIESTORU NAD HLAVIČKOU – MOBIL
   ========================================================================== */

@media (max-width: 991px) {

    html,
    body {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .overall-wrapper {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    #header {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    #header .container.navigation-wrapper,
    #header .navigation-wrapper {
        margin-top: 0 !important;
    }
}


/* ==========================================================================
   14) ELMINO ESHOP HERO
   ========================================================================== */

.carousel-inner .item.el-eshop-hero {
    position: relative;
}


/* --------------------------------------------------------------------------
   NADPIS
   -------------------------------------------------------------------------- */

.carousel-inner .item.el-eshop-hero::before {
    content: "E-shop";

    position: absolute;

    left: 24px;
    bottom: 215px;

    z-index: 10;

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

    font-size: 72px;
    line-height: 1.1;

    font-weight: 700;

    color: #fff;

    text-shadow:
        1px 1px 0 rgba(0,0,0,.8),
        -1px -1px 0 rgba(0,0,0,.4),
        2px 2px 5px rgba(0,0,0,.6);
}


/* --------------------------------------------------------------------------
   PODNADPIS
   -------------------------------------------------------------------------- */

.carousel-inner .item.el-eshop-hero::after {
    content: "Ku všetkým produktom vám okrem predaja ponúkame aj odborné poradenstvo a možnosť profesionálnej montáže.";

    position: absolute;

    left: 24px;
    bottom: 125px;

    z-index: 10;

    width: 650px;
    max-width: calc(100% - 48px);

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

    font-size: 20px;
    line-height: 28px;

    font-weight: 400;

    color: #fff;

    text-shadow:
        1px 1px 0 rgba(0,0,0,.8),
        2px 2px 5px rgba(0,0,0,.6);
}


/* --------------------------------------------------------------------------
   TLAČIDLO
   -------------------------------------------------------------------------- */

.carousel-inner .item.el-eshop-hero .el-eshop-button {
    position: absolute !important;

    left: 24px;
    bottom: 55px;

    z-index: 20;

    display: inline-flex !important;

    align-items: center;

    gap: 10px;

    padding: 10px 16px;

    border: 0;
    border-radius: 6px;

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

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

    font-weight: 500;

    color: #fff !important;

    background: var(--el-green);

    text-decoration: none !important;

    opacity: 1 !important;
    visibility: visible !important;

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}


/* hover */

.carousel-inner .item.el-eshop-hero .el-eshop-button:hover {
    color: #fff !important;

    background: linear-gradient(
        to right,
        var(--el-green-hover),
        var(--el-green-dark)
    );

    transform: scale(1.05);

    box-shadow:
        0 10px 15px -3px rgba(0,0,0,.1),
        0 4px 6px -4px rgba(0,0,0,.1);
}


/* klik */

.carousel-inner .item.el-eshop-hero .el-eshop-button:active {
    transform: scale(.95);
}


/* šípka */

.carousel-inner .item.el-eshop-hero .el-eshop-button span {
    font-size: 20px;
    line-height: 1;
}


/* ==========================================================================
   15) ESHOP HERO – MOBIL
   ========================================================================== */

/* =========================================================
   ESHOP HERO – MOBIL
   ========================================================= */

@media (max-width: 639px) {

    /* Hero musí byť kontajner pre absolútne pozicované prvky */
    .carousel-inner .item.el-eshop-hero {
        position: relative !important;
        overflow: hidden !important;
    }


    /* NADPIS */

    .carousel-inner .item.el-eshop-hero::before {
        content: "E-shop" !important;

        position: absolute !important;

        left: 14px !important;
        bottom: 190px !important;

        z-index: 100 !important;

        display: block !important;

        font-family: var(--el-font) !important;
        font-size: 48px !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;

        color: #fff !important;

        text-shadow:
            1px 1px 0 rgba(0,0,0,.8),
            2px 2px 5px rgba(0,0,0,.6);
    }


    /* PODNADPIS */

    .carousel-inner .item.el-eshop-hero::after {
        content: "Ku všetkým produktom vám okrem predaja ponúkame aj odborné poradenstvo a možnosť profesionálnej montáže." !important;

        position: absolute !important;

        left: 14px !important;
        right: 14px !important;
        bottom: 105px !important;

        z-index: 100 !important;

        display: block !important;

        width: auto !important;
        max-width: none !important;

        font-family: var(--el-font) !important;
        font-size: 18px !important;
        line-height: 26px !important;
        font-weight: 400 !important;

        color: #fff !important;

        text-shadow:
            1px 1px 0 rgba(0,0,0,.8),
            2px 2px 5px rgba(0,0,0,.6);
    }


    /* TLAČIDLO */

    .carousel-inner .item.el-eshop-hero .el-eshop-button {
        position: absolute !important;

        left: 14px !important;
        bottom: 25px !important;

        z-index: 999 !important;

        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;

        align-items: center !important;

        gap: 10px;

        padding: 10px 16px;

        border: 0;
        border-radius: 6px;

        font-family: var(--el-font) !important;
        font-size: 16px !important;
        line-height: 30px !important;
        font-weight: 500 !important;

        color: #fff !important;
        background: var(--el-green) !important;

        text-decoration: none !important;
    }


    /* šípka */

    .carousel-inner .item.el-eshop-hero .el-eshop-button span {
        font-size: 20px !important;
        line-height: 1 !important;
    }


    /* sociálne siete skryť */

    .el-social {
        display: none !important;
    }
}