body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.tahni-doprdele{
    display: none;
}
.hamburger-menu {
    cursor: pointer;
}


.only-computer{
    display: flex;
}

.only-phone{
    display: none;
}

a {
    text-decoration: none;
    color: inherit;
    margin: 1vh;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    color: #000000;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
}

.logo {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 10px;
    border: 1px solid #000000;
    border-radius: 25px 0 0 25px;
    border-right: none;
    width: 300px;
    font-size: 16px;
}

.search-bar button {
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff5722, #e64a19);
    border: 1px solid #000000;
    color: white;
    border-left: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
}

.search-bar button:hover {
    background: linear-gradient(135deg, #e64a19, #ff5722);
}


.user-links a {
    color: rgb(0, 0, 0);
    margin: 10px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.user-links a:hover {
    color: #ff5722;
}

/* Main Container */
.main-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 80px;
    gap: 20px;
    position: relative; /* Ensure the main container is positioned correctly */
}

/* Left Sidebar */
.sidebarL {
    position: fixed;
    left: 0;
    top: 90px; /* Adjust top to match the main container's margin-top */
    width: 170px; /* Adjust width as needed */
    height: calc(100% - 80px); /* Adjust height to account for the top margin */
    background-color: #fff; /* Adjust background color as needed */
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.sidebarL ul {
    list-style: none;
    padding: 0;
}

.sidebarL li {
    margin: 15px 0;
}

.sidebarL a {
    display: block;
    padding: 10px;
    border-radius: 5px;
}

.sidebarL a:hover {
    background: #ff5722;
    color: white;
}

/* Right Sidebar */
.sidebarR {
    position: fixed; /* Change to fixed to align with the left sidebar */
    right: 0;
    top: 90px; /* Adjust top to match the main container's margin-top */
    width: 170px; /* Adjust width as needed */
    height: calc(100% - 80px); /* Adjust height to account for the top margin */
    background-color: #f4f4f4; /* Adjust background color as needed */
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
}

.sidebarR ul {
    list-style: none;
    padding: 0;
}

.sidebarR li {
    margin: 15px 0;
}

.sidebarR a {
    display: block;
    padding: 10px;
    border-radius: 5px;
}

.sidebarR a:hover {

}

/* Main Content */
main {
    flex: 1;
    margin-left: 220px; /* Adjust to match the width of the left sidebar */
    margin-right: 220px; /* Adjust to match the width of the right sidebar */
}

/* Banner */
.banner {
    background: linear-gradient(135deg, #ff5722, #e64a19);
    color: white;
    padding: 60px 20px;
    top: 10px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

.banner h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}

.banner p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.banner button {
    padding: 12px 25px;
    background: #ffffff;
    color: #e64a19;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.banner button:hover {
    background-color: #ff5722;
    color: white;
    transform: scale(1.05);
}

/* Optional: Adding an image or background */
.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('path-to-your-image.jpg') no-repeat center center/cover;
    opacity: 0.2;
    z-index: -1;
    border-radius: 10px;
}


.recommended{
    background: #87cdc5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.recommended:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.recommended img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.recommended h3 {
    margin: 15px 0 10px;
    font-size : 1.5rem;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.checked {
    color: rgb(255, 0, 0);
}

.products {
    margin-top: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ensure three columns */
    gap: 20px;
}

.product {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.product img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.product h3 {
    margin: 15px 0 10px;
    font-size: 1.2rem; /* Adjust font size if needed */
}

.price {
    display: block;
    margin: 10px 0;
    font-weight: bold;
    font-size: 1rem; /* Adjust font size if needed */
    color: #ff5722;
}

.more {
    display: block;
    margin: 10px 0;
    font-weight: bold;
    font-size: 1rem; 
    color: #ff5722;
}

button {
    padding: 10px 15px;
    background: #ff5722;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #e64a19;
}

.more-info {
    padding: 5px 10px;
    background: #e0e0e0;
    color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 10px;
    justify-content: center;
}

.more-info:hover {
    background: #d4d4d4;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff5722;
}
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    margin-top: 3%;
    left: auto;
    right: 0;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
a.kosik:hover + .dropdown-content {
    display:inline-block;
}


.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    padding: 0;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Dropdown content inside the hamburger menu */
#dropdownOrders {
    display: none;
    position: relative;
    background-color: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

#dropdownOrders a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: black;
}

#dropdownOrders a:hover {
    background-color: #f1f1f1;
}

/* Keyframes for the animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply the animation to the headings */
section h1, section h2 {
    animation: fadeInUp 1s ease-in-out;
    position: relative;
    display: inline-block;
    overflow: hidden;
}

section h1::after, section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    animation: slideIn 1s ease-in-out;
}
.hamburger-kosik{
    display: none;
}
@keyframes slideIn {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

/* Mobile styles */
@media (max-width: 600px) {
    header{
        position:relative;
    }
    .main-container {
        flex-direction: column;
        align-items: center; /* Center the content horizontally */
    }

    .sidebarL, .sidebarR {
        display: none;
    }

    .product-grid {
        grid-template-columns: 1fr;
        justify-items: center; /* Center the items within the grid */
    }

    .product, .recommended {
        width: 100%;
    }

    .banner {
        display: none;
    }

    .search-bar {
        display: none;
    }
    .user-links{
        display: flex;
        display: none;
        flex-direction: column;
        margin: 5vh;
    }
    .top-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 150%;	
    }
    .dropdown{
        display: none;
    }
    .hamburger-kosik{
        display: flex;
    }
    .hamburger-menu{
        display: none;
    }
    .hamburger-menu.show{
        display: flex;
        flex-direction: column;
    }
    .only-phone{
        display: block;
    }
    .only-computer{
        display: none;
    }
    .dropdown-content {
        display: none;
        position:relative;
        background-color: #f9f9f9;
        min-width: 160px;
        margin-top: 3%;
        left: auto;
        right: 0;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
    }
    .tahni-doprdele{
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 800px) {
    .search-bar {
        display: none;
    }

    .banner {
    display: none;
    }

    .sidebarL, .sidebarR {
        display: none;
    }
}
/* HD styles */
@media (max-width: 1280px) {
    .search-bar {
        display: none;
    }

/*     .banner {
       display: none;
    }

    .sidebarL, .sidebarR {
        display: none;
    } */
}