﻿/* <select> styles */
select {
    /* Reset */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    outline: 0;
    font: inherit;
    /* Personalize */
    width: 20em;
    height: 3em;
    padding: 0 4em 0 1em;
    background-color: #fff;
/*    background: url(https://upload.wikimedia.org/wikipedia/commons/9/9d/Caret_down_font_awesome_whitevariation.svg) no-repeat right 0.8em center/1.4em, linear-gradient(to left, rgba(255, 255, 255, 0.3) 3em, rgba(255, 255, 255, 0.2) 3em);*/
    color: #4a4a4a;
    border-radius: 0.25em;
    box-shadow: 0 0 0.2em 0 rgba(0, 0, 0, 0.2);
    border: 1px solid #ccc;

    cursor: pointer;
    /* <option> colors */
    /* Remove focus outline */
    /* Remove IE arrow */
}


select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='lightgray' height='32' viewBox='0 0 24 24' width='32' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 8px;
    /*
    border: 1px solid #dfdfdf;
    border-radius: 2px;
    margin-right: 2rem;
    padding: 1rem;
    padding-right: 2rem;*/
}


select option {
    color: inherit;
    background-color: #fff;
}
select:focus {
    outline: none;
}
select::-ms-expand {
    display: none;
}
/*
select option:hover {
    box-shadow: 0 0 10px 100px #1882A8 inset;
    color: #fff;
    background-color: #6db33f;
}
*/
.omniva-location select
, .itella-time-wrapper select
, .itella-location select
, .itella-finland select
{
    margin-left: 20px;
}

@media only screen and (max-width: 767px) {
    .footer {
        padding-top: 20px;
    }

    .footer .back-to-top {
        top: 20px;
    }
}




.pangad {
    display: flex;          /* Peamine: muudab horisontaalseks rea */
    flex-wrap: wrap;        /* Kui ei mahu ekraanile, hüppab alla (mobiilile) */
    justify-content: flex-start; /* Vasakule joondamine */
    align-items: center;    /* Vertikaalselt keskele */
    align-content: flex-start; /* Uus: Read joondus ülespoole ja vasakule, väldib nihket */
    gap: 15px;              /* Vahe lingide vahel (parem kui margin) */
    padding: 20px 0;        /* Ümbritsev vahe */
    max-width: 100%;        /* Ei lähe üle ekraani */
    overflow-x: auto;       /* Mobiilis horisontaalne skroll, kui vaja */
}

.pank-link {
    display: inline-flex;   /* Lingid flex-elemendidena */
    align-items: center;    /* Vertikaalselt keskele */
    text-decoration: none;  /* Eemaldab allajoonitud */
    color: #333;            /* Teksti värv */
    font-weight: bold;      /* Paksem tekst */
    white-space: nowrap;    /* Tekst ei murra rida */
    flex: 0 0 115px;        /* Uus: Fikseeritud laius (100px ikoon + 15px gap-ekvivalent), et veerud joonduksid */
    justify-content: center; /* Uus: Tsentreerib ikooni lingi sees */
    padding: 5px;           /* Uus: Väike padding, et hover töötaks ja ruumi oleks */
}

.pank-link:hover {
    transform: scale(1.05);    /* Kerge suurendamine */
}

.pangad img {
    width: 100px;
    margin: 0;
    display: block;
}

/* Mobiili jaoks väiksemad */
@media (max-width: 768px) {
    .pangad {
        gap: 10px;
        padding: 10px 0;
    }
    .pank-link {
        padding: 8px 12px;
        font-size: 14px;
        flex: 0 0 90px;         /* Uus: Väiksem fikseeritud laius mobiilis */
    }
    .pangad img {
        width: 70px;            /* Uus: Väiksem ikoon mobiilis, et mahuks */
    }
}

section.container {
    margin-bottom: 180px;
}

section.container .big-card.shopping-cart {
    padding-bottom: 20px;
}

.filter-block {
    width: 320px;
}

.section-similar-products {
    margin-top: -180px;
    margin-bottom: 30px;
}

/* Mobiili jaoks väiksemad */
@media (min-width: 768px) {
    .single-product-card-img-col {
        min-height: 540px;
    }
}
@media (min-width: 768px) {

}

.navbar-default .dropdown-menu {
    top: 98%;
}

.li-timer.active + .li-login .dropdown-menu {
    left: -48px !important;
}

.navbar-default .navbar-nav.navbar-right .li-timer {
    display: none !important;
}

.navbar-default .navbar-nav.navbar-right .li-timer.active {
    display: inline-block !important;
}

.li-timer .timer-wrapper {
    margin-top: 16px;
    position: relative;
    z-index: 12;
    display: block;
    padding: 10px;
}
.li-timer .timer-wrapper #cart-timer {
    color: #6db33f;
    font-weight: bold;
    width: 40px;
    display: block;
}

@media only screen and (max-width: 991px) {
    .navbar-default .navbar-nav.navbar-right .li-timer.active .timer-wrapper {
        margin-top: 9px;
    }
}