.tobor-header {
    
    padding: 0;
    
    .tobor-header__top {
        display: flex;
        align-items: center;
        padding: 12px 20px;
        
        .tobor-logo a img {
            min-width: 200px;
        }
        .tobor-header__logo {
            display: flex;
            align-items: center;
            color: white;
            text-decoration: none;
            margin-right: 40px;
            
            .tobor-header__logo-icon {
                width: 32px;
                height: 32px;
                background: white;
                border-radius: 50%;
                margin-right: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #5a6fc7;
                font-weight: bold;
            }
            
            .tobor-header__logo-text {
                font-size: 18px;
                font-weight: bold;
                
                .tobor-header__logo-subtitle {
                    font-size: 12px;
                    font-weight: normal;
                    opacity: 0.8;
                }
            }
        }
        
        .tobor-header__nav {
            display: flex;
            align-items: center;
            flex: 1;
            gap: 0;
            
            .tobor-header__nav-item {
                position: relative;
                
                .tobor-header__nav-link {
                    display: flex;
                    align-items: center;
                    padding: 16px 24px;
                    color: white;
                    text-decoration: none;
                    font-weight: 500;
                    font-size: 20px;
                    transition: all 0.3s ease;
                    background: transparent;
                    border: none;
                    cursor: pointer;
                    
                    /*&:hover {
                        background: rgba(255, 255, 255, 0.1);
                    }*/
                    
                    .tobor-header__nav-arrow {
                        margin-left: 8px;
                        transition: transform 0.3s ease;
                        font-size: 12px;
                    }
                }
                
                &.tobor-header__nav-item--active {
                    .tobor-header__nav-link {
                        /*background: rgba(255, 255, 255, 0.1);*/
                        
                        .tobor-header__nav-arrow {
                            transform: rotate(180deg);
                        }
                    }
                }
            }
        }
        
        .tobor-header__actions {
            display: flex;
            align-items: center;
            gap: 20px;
            
            .tobor-header__search {
                display: flex;
                align-items: center;
                gap: 12px;
                
                .tobor-header__search-input {
                    background: rgba(255, 255, 255, 0.1);
                    border: 1px solid rgba(255, 255, 255, 0.2);
                    border-radius: 4px;
                    padding: 8px 12px;
                    color: white;
                    font-size: 14px;
                    width: 200px;
                    
                    &::placeholder {
                        color: rgba(255, 255, 255, 0.7);
                    }
                }
                
                .tobor-header__search-btn {
                    background: none;
                    border: none;
                    color: white;
                    cursor: pointer;
                    padding: 8px;
                }
            }
            
            .tobor-header__cart {
                background: none;
                border: none;
                color: white;
                cursor: pointer;
                padding: 8px;
                font-size: 18px;
            }
        }
    }
    
    .tobor-header__bottom {
        padding: 8px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
        
        .tobor-header__bottom-item {
            color: white;
            text-decoration: none;
            
            &:hover {
                text-decoration: underline;
            }
            
            &.tobor-header__bottom-item--highlight {
                color: #90EE90;
            }
        }
    }
}

.tobor-megamenu {
    position: relative;
    width: 100%;
    
    .tobor-megamenu__nav {
        display: none; /* Hidden since navigation is now in header */
        
        .tobor-megamenu__item {
            position: relative;
            flex: 1;
            
            .tobor-megamenu__link {
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 16px 20px;
                color: white;
                text-decoration: none;
                font-weight: 500;
                font-size: 16px;
                transition: all 0.3s ease;
                background: transparent;
                border: none;
                width: 100%;
                cursor: pointer;
                
                &:hover {
                    background: rgba(255, 255, 255, 0.1);
                }
                
                .tobor-megamenu__arrow {
                    margin-left: 8px;
                    transition: transform 0.3s ease;
                    font-size: 12px;
                }
            }
            
            &.tobor-megamenu__item--active {
                .tobor-megamenu__link {
                    background: rgba(255, 255, 255, 0.1);
                    
                    .tobor-megamenu__arrow {
                        transform: rotate(180deg);
                    }
                }
            }
        }
    }
    
    .tobor-megamenu__dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
        
        &.tobor-megamenu__dropdown--active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .tobor-megamenu__content {
            display: flex;
            min-height: 400px;
            
            .tobor-megamenu__sidebar {
                width: 270px;
                
                .tobor-megamenu__submenu {
                    list-style: none;
                    
                    .tobor-megamenu__submenu-item {
                        position: relative;
                        margin: 12px 0;
                        
                        .tobor-megamenu__submenu-link {
                            display: flex;
                            align-items: center;
                            padding: 12px 20px;
                            color: #000;
                            text-decoration: none;
                            font-weight: 500;
                            transition: all 0.3s ease;
                            border: none;
                            background: transparent;
                            width: 100%;
                            text-align: left;
                            cursor: pointer;
                            font-size: 16px;
                            
                            &:hover {
                                background: #e9ecef;
                                color: #5a6fc7;
                            }
                            
                            .tobor-megamenu__submenu-icon {
                                width: 45px;
                                height: 24px;
                                margin-right: 12px;
                                border-radius: 4px;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                font-size: 12px;
                            }
                        }
                        
                        &.tobor-megamenu__submenu-item--active {
                            .tobor-megamenu__submenu-link {
                                background: #e9ecef;
                                color: #5a6fc7;
                            }
                        }
                    }
                }
            }
            
            .tobor-megamenu__products {
                flex: 1;
                padding: 16px;
                
                .tobor-megamenu__product-grid {
                    display: grid;
                    grid-template-columns: repeat(4, minmax(200px, 1fr));
                    gap: 20px;
                    
                    .blank {visibility: hidden !important;}
                    .tobor-megamenu__product {
                        background: #f4f4f4;
                        padding: 14px;
                        text-align: center;
                        transition: all 0.3s ease;
                        
                        &:hover {
                            transform: translateY(-2px);
                            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
                        }
                        .tobor-megamenu__product-image img {
                            width: 100%;
                        }
                        .tobor-megamenu__product-image {
                            width: 100%;
                            height: 15.5vh;
                            border-radius: 8px;
                            margin-bottom: 12px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            color: #666;
                            font-size: 14px;
                        }
                        
                        .tobor-megamenu__product-title {
                            font-size: 16px;
                            font-weight: 400;
                            color: #000;
                            margin-bottom: 4px;
                            line-height: 20px;
                        }
                        
                        
                    }
                }
            }
        }
    }
}

.tobor-megamenu__accessories {
    padding: 20px;
    
    .tobor-megamenu__accessories-title {
        font-size: 14px;
        color: #333;
        margin-bottom: 12px;
        border-top: 1px solid #000;
        display: inline-block;
    }
    
    .tobor-megamenu__accessories-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        
        .tobor-megamenu__tag {
            color: #000;
            padding: 3px 8px;
            border-radius: 4px;
            text-decoration: none;
            transition: all 0.3s ease;
            font-weight: 700;
            font-size: 14px;
            
            &:hover {
                background: #d9d9d9;
                color: #000;
            }
        }
    }
}

.tobor-header__nav-item {
    position: relative;
}

.tobor-header__simple-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.tobor-header__nav-item:hover .tobor-header__simple-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tobor-header__nav-item:hover .tobor-header__nav-arrow {
    transform: rotate(180deg);
}

.tobor-header__simple-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.tobor-header__simple-dropdown-item:hover {
    background-color: #f8f9fa;
    color: #5a6fc7;
}