/*
Theme Name: ZS Stūrīši
Author: Līna Knodze
Version: 1.0
*/
/*ALL*/
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo {
    padding: 5px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.divMain {
    background-color: rgba(255, 255, 255, 0.8);
    width: 90%;
    display: flex;
    justify-content: center;
    height: auto;
    margin: 0 auto;
    padding-top: 80px;
}

.divHead {
    width: 100%;
}

.navB {
    color: white !important;
    font-size: 25px;
    text-decoration: none !important;
}

/*MAIN*/
.Logo {
    width: 400px;
    height: 200px;
    position: relative;
    border-radius: 10px;
}
/*PRODUKTI*/
.main-container {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background: #f5f5f5;
    width: 100%;
}

.category-nav {
    display: flex;
    flex: 0 0 auto;
    gap: 30px;
}

.category-dropdown {
    position: relative;
    cursor: pointer;
}

.category-title {
    font-weight: 600;
    padding-left: 10px;
    text-decoration: none;
    color: darkgreen;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 100;
}

.dropdown-menu a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
}

.dropdown-menu a:hover {
    background: #eee;
}

.category-dropdown:hover .dropdown-menu {
    display: block;
}

.search-box input {
    margin-right: 10px;
    width: 220px;
}

.season-container {
    padding: 8px 0 12px 0;
    text-align: left;
}

.season-title {
    font-size: 35px;
    font-weight: 700;
}

.sp-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.sp-product {
    width: 100%;
}



/*KONTAKTI*/
.topK {
    height: 80px;
    /*width: 400px;*/
    background-color: lightgreen;
    margin: 5px;
    border-radius: 5px;
    text-align: center;
}

.Nosk {
    font-weight: bolder;
    margin-bottom: auto;
}

.buttons {
    width: 40%;
    margin-top: 5px;
    width: fit-content;
    background-color: lightgreen;
    color: black;
    border-color: black;
}

.modal {
    left: 35%;
}

.bottomK {
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 5px;
}

.LogoK {
    width: 400px;
    height: 250px;
    position: relative;
    align-self: center;
    border-radius: 10px;
    margin-left: 10px;
}


/*GROZS*/
.modalG {
    left: 40%;
}

.grozs {
    width: 90%;
    margin: auto;
    margin-top: 15px;
}

.title {
    background-color: lightgreen;
    border-radius: 5px;
    width: 95%;
    height: 55px;
    margin: auto;
    text-align: center;
}

.NoskG {
    font-weight: bolder;
    margin-bottom: auto;
    font-size: larger;
}

/* SCREEN CHANGE */
@media(max-width: 685px) {
    .navB {
        font-size: 15px;
    }
    .sitename {
        font-size: 20px !important;
    }

}

.mobile-toggle {
    display: none;
    background: darkgreen;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
}

@media (max-width: 900px) {

    .top-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .mobile-toggle {
        display: block;
        margin-bottom: 10px;
    }

    .category-nav {
        display: none;
        flex-direction: column;
        gap: 0;
        background: white;
        padding: 10px;
        border: 1px solid #ddd;
    }

    .category-nav.active {
        display: flex;
    }

    .category-dropdown {
        width: 100%;
    }

    .category-title {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 15px;
        display: none;
    }

    .category-dropdown.active .dropdown-menu {
        display: block;
    }

    .search-box {
        /*order: -1;*/
        margin-top: 10px;
        margin-bottom: 10px;
        display: flex;
        justify-content: center;
        margin-left: 6px;
    }

    .search-box input {
        width: 100%;
    }
    .search-suggestions {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    width: 95%;
    max-width: 220px;
    z-index: 200;
    display: none;
    margin-top: 30px;
}
}

.search-suggestions {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    width: 95%;
    max-width: 220px;
    z-index: 200;
    display: none;
}

.search-suggestions div {
    padding: 8px 12px;
    cursor: pointer;
}

.search-suggestions div:hover {
    background: #eee;
}

.ftlinks {
    text-decoration: none;
}

.divft {
    background-color: rgba(255, 255, 255, 0.8);
    width: 90%;
    display: flex;
    justify-content: center;
    height: auto;
    margin: 15px auto;
    padding-top: 20px;
}